Skip to content

Commit 106882b

Browse files
committed
Fix build on riscv64gc-unknown-linux-gnu
This works around the mismatch between the GNU target and rustc target. Fixes #36
1 parent 7513625 commit 106882b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jemalloc-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ fn gnu_target(target: &str) -> String {
343343
"i686-pc-windows-gnu" => "i686-w64-mingw32".to_string(),
344344
"x86_64-pc-windows-gnu" => "x86_64-w64-mingw32".to_string(),
345345
"armv7-linux-androideabi" => "arm-linux-androideabi".to_string(),
346+
"riscv64gc-unknown-linux-gnu" => "riscv64-linux-gnu".to_string(),
346347
s => s.to_string(),
347348
}
348349
}

0 commit comments

Comments
 (0)