Browse Source
Merge pull request #272 from asonix/master
Add aarch64-linux-musl
cl-test
Alex Crichton
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/lib.rs
|
|
@ -1415,6 +1415,7 @@ impl Build { |
|
|
|
let cross_compile = cc_env.as_ref().map(|s| s.trim_right_matches('-')); |
|
|
|
let prefix = cross_compile.or(match &target[..] { |
|
|
|
"aarch64-unknown-linux-gnu" => Some("aarch64-linux-gnu"), |
|
|
|
"aarch64-unknown-linux-musl" => Some("aarch64-linux-musl"), |
|
|
|
"arm-unknown-linux-gnueabi" => Some("arm-linux-gnueabi"), |
|
|
|
"arm-frc-linux-gnueabi" => Some("arm-frc-linux-gnueabi"), |
|
|
|
"arm-unknown-linux-gnueabihf" => Some("arm-linux-gnueabihf"), |
|
|
|