about summary refs log tree commit diff
path: root/src/tools/lld-wrapper
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2023-10-07 13:57:29 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2023-10-08 10:05:25 +0300
commitb563595c6e6002ab582e2eb4ebd2a19baa8a1e34 (patch)
tree42b12822c3acede6dcf09a143319c5c64a263f24 /src/tools/lld-wrapper
parent1516ca1bc01181af73c7b7760fb90137007da75f (diff)
linker: Remove `-Zgcc-ld` option
It is subsumed by `-Clinker-flavor=*-lld-cc -Clink-self-contained=+linker` options now
Diffstat (limited to 'src/tools/lld-wrapper')
-rw-r--r--src/tools/lld-wrapper/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/lld-wrapper/src/main.rs b/src/tools/lld-wrapper/src/main.rs
index b5e977b2637..da94e686f38 100644
--- a/src/tools/lld-wrapper/src/main.rs
+++ b/src/tools/lld-wrapper/src/main.rs
@@ -4,8 +4,8 @@
 //! two arguments the `<flavor>` command line interface is used to process the remaining arguments.
 //! If no `-flavor` argument is present the flavor is determined by the executable name.
 //!
-//! In Rust with `-Z gcc-ld=lld` we have gcc or clang invoke rust-lld. Since there is no way to
-//! make gcc/clang pass `-flavor <flavor>` as the first two arguments in the linker invocation
+//! With `-Clink-self-contained=+linker` we have gcc or clang invoke rust-lld. Since there is no way
+//! to make gcc/clang pass `-flavor <flavor>` as the first two arguments in the linker invocation
 //! and since Windows does not support symbolic links for files this wrapper is used in place of a
 //! symbolic link. It execs `../rust-lld -flavor <flavor>` by propagating the flavor argument
 //! obtained from the wrapper's name as the first two arguments.