[Debugging Report]: `#![feature int_roundings]` may not be used on the stable release channel
System Info
System: OS: macOS 13.2.1 CPU: (10) arm64 Apple M1 Pro Memory: 198.03 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.16.0 - ~/Library/Caches/fnm_multishells/3220_1678612243488/bin/node npm: 8.11.0 - ~/Library/Caches/fnm_multishells/3220_1678612243488/bin/npm Browsers: Chrome: 110.0.5481.177 Safari: 16.3 Safari Technology Preview: 16.4 npmPackages: @rspack/cli: workspace:* => 0.1.0
Details
cargo build throw error:
rustup toolchain list show:
❯ rustup toolchain list
stable-aarch64-apple-darwin
nightly-2022-12-15-aarch64-apple-darwin (default) (override)
nightly-aarch64-apple-darwin
Reproduce link
No response
Reproduce Steps
- run
cargo clean && cargo build
we don't use stable channel please check your rustup show result to see whether you use the right nightly version
we configure the rust version in https://github.com/web-infra-dev/rspack/blob/main/rust-toolchain.toml, if your active toolchain is not nightly-2022-12-15 you toolchain version may be override by other global configuration
we don't use stable channel please check your
rustup showresult to see whether you use the right nightly versionwe configure the rust version in https://github.com/web-infra-dev/rspack/blob/main/rust-toolchain.toml, if your active toolchain is not
nightly-2022-12-15you toolchain version may be override by other global configuration
❯ rustup show
Default host: aarch64-apple-darwin
rustup home: /Users/jcl/.rustup
installed toolchains
--------------------
stable-aarch64-apple-darwin
nightly-2022-12-15-aarch64-apple-darwin (default)
nightly-aarch64-apple-darwin
active toolchain
----------------
nightly-2022-12-15-aarch64-apple-darwin (overridden by '/Users/jcl/github/web-infra-dev/rspack/rust-toolchain.toml')
rustc 1.68.0-nightly (b70baa4f9 2022-12-14)
@ycjcl868 can you check if you have RUSTC_WRAPPER env set to a stable rustc?
Fixed by brew uninstall rust, because there is a conflict between the brew install rustand rustup install.