rustc_target: Rely on default value of no_default_libraries more

This commit is contained in:
Vadim Petrochenkov 2020-03-31 23:39:38 +03:00
parent 49dc2f9f09
commit cd79400da7
4 changed files with 0 additions and 4 deletions

View File

@ -14,7 +14,6 @@ pub fn opts() -> TargetOptions {
has_elf_tls: true, has_elf_tls: true,
linker_is_gnu: true, linker_is_gnu: true,
pre_link_args, pre_link_args,
no_default_libraries: true,
panic_strategy: PanicStrategy::Abort, panic_strategy: PanicStrategy::Abort,
position_independent_executables: true, position_independent_executables: true,
relocation_model: "static".to_string(), relocation_model: "static".to_string(),

View File

@ -15,7 +15,6 @@ pub fn opts() -> TargetOptions {
has_elf_tls: true, has_elf_tls: true,
linker_is_gnu: true, linker_is_gnu: true,
pre_link_args, pre_link_args,
no_default_libraries: true,
panic_strategy: PanicStrategy::Abort, panic_strategy: PanicStrategy::Abort,
position_independent_executables: true, position_independent_executables: true,
relocation_model: "static".to_string(), relocation_model: "static".to_string(),

View File

@ -77,7 +77,6 @@ pub fn opts() -> TargetOptions {
exe_suffix: ".exe".to_string(), exe_suffix: ".exe".to_string(),
staticlib_prefix: String::new(), staticlib_prefix: String::new(),
staticlib_suffix: ".lib".to_string(), staticlib_suffix: ".lib".to_string(),
no_default_libraries: true,
target_family: Some("windows".to_string()), target_family: Some("windows".to_string()),
is_like_windows: true, is_like_windows: true,
allows_weak_linkage: false, allows_weak_linkage: false,

View File

@ -43,7 +43,6 @@ pub fn opts() -> TargetOptions {
exe_suffix: ".exe".to_string(), exe_suffix: ".exe".to_string(),
staticlib_prefix: "lib".to_string(), staticlib_prefix: "lib".to_string(),
staticlib_suffix: ".a".to_string(), staticlib_suffix: ".a".to_string(),
no_default_libraries: true,
target_family: Some("windows".to_string()), target_family: Some("windows".to_string()),
is_like_windows: true, is_like_windows: true,
allows_weak_linkage: false, allows_weak_linkage: false,