Replace every String in Target(Options) with Cow<'static, str>

This commit is contained in:
Loïc BRANSTETT
2022-03-22 11:43:05 +01:00
parent 15a242a432
commit ccff48f97b
223 changed files with 1252 additions and 1243 deletions

View File

@@ -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