Replace every String in Target(Options) with Cow<'static, str>
This commit is contained in:
@@ -2,11 +2,11 @@ use crate::spec::TargetOptions;
|
||||
|
||||
pub fn opts() -> TargetOptions {
|
||||
TargetOptions {
|
||||
os: "solaris".to_string(),
|
||||
os: "solaris".into(),
|
||||
dynamic_linking: true,
|
||||
executables: true,
|
||||
has_rpath: true,
|
||||
families: vec!["unix".to_string()],
|
||||
families: vec!["unix".into()],
|
||||
is_like_solaris: true,
|
||||
linker_is_gnu: false,
|
||||
limit_rdylib_exports: false, // Linker doesn't support this
|
||||
|
||||
Reference in New Issue
Block a user