Skip to content

Commit

Permalink
build.rs: fix mips32r6 detection for libc feature switch
Browse files Browse the repository at this point in the history
  • Loading branch information
chenx97 committed Sep 28, 2023
1 parent a9ecf8d commit 40b7f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn main() {
|| !inline_asm_name_present
|| is_unsupported_abi
|| miri
|| ((arch == "powerpc64" || arch == "mips" || arch == "mips64" || arch == "mips64r6")
|| ((arch == "powerpc64" || arch.starts_with("mips"))
&& !rustix_use_experimental_asm);
if libc {
// Use the libc backend.
Expand Down

0 comments on commit 40b7f3b

Please sign in to comment.