error[E0597]: `desc_set` does not live long enough
--> C:\Users\[REDACTED]\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-core-0.7.1\src\device\mod.rs:1529:26
|
1529 | set: desc_set.raw_mut(),
| ^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough
...
1549 | }
| -
| |
| `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
```I tried to build an old `v0.5.0` project, but `wgpu-core` failed to compile because of this error. is this a known issue, and is there a fix besides rewriting the entire project to work with a newer version of bevy?
#Old version no longer builds
11 messages · Page 1 of 1 (latest)
The version was probably yanked due to UB. Check wgpu's release notes?
I suspect that they broke semver to release a fix, so it no longer compiles under the fresh release 🤔
so what's the fix for me? just upgrade the entire project to a newer bevy version?
these are the only release notes for that specific version, as far as I can see