We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gnu-lld-cc
gnu-cc
1 parent 0a4f5d5 commit 677d1f5Copy full SHA for 677d1f5
compiler/rustc_target/src/spec/mod.rs
@@ -166,7 +166,7 @@ pub enum LinkerFlavor {
166
/// well as modern ones matching the internal linker flavors (`LinkerFlavor`).
167
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
168
pub enum LinkerFlavorCli {
169
- // Modern (unstable) flavors, with direct counterparts in `LinkerFlavor`.
+ // Modern (mostly unstable) flavors, with direct counterparts in `LinkerFlavor`.
170
Gnu(Cc, Lld),
171
Darwin(Cc, Lld),
172
WasmLld(Cc),
@@ -192,7 +192,8 @@ impl LinkerFlavorCli {
192
/// Returns whether this `-C linker-flavor` option is one of the unstable values.
193
pub fn is_unstable(&self) -> bool {
194
match self {
195
- LinkerFlavorCli::Gnu(..)
+ LinkerFlavorCli::Gnu(Cc::Yes, _) => false,
196
+ LinkerFlavorCli::Gnu(Cc::No, _)
197
| LinkerFlavorCli::Darwin(..)
198
| LinkerFlavorCli::WasmLld(..)
199
| LinkerFlavorCli::Unix(..)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments