diff options
| author | Michael Goulet <michael@errs.io> | 2024-07-14 14:27:57 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-07-16 00:02:44 -0400 |
| commit | 28503d69ac204ff208d115aea30dc09d6fca8728 (patch) | |
| tree | 10c775d65355d7a0a32200978a90fbbc20ad5ca4 /src/bootstrap | |
| parent | 71eb49c318c3e7c25a6306414298d78accd164df (diff) | |
| download | rust-28503d69ac204ff208d115aea30dc09d6fca8728.tar.gz rust-28503d69ac204ff208d115aea30dc09d6fca8728.zip | |
Fix unsafe_op_in_unsafe_fn in compiler
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/builder.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs index f033905e9f6..604fd8e1990 100644 --- a/src/bootstrap/src/core/builder.rs +++ b/src/bootstrap/src/core/builder.rs @@ -2001,6 +2001,7 @@ impl<'a> Builder<'a> { // FIXME(edition_2024): Change this to `-Wrust_2024_idioms` when all // of the individual lints are satisfied. rustflags.arg("-Wkeyword_idents_2024"); + rustflags.arg("-Wunsafe_op_in_unsafe_fn"); } if self.config.rust_frame_pointers { |
