diff --git a/crates/stdarch-test/src/lib.rs b/crates/stdarch-test/src/lib.rs index 078736c66a..0cc133478b 100644 --- a/crates/stdarch-test/src/lib.rs +++ b/crates/stdarch-test/src/lib.rs @@ -100,7 +100,7 @@ pub fn assert(shim_addr: usize, fnname: &str, expected: &str) { // failed inlining something. s[0].starts_with("call ") && s[1].starts_with("pop") // FIXME: original logic but does not match comment }) - } else if cfg!(target_arch = "aarch64") { + } else if cfg!(target_arch = "aarch64") || cfg!(target_arch = "arm") { instrs.iter().any(|s| s.starts_with("bl ")) } else { // FIXME: Add detection for other archs