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,10 +2,10 @@ use crate::spec::{RelroLevel, TargetOptions};
pub fn opts() -> TargetOptions {
TargetOptions {
os: "haiku".to_string(),
os: "haiku".into(),
dynamic_linking: true,
executables: true,
families: vec!["unix".to_string()],
families: vec!["unix".into()],
relro_level: RelroLevel::Full,
..Default::default()
}