File tree 1 file changed +0
-13
lines changed
compiler/rustc_target/src/spec
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -603,19 +603,6 @@ impl LinkSelfContainedDefault {
603
603
self == LinkSelfContainedDefault :: False
604
604
}
605
605
606
- /// Returns whether the target spec explicitly requests self-contained linking, i.e. not via
607
- /// inference.
608
- pub fn is_linker_enabled ( self ) -> bool {
609
- match self {
610
- LinkSelfContainedDefault :: True => true ,
611
- LinkSelfContainedDefault :: False => false ,
612
- LinkSelfContainedDefault :: WithComponents ( c) => {
613
- c. contains ( LinkSelfContainedComponents :: LINKER )
614
- }
615
- _ => false ,
616
- }
617
- }
618
-
619
606
/// Returns the key to use when serializing the setting to json:
620
607
/// - individual components in a `link-self-contained` object value
621
608
/// - the other variants as a backwards-compatible `crt-objects-fallback` string
You can’t perform that action at this time.
0 commit comments