File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 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)] = &[
3838
3939const ARCH_TABLE : & [ ( & str , & str ) ] = & [
4040 ( "aarch64" , "aarch64" ) ,
41+ ( "aarch64_be" , "aarch64" ) ,
4142 ( "amd64" , "x86_64" ) ,
4243 ( "arm" , "arm" ) ,
4344 ( "arm64" , "aarch64" ) ,
@@ -110,6 +111,7 @@ pub const TSAN_SUPPORTED_TARGETS: &[&str] = &[
110111] ;
111112
112113const BIG_ENDIAN : & [ & str ] = & [
114+ "aarch64_be" ,
113115 "armebv7r" ,
114116 "mips" ,
115117 "mips64" ,
@@ -160,7 +162,9 @@ pub fn matches_env(triple: &str, name: &str) -> bool {
160162}
161163
162164pub 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+ {
164168 "64bit"
165169 } else if triple. starts_with ( "avr" ) {
166170 "16bit"
You can’t perform that action at this time.
0 commit comments