Skip to content

Commit

Permalink
Bump MSRV to 1.82-nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Oct 26, 2024
1 parent 0ad71b3 commit 9bedd00
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion necsim/core/bond/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
1 change: 0 additions & 1 deletion necsim/impls/cuda/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
4 changes: 2 additions & 2 deletions necsim/impls/cuda/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ pub struct MaybeSome<T: StackOnly>(MaybeUninit<T>);

impl<T: StackOnly> MaybeSome<T> {
#[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))
}
Expand Down
1 change: 1 addition & 0 deletions necsim/partitioning/threads/src/vote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ struct AsyncGenerationalData<T> {
}

impl<T: Clone> AsyncVote<T> {
#[expect(dead_code)] // FIXME
#[must_use]
pub fn new(n: usize) -> Self
where
Expand Down
1 change: 1 addition & 0 deletions necsim/plugins/species/src/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
4 changes: 2 additions & 2 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 9bedd00

Please sign in to comment.