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
I m trying to add wasm-gpu as a dependency to my project but i keep getting an error while executing cargo build. The error i was getting at first was:
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/papou/.cargo/git/checkouts/wasm-gpu-509e4e8d03a81df3/aa92c2b/naga-ext/src/lib.rs:1:1
|
1 | #![feature(never_type)]
Then i tried cargo +nightly build but then i was getting a ton of errors referring to basic Rust syntax errors like this one:
error[E0521]: borrowed data escapes outside of closure
--> /home/papou/.cargo/git/checkouts/wasm-gpu-509e4e8d03a81df3/aa92c2b/wasm-gpu-transpiler/src/active_function/active_block.rs:679:29
|
587 | &mut self,
| --------- `self` declared here, outside of the closure body
...
677 | .otherwise(|ctx| {
| --- `ctx` is a reference that is only valid in the closure body
678 | // If we aren't branching, continue with the remainder of the body we're generating.
679 | self.ctx = ctx;
| ^^^^^^^^^^^^^^ `ctx` escapes the closure body here
And i m stuck, is there anyone who did it?
The text was updated successfully, but these errors were encountered:
I m trying to add wasm-gpu as a dependency to my project but i keep getting an error while executing cargo build. The error i was getting at first was:
Then i tried cargo +nightly build but then i was getting a ton of errors referring to basic Rust syntax errors like this one:
And i m stuck, is there anyone who did it?
The text was updated successfully, but these errors were encountered: