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

Revert to rust 1.63 #3217

Closed
wants to merge 3 commits into from
Closed

Conversation

jimblandy
Copy link
Member

@jimblandy jimblandy commented Nov 18, 2022

Firefox is still using an MSRV of 1.63, and wgpu currently uses 1.65.
The 1.64->1.65 jump is from #3184, which I merged. Egg on my face.
The 1.63->1.64 jump is from #3107.
We should have a comment in the top-level Cargo.toml about this, to catch this problem in the future.

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 requested a review from crowlKats as a code owner November 18, 2022 05:20
@jimblandy jimblandy marked this pull request as draft November 18, 2022 05:21
@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2022

Codecov Report

Merging #3217 (694eb09) into master (04d12ba) will increase coverage by 0.55%.
The diff coverage is 63.30%.

@@            Coverage Diff             @@
##           master    #3217      +/-   ##
==========================================
+ Coverage   64.70%   65.26%   +0.55%     
==========================================
  Files          81       81              
  Lines       38819    39479     +660     
==========================================
+ Hits        25118    25764     +646     
- Misses      13701    13715      +14     
Impacted Files Coverage Δ
player/src/lib.rs 53.31% <ø> (ø)
wgpu-core/src/id.rs 81.25% <0.00%> (-2.63%) ⬇️
wgpu-core/src/lib.rs 96.55% <ø> (ø)
wgpu-core/src/present.rs 0.00% <0.00%> (ø)
wgpu-core/src/resource.rs 25.13% <ø> (ø)
wgpu-hal/src/dx11/device.rs 0.00% <0.00%> (ø)
wgpu-hal/src/empty.rs 0.00% <ø> (ø)
wgpu-hal/src/lib.rs 26.21% <ø> (ø)
wgpu/src/backend/direct.rs 54.80% <0.00%> (-0.30%) ⬇️
wgpu/src/lib.rs 50.33% <0.00%> (-2.49%) ⬇️
... and 44 more

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

The following error variants were large enough to trip Clippy's
`result_large_err` lint:

- RenderPassCompatibilityError::IncompatibleColorAttachment
- CreateShaderModuleError::Validation

Large error types are a problem, because they make the `Result` type
large, requiring the program to copy around large numbers of bytes
even in the success case. Since the failure case is rare, it's usually
not a problem to just heap-allocate the contents to keep the `Ok` case
small.
@jimblandy
Copy link
Member Author

This depends on #3226.

@jimblandy jimblandy marked this pull request as ready for review November 22, 2022 00:55
@jimblandy
Copy link
Member Author

We actually expect to update Firefox to 1.64 very soon, so this PR needs to be amended. We'd very much like to keep all the workspace inheritance changes.

@jimblandy jimblandy marked this pull request as draft November 22, 2022 17:14
@jimblandy
Copy link
Member Author

We don't need this much.

@jimblandy jimblandy closed this Nov 23, 2022
@jimblandy jimblandy deleted the revert-to-rust-1.63 branch November 23, 2022 23:58
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.

2 participants