Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove workspace inheritance #3295

Merged
merged 4 commits into from
Dec 15, 2022

Conversation

jimblandy
Copy link
Member

@jimblandy jimblandy commented Dec 15, 2022

This reluctantly reverts #3107. Using workspace inheritance is great, and wgpu should do it - but it makes vendoring impossible because of rust-lang/cargo#11192. Until that's fixed, wgpu will have to hold off on using workspace inheritance.

Checklist

  • Run cargo clippy.
  • Run RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Connections
Link to the issues addressed by this PR, or dependent PRs in other repositories

Description
Describe what problem this is solving, and how it's solved.

Testing
Explain how this change is tested.

@jimblandy jimblandy marked this pull request as draft December 15, 2022 00:59
@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2022

Codecov Report

Merging #3295 (79a2808) into master (2480eff) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3295      +/-   ##
==========================================
- Coverage   65.63%   65.62%   -0.02%     
==========================================
  Files          82       82              
  Lines       39479    39490      +11     
==========================================
+ Hits        25914    25917       +3     
- Misses      13565    13573       +8     
Impacted Files Coverage Δ
wgpu-core/src/binding_model.rs 60.86% <0.00%> (-1.24%) ⬇️
wgpu-core/src/hub.rs 60.67% <0.00%> (-0.16%) ⬇️
wgpu-core/src/device/mod.rs 66.66% <0.00%> (+0.02%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@jimblandy
Copy link
Member Author

We're considering this because of rust-lang/cargo#11192. Using workspace inheritance is great, and wgpu should do it - but it makes vendoring impossible.

@jimblandy jimblandy marked this pull request as ready for review December 15, 2022 20:34
Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cry

@cwfitzgerald cwfitzgerald merged commit 0e4c7dd into gfx-rs:master Dec 15, 2022
@jimblandy
Copy link
Member Author

I'll take care of re-introducing the inheritance as soon as it's workable.

@jimblandy jimblandy deleted the remove-workspace-inheritance branch December 13, 2023 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants