about summary refs log tree commit diff
path: root/compiler/rustc/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc/src/main.rs')
-rw-r--r--compiler/rustc/src/main.rs2
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();
             }