diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-20 18:28:42 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-22 00:01:48 +0000 |
| commit | e1819a889a2606b79dc9cc790205da1497d617b7 (patch) | |
| tree | 9593f04e792f244d00ee52e493ba14208627ca50 /compiler/rustc | |
| parent | 7f6873f64c17cfa53a10a7751c7213f6ed0215c1 (diff) | |
| download | rust-e1819a889a2606b79dc9cc790205da1497d617b7.tar.gz rust-e1819a889a2606b79dc9cc790205da1497d617b7.zip | |
Fix overcapturing, unsafe extern blocks, and new unsafe ops
Diffstat (limited to 'compiler/rustc')
| -rw-r--r-- | compiler/rustc/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc/src/main.rs b/compiler/rustc/src/main.rs index a55a63a7bf1..ca1bb59e59d 100644 --- a/compiler/rustc/src/main.rs +++ b/compiler/rustc/src/main.rs @@ -65,7 +65,7 @@ fn main() { // linking, so we need to explicitly depend on the function. #[cfg(target_os = "macos")] { - extern "C" { + unsafe extern "C" { fn _rjem_je_zone_register(); } |
