diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 9cd472e6..ced76e8c 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2023-08-11" +channel = "nightly-2023-11-10" components = ["rust-src", "clippy", "rustfmt"] targets = [ "aarch64-unknown-linux-gnu", diff --git a/src/main.rs b/src/main.rs index 23c4362e..cd53b05b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,6 +14,7 @@ )] #![cfg_attr(test, allow(unused_imports, dead_code))] #![cfg_attr(not(feature = "log-serial"), allow(unused_variables, unused_imports))] +#![cfg_attr(target_arch = "riscv64", feature(riscv_ext_intrinsics))] #[cfg(all(not(test), not(feature = "integration_tests")))] use core::panic::PanicInfo;