about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/mini_core_hello_world.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs
index e47431e0f87..09d5b73fd3d 100644
--- a/example/mini_core_hello_world.rs
+++ b/example/mini_core_hello_world.rs
@@ -274,7 +274,7 @@ fn main() {
 
     assert_eq!(((|()| 42u8) as fn(()) -> u8)(()), 42);
 
-    #[cfg(not(any(jit, windows)))]
+    #[cfg(not(any(jit, target_vendor = "apple", windows)))]
     {
         extern "C" {
             #[linkage = "extern_weak"]