summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-04-05 00:24:33 +0200
committerGitHub <noreply@github.com>2021-04-05 00:24:33 +0200
commit3c2e4ff525a710987c4e01805edf051740cb022b (patch)
tree5d5d3047093a747e9f411de20de4227ec8c0cf78 /library/std/src
parentfbe89e20e83bd726b34ee0462ac96f2515f5945d (diff)
parent5839bff0bac6063147c8905388713a787577208f (diff)
downloadrust-3c2e4ff525a710987c4e01805edf051740cb022b.tar.gz
rust-3c2e4ff525a710987c4e01805edf051740cb022b.zip
Rollup merge of #83820 - petrochenkov:nolinkargs, r=nagisa
Remove attribute `#[link_args]`

Closes https://github.com/rust-lang/rust/issues/29596

The attribute could always be replaced with `-C link-arg`, but cargo didn't provide a reasonable way to pass such flags to rustc.
Now cargo supports `cargo:rustc-link-arg*` directives in build scripts (https://doc.rust-lang.org/cargo/reference/unstable.html#extra-link-arg), so this attribute can be removed.
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 6ab68100b1d..106ac51d87c 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -282,7 +282,6 @@
 #![feature(intra_doc_pointers)]
 #![feature(iter_zip)]
 #![feature(lang_items)]
-#![feature(link_args)]
 #![feature(linkage)]
 #![feature(llvm_asm)]
 #![feature(log_syntax)]