aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/platform/macos/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ports/servoshell/platform/macos/mod.rs')
-rw-r--r--ports/servoshell/platform/macos/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/servoshell/platform/macos/mod.rs b/ports/servoshell/platform/macos/mod.rs
index 2c019d20de3..624e4735d3b 100644
--- a/ports/servoshell/platform/macos/mod.rs
+++ b/ports/servoshell/platform/macos/mod.rs
@@ -35,11 +35,11 @@ pub fn deinit(clean_shutdown: bool) {
}
}
-#[link_section = "__TEXT,__info_plist"]
-#[no_mangle]
+#[unsafe(link_section = "__TEXT,__info_plist")]
+#[unsafe(no_mangle)]
pub static INFO_PLIST: [u8; 619] = *include_bytes!("Info.plist");
#[link(name = "count_threads")]
-extern "C" {
+unsafe extern "C" {
fn macos_count_running_threads() -> i32;
}