Skip to content

Commit

Permalink
Fix nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
k-sareen authored Nov 4, 2024
1 parent 3830168 commit 13ca479
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ extern crate static_assertions;
#[macro_use]
extern crate probe;

// Use the `{likely, unlikely}` provided by compiler when using nightly
#[rustversion::nightly]
#![feature(core_intrinsics)]

mod mmtk;
pub use mmtk::MMTKBuilder;
pub(crate) use mmtk::MMAPPER;
Expand Down

0 comments on commit 13ca479

Please sign in to comment.