diff --git a/necsim/core/bond/src/lib.rs b/necsim/core/bond/src/lib.rs index ff3007150..13cc4ebd1 100644 --- a/necsim/core/bond/src/lib.rs +++ b/necsim/core/bond/src/lib.rs @@ -1,6 +1,5 @@ #![deny(clippy::pedantic)] #![no_std] -#![feature(const_fn_floating_point_arithmetic)] #![feature(const_float_bits_conv)] #![feature(const_float_classify)] #![feature(const_type_name)] diff --git a/necsim/impls/cuda/src/lib.rs b/necsim/impls/cuda/src/lib.rs index 7f5a3bf91..7a93d45dd 100644 --- a/necsim/impls/cuda/src/lib.rs +++ b/necsim/impls/cuda/src/lib.rs @@ -2,7 +2,6 @@ #![no_std] #![feature(const_type_name)] #![cfg_attr(target_os = "cuda", feature(asm_experimental_arch))] -#![cfg_attr(target_os = "cuda", feature(asm_const))] #![cfg_attr(target_os = "cuda", feature(const_float_bits_conv))] #![allow(internal_features)] #![feature(core_intrinsics)] diff --git a/necsim/impls/cuda/src/utils.rs b/necsim/impls/cuda/src/utils.rs index 754a8da89..cc2e816e3 100644 --- a/necsim/impls/cuda/src/utils.rs +++ b/necsim/impls/cuda/src/utils.rs @@ -9,10 +9,10 @@ pub struct MaybeSome(MaybeUninit); impl MaybeSome { #[cfg(not(target_os = "cuda"))] - #[expect(non_upper_case_globals)] // FIXME: use expect + #[allow(non_upper_case_globals)] // FIXME: use expect pub(crate) const None: Self = Self(MaybeUninit::uninit()); - #[expect(non_snake_case)] // FIXME: use expect + #[allow(non_snake_case)] // FIXME: use expect pub(crate) fn Some(value: T) -> Self { Self(MaybeUninit::new(value)) } diff --git a/necsim/partitioning/threads/src/vote.rs b/necsim/partitioning/threads/src/vote.rs index dea41d3af..3c142a823 100644 --- a/necsim/partitioning/threads/src/vote.rs +++ b/necsim/partitioning/threads/src/vote.rs @@ -91,6 +91,7 @@ struct AsyncGenerationalData { } impl AsyncVote { + #[expect(dead_code)] // FIXME #[must_use] pub fn new(n: usize) -> Self where diff --git a/necsim/plugins/species/src/identity.rs b/necsim/plugins/species/src/identity.rs index f1d2c2dba..7636fa182 100644 --- a/necsim/plugins/species/src/identity.rs +++ b/necsim/plugins/species/src/identity.rs @@ -57,6 +57,7 @@ impl SpeciesIdentity { Self::from_raw(lineage, marker, anchor) } + #[cfg_attr(not(test), expect(dead_code))] pub fn try_into_speciation(self) -> Result<(IndexedLocation, PositiveF64), Self> { let (location, index, time) = self.copy_into_raw(); diff --git a/rust-toolchain b/rust-toolchain index f5d4a1dc4..ecc358c2f 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] -# Pin to final 1.81.0 nightly -channel = "nightly-2024-07-21" +# Pin to final 1.82.0 nightly +channel = "nightly-2024-09-01" components = [ "cargo", "rustfmt", "clippy", "rust-src", "llvm-bitcode-linker", "llvm-tools" ] targets = [ "nvptx64-nvidia-cuda" ]