I'm learnign Rust and I'm following this tutorial here:
There is section which introduces the benchmark tool. For that I have to use build with +nightly.
However when I run my build with nightly via
cargo +nightly build
I get lots of strange errors:
| 5010 | Int32Array: i32, | ^^^^^^^^^^ use of undeclared type or module `Int32Array` error[E0433]: failed to resolve: use of undeclared type or module `Uint8Array` --> C:\Users\marti\.cargo\registry\src\github.com-1ecc6299db9ec823\js-sys-0.3.39\src\lib.rs:5014:5 | 5014 | Uint8Array: u8, | ^^^^^^^^^^ use of undeclared type or module `Uint8Array` error[E0433]: failed to resolve: use of undeclared type or module `Uint8ClampedArray` --> C:\Users\marti\.cargo\registry\src\github.com-1ecc6299db9ec823\js-sys-0.3.39\src\lib.rs:5018:5 |
Am I doing anyhting wrong or is something broken here? Can someone explain please? Build works fine without +nightly.