Skip to content

Commit 669e553

Browse files
committed
std_detect: Enable riscv_linux test also on Android
1 parent 5bee27c commit 669e553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/std_detect/tests/cpu-detection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ fn aarch64_darwin() {
229229
#[test]
230230
#[cfg(all(
231231
any(target_arch = "riscv32", target_arch = "riscv64"),
232-
target_os = "linux"
232+
any(target_os = "linux", target_os = "android")
233233
))]
234234
fn riscv_linux() {
235235
println!("rv32i: {}", is_riscv_feature_detected!("rv32i"));

0 commit comments

Comments
 (0)