Remove cargo resolver references from docs (#248)

- This probably should have been included in the 0.9.0 release, since it is no longer relevant; we require Edition 2021 starting with 0.9.0.
This commit is contained in:
Jay Oster 2021-12-31 18:00:29 -08:00 committed by GitHub
parent 6cc4356cc3
commit d4cc56df18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View file

@ -33,7 +33,6 @@ pixels-mocks = { path = "internals/pixels-mocks" }
winit = "0.26"
[workspace]
resolver = "2"
members = [
"examples/*",
"internals/*",

View file

@ -41,16 +41,6 @@ The Minimum Supported Rust Version for `pixels` will always be made available in
## Troubleshooting
### Cargo resolver
Starting with [`wgpu` 0.10](https://github.com/gfx-rs/wgpu/blob/06316c1bac8b78ac04d762cfb1a886bd1d453b30/CHANGELOG.md#v010-2021-08-18), the [resolver version](https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions) needs to be set in your `Cargo.toml` to avoid build errors:
```toml
resolver = "2"
```
Perhaps a better alternative is specifying [`edition = "2021"`](https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html), especially if you are starting a new project with Rust `1.56.0` or later.
### Driver issues
The most common issue is having an outdated graphics driver installed on the host machine. `pixels`