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 23f40d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ fn main() {
|| !inline_asm_name_present
|| is_unsupported_abi
|| miri
|| ((arch == "powerpc64" || arch == "mips" || arch == "mips64" || arch == "mips64r6")
&& !rustix_use_experimental_asm);
|| ((arch == "powerpc64" || arch.starts_with("mips")) && !rustix_use_experimental_asm);
if libc {
// Use the libc backend.
use_feature("libc");
Expand Down

0 comments on commit 23f40d1

Please sign in to comment.