Replace every String in Target(Options) with Cow<'static, str>
This commit is contained in:
@@ -6,10 +6,10 @@ pub fn target() -> Target {
|
||||
base.max_atomic_width = Some(32);
|
||||
|
||||
Target {
|
||||
llvm_target: "m68k-unknown-linux-gnu".to_string(),
|
||||
llvm_target: "m68k-unknown-linux-gnu".into(),
|
||||
pointer_width: 32,
|
||||
data_layout: "E-m:e-p:32:16:32-i8:8:8-i16:16:16-i32:16:32-n8:16:32-a:0:16-S16".to_string(),
|
||||
arch: "m68k".to_string(),
|
||||
options: TargetOptions { endian: Endian::Big, mcount: "_mcount".to_string(), ..base },
|
||||
data_layout: "E-m:e-p:32:16:32-i8:8:8-i16:16:16-i32:16:32-n8:16:32-a:0:16-S16".into(),
|
||||
arch: "m68k".into(),
|
||||
options: TargetOptions { endian: Endian::Big, mcount: "_mcount".into(), ..base },
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user