Skip to content

Commit

Permalink
Fix build on riscv64gc-unknown-linux-gnu
Browse files Browse the repository at this point in the history
This works around the mismatch between the GNU target and rustc target.

Fixes #36

Signed-off-by: Amanieu d'Antras <amanieu@gmail.com>
  • Loading branch information
Amanieu committed Sep 25, 2022
1 parent 7513625 commit 210c4eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jemalloc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ fn gnu_target(target: &str) -> String {
"i686-pc-windows-gnu" => "i686-w64-mingw32".to_string(),
"x86_64-pc-windows-gnu" => "x86_64-w64-mingw32".to_string(),
"armv7-linux-androideabi" => "arm-linux-androideabi".to_string(),
"riscv64gc-unknown-linux-gnu" => "riscv64-linux-gnu".to_string(),
s => s.to_string(),
}
}
Expand Down

0 comments on commit 210c4eb

Please sign in to comment.