about summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2022-10-08 09:07:28 +0200
committerjoboet <jonasboettiger@icloud.com>2022-10-08 09:07:28 +0200
commitb4c8a7b952de72bc70e798408efbd4124fa15c59 (patch)
tree34df846ba34ca011c6a4c844dee3339ed586c055 /library/std/src/sys
parent0ad4dd494a67a0fffc5a3e4df08f0c26cf074c59 (diff)
downloadrust-b4c8a7b952de72bc70e798408efbd4124fa15c59.tar.gz
rust-b4c8a7b952de72bc70e798408efbd4124fa15c59.zip
std: remove unused linker attribute
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/unix/thread_parker/darwin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/thread_parker/darwin.rs b/library/std/src/sys/unix/thread_parker/darwin.rs
index 510839d5daf..2f5356fe227 100644
--- a/library/std/src/sys/unix/thread_parker/darwin.rs
+++ b/library/std/src/sys/unix/thread_parker/darwin.rs
@@ -24,7 +24,7 @@ type dispatch_time_t = u64;
 const DISPATCH_TIME_NOW: dispatch_time_t = 0;
 const DISPATCH_TIME_FOREVER: dispatch_time_t = !0;
 
-#[link(name = "System", kind = "dylib")]
+// Contained in libSystem.dylib, which is linked by default.
 extern "C" {
     fn dispatch_time(when: dispatch_time_t, delta: i64) -> dispatch_time_t;
     fn dispatch_semaphore_create(val: isize) -> dispatch_semaphore_t;