Skip to content

Commit 54bbe07

Browse files
authored
Rollup merge of rust-lang#70635 - petrochenkov:nodefault, r=nagisa
rustc_target: Some cleanup to `no_default_libraries`
2 parents cff07db + cd79400 commit 54bbe07

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/librustc_target/spec/hermit_base.rs

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ pub fn opts() -> TargetOptions {
1414
has_elf_tls: true,
1515
linker_is_gnu: true,
1616
pre_link_args,
17-
no_default_libraries: true,
1817
panic_strategy: PanicStrategy::Abort,
1918
position_independent_executables: true,
2019
relocation_model: "static".to_string(),

src/librustc_target/spec/hermit_kernel_base.rs

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ pub fn opts() -> TargetOptions {
1515
has_elf_tls: true,
1616
linker_is_gnu: true,
1717
pre_link_args,
18-
no_default_libraries: true,
1918
panic_strategy: PanicStrategy::Abort,
2019
position_independent_executables: true,
2120
relocation_model: "static".to_string(),

src/librustc_target/spec/windows_base.rs

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ pub fn opts() -> TargetOptions {
7777
exe_suffix: ".exe".to_string(),
7878
staticlib_prefix: String::new(),
7979
staticlib_suffix: ".lib".to_string(),
80-
no_default_libraries: true,
8180
target_family: Some("windows".to_string()),
8281
is_like_windows: true,
8382
allows_weak_linkage: false,

src/librustc_target/spec/windows_uwp_base.rs

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ pub fn opts() -> TargetOptions {
4343
exe_suffix: ".exe".to_string(),
4444
staticlib_prefix: "lib".to_string(),
4545
staticlib_suffix: ".a".to_string(),
46-
no_default_libraries: true,
4746
target_family: Some("windows".to_string()),
4847
is_like_windows: true,
4948
allows_weak_linkage: false,

0 commit comments

Comments
 (0)