You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to build demo project with latest version of rust #102937
error[E0597]: `desc_set` does not live long enough
--> /Users/brittcagnina/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-core-0.9.2/src/device/mod.rs:1792:26
|
1792 | set: desc_set.raw_mut(),
| ^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough
...
1813 | }
| -
| |
| `desc_set` dropped here while still borrowed
| borrow might be used here, when `write_map` is dropped and runs the `Drop` code for type `BTreeMap`
|
= note: values in a scope are dropped in the opposite order they are defined
For more information about this error, try `rustc --explain E0597`.
error: could not compile `wgpu-core` due to previous error
Sorry for the trouble you've run into. There was a change to Rust to fix a soundness problem (#99413, #100544). That requires updating to a newer version of wgpu-core that does not have the problem. It looks like you should be able to update to the latest version of nannou to fix it. In Cargo.toml, you can update it to nannou = "0.18" to pick up the new version.
Activity
ehuss commentedon Oct 11, 2022
Sorry for the trouble you've run into. There was a change to Rust to fix a soundness problem (#99413, #100544). That requires updating to a newer version of wgpu-core that does not have the problem. It looks like you should be able to update to the latest version of
nannouto fix it. InCargo.toml, you can update it tonannou = "0.18"to pick up the new version.wildfunctions commentedon Oct 11, 2022
Perfect! Works great now! Thanks