diff options
Diffstat (limited to 'src/librustc/back/mips.rs')
| -rw-r--r-- | src/librustc/back/mips.rs | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/src/librustc/back/mips.rs b/src/librustc/back/mips.rs index 9667d7b84e9..e318ffe5c9a 100644 --- a/src/librustc/back/mips.rs +++ b/src/librustc/back/mips.rs @@ -15,13 +15,13 @@ use syntax::abi; pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t { return target_strs::t { - module_asm: ~"", + module_asm: "".to_owned(), meta_sect_name: meta_section_name(sess_os_to_meta_os(target_os)).to_owned(), data_layout: match target_os { abi::OsMacos => { - ~"E-p:32:32:32" + + "E-p:32:32:32".to_owned() + "-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64" + "-f32:32:32-f64:64:64" + "-v64:64:64-v128:64:128" + @@ -29,7 +29,7 @@ pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs:: } abi::OsWin32 => { - ~"E-p:32:32:32" + + "E-p:32:32:32".to_owned() + "-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64" + "-f32:32:32-f64:64:64" + "-v64:64:64-v128:64:128" + @@ -37,7 +37,7 @@ pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs:: } abi::OsLinux => { - ~"E-p:32:32:32" + + "E-p:32:32:32".to_owned() + "-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64" + "-f32:32:32-f64:64:64" + "-v64:64:64-v128:64:128" + @@ -45,7 +45,7 @@ pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs:: } abi::OsAndroid => { - ~"E-p:32:32:32" + + "E-p:32:32:32".to_owned() + "-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64" + "-f32:32:32-f64:64:64" + "-v64:64:64-v128:64:128" + @@ -53,7 +53,7 @@ pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs:: } abi::OsFreebsd => { - ~"E-p:32:32:32" + + "E-p:32:32:32".to_owned() + "-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64" + "-f32:32:32-f64:64:64" + "-v64:64:64-v128:64:128" +  | 
