about summary refs log tree commit diff
path: root/compiler/rustc_session
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2023-09-20 17:00:57 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2023-10-08 21:57:36 +0000
commit71285c1da04fe1f046151a9fe10bedfe9aebe3da (patch)
tree333307b46e26aee3df04a4ec0cd72b236714eee9 /compiler/rustc_session
parentbf9a1c8a193fc373897196321215794c8bebbeec (diff)
downloadrust-71285c1da04fe1f046151a9fe10bedfe9aebe3da.tar.gz
rust-71285c1da04fe1f046151a9fe10bedfe9aebe3da.zip
prepare stabilization of modern linker-flavors
fix a few comments
Diffstat (limited to 'compiler/rustc_session')
-rw-r--r--compiler/rustc_session/src/config.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs
index 3970b751af7..2ea202de820 100644
--- a/compiler/rustc_session/src/config.rs
+++ b/compiler/rustc_session/src/config.rs
@@ -2758,9 +2758,8 @@ pub fn build_session_options(
     }
 
     // For testing purposes, until we have more feedback about these options: ensure `-Z
-    // unstable-options` is required when using the unstable `-C link-self-contained` options, like
-    // `-C link-self-contained=+linker`, and when using the unstable `-C linker-flavor` options, like
-    // `-C linker-flavor=gnu-lld-cc`.
+    // unstable-options` is required when using the unstable `-C link-self-contained` and `-C
+    // linker-flavor` options.
     if !nightly_options::is_unstable_enabled(matches) {
         let uses_unstable_self_contained_option =
             cg.link_self_contained.are_unstable_variants_set();