Skip to content

Commit b4c8a7b

Browse files
committed
std: remove unused linker attribute
1 parent 0ad4dd4 commit b4c8a7b

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/unix/thread_parker

1 file changed

+1
-1
lines changed

Diff for: library/std/src/sys/unix/thread_parker/darwin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type dispatch_time_t = u64;
2424
const DISPATCH_TIME_NOW: dispatch_time_t = 0;
2525
const DISPATCH_TIME_FOREVER: dispatch_time_t = !0;
2626

27-
#[link(name = "System", kind = "dylib")]
27+
// Contained in libSystem.dylib, which is linked by default.
2828
extern "C" {
2929
fn dispatch_time(when: dispatch_time_t, delta: i64) -> dispatch_time_t;
3030
fn dispatch_semaphore_create(val: isize) -> dispatch_semaphore_t;

0 commit comments

Comments
 (0)