Skip to content

Commit

Permalink
Rollup merge of #70635 - petrochenkov:nodefault, r=nagisa
Browse files Browse the repository at this point in the history
rustc_target: Some cleanup to `no_default_libraries`
  • Loading branch information
Dylan-DPC authored Apr 5, 2020
2 parents e129923 + cd79400 commit 9baba34
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/librustc_target/spec/hermit_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pub fn opts() -> TargetOptions {
has_elf_tls: true,
linker_is_gnu: true,
pre_link_args,
no_default_libraries: true,
panic_strategy: PanicStrategy::Abort,
position_independent_executables: true,
relocation_model: "static".to_string(),
Expand Down
1 change: 0 additions & 1 deletion src/librustc_target/spec/hermit_kernel_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub fn opts() -> TargetOptions {
has_elf_tls: true,
linker_is_gnu: true,
pre_link_args,
no_default_libraries: true,
panic_strategy: PanicStrategy::Abort,
position_independent_executables: true,
relocation_model: "static".to_string(),
Expand Down
1 change: 0 additions & 1 deletion src/librustc_target/spec/windows_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ pub fn opts() -> TargetOptions {
exe_suffix: ".exe".to_string(),
staticlib_prefix: String::new(),
staticlib_suffix: ".lib".to_string(),
no_default_libraries: true,
target_family: Some("windows".to_string()),
is_like_windows: true,
allows_weak_linkage: false,
Expand Down
1 change: 0 additions & 1 deletion src/librustc_target/spec/windows_uwp_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ pub fn opts() -> TargetOptions {
exe_suffix: ".exe".to_string(),
staticlib_prefix: "lib".to_string(),
staticlib_suffix: ".a".to_string(),
no_default_libraries: true,
target_family: Some("windows".to_string()),
is_like_windows: true,
allows_weak_linkage: false,
Expand Down

0 comments on commit 9baba34

Please sign in to comment.