Skip to content

Commit

Permalink
Disable mutable-noalias
Browse files Browse the repository at this point in the history
Fixes #128.
  • Loading branch information
mkroening committed May 28, 2021
1 parent 50e5fd4 commit af41820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hermit-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {
}

let mut rustflags = Vec::new();
rustflags.push("-Zmutable-noalias=no".to_string());

#[cfg(feature = "instrument")]
{
Expand Down

0 comments on commit af41820

Please sign in to comment.