File tree 1 file changed +5
-1
lines changed
src/tools/compiletest/src
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const OS_TABLE: &[(&str, &str)] = &[
38
38
39
39
const ARCH_TABLE : & [ ( & str , & str ) ] = & [
40
40
( "aarch64" , "aarch64" ) ,
41
+ ( "aarch64_be" , "aarch64" ) ,
41
42
( "amd64" , "x86_64" ) ,
42
43
( "arm" , "arm" ) ,
43
44
( "arm64" , "aarch64" ) ,
@@ -110,6 +111,7 @@ pub const TSAN_SUPPORTED_TARGETS: &[&str] = &[
110
111
] ;
111
112
112
113
const BIG_ENDIAN : & [ & str ] = & [
114
+ "aarch64_be" ,
113
115
"armebv7r" ,
114
116
"mips" ,
115
117
"mips64" ,
@@ -160,7 +162,9 @@ pub fn matches_env(triple: &str, name: &str) -> bool {
160
162
}
161
163
162
164
pub fn get_pointer_width ( triple : & str ) -> & ' static str {
163
- if ( triple. contains ( "64" ) && !triple. ends_with ( "gnux32" ) ) || triple. starts_with ( "s390x" ) {
165
+ if ( triple. contains ( "64" ) && !triple. ends_with ( "gnux32" ) && !triple. ends_with ( "gnu_ilp32" ) )
166
+ || triple. starts_with ( "s390x" )
167
+ {
164
168
"64bit"
165
169
} else if triple. starts_with ( "avr" ) {
166
170
"16bit"
You can’t perform that action at this time.
0 commit comments