File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
compiler/rustc_target/src/spec Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -603,19 +603,6 @@ impl LinkSelfContainedDefault {
603603 self == LinkSelfContainedDefault :: False
604604 }
605605
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-
619606 /// Returns the key to use when serializing the setting to json:
620607 /// - individual components in a `link-self-contained` object value
621608 /// - the other variants as a backwards-compatible `crt-objects-fallback` string
You can’t perform that action at this time.
0 commit comments