@@ -163,13 +163,16 @@ impl TargetTriple {
163
163
let host_triple = match ( sysname, machine) {
164
164
( _, b"arm" ) if cfg ! ( target_os = "android" ) => Some ( "arm-linux-androideabi" ) ,
165
165
( _, b"armv7l" ) if cfg ! ( target_os = "android" ) => Some ( "armv7-linux-androideabi" ) ,
166
+ ( _, b"armv8l" ) if cfg ! ( target_os = "android" ) => Some ( "armv7-linux-androideabi" ) ,
166
167
( _, b"aarch64" ) if cfg ! ( target_os = "android" ) => Some ( "aarch64-linux-android" ) ,
167
168
( _, b"i686" ) if cfg ! ( target_os = "android" ) => Some ( "i686-linux-android" ) ,
168
169
( b"Linux" , b"x86_64" ) => Some ( "x86_64-unknown-linux-gnu" ) ,
169
170
( b"Linux" , b"i686" ) => Some ( "i686-unknown-linux-gnu" ) ,
170
171
( b"Linux" , b"mips" ) => Some ( TRIPLE_MIPS_UNKNOWN_LINUX_GNU ) ,
171
172
( b"Linux" , b"mips64" ) => Some ( TRIPLE_MIPS64_UNKNOWN_LINUX_GNUABI64 ) ,
172
173
( b"Linux" , b"arm" ) => Some ( "arm-unknown-linux-gnueabi" ) ,
174
+ ( b"Linux" , b"armv7l" ) => Some ( "armv7-unknown-linux-gnueabihf" ) ,
175
+ ( b"Linux" , b"armv8l" ) => Some ( "armv7-unknown-linux-gnueabihf" ) ,
173
176
( b"Linux" , b"aarch64" ) => Some ( "aarch64-unknown-linux-gnu" ) ,
174
177
( b"Darwin" , b"x86_64" ) => Some ( "x86_64-apple-darwin" ) ,
175
178
( b"Darwin" , b"i686" ) => Some ( "i686-apple-darwin" ) ,
0 commit comments