Skip to content

Commit 6b91a5f

Browse files
committed
Enable arm inlining check.
1 parent 12d2c24 commit 6b91a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/stdarch-test/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub fn assert(shim_addr: usize, fnname: &str, expected: &str) {
100100
// failed inlining something.
101101
s[0].starts_with("call ") && s[1].starts_with("pop") // FIXME: original logic but does not match comment
102102
})
103-
} else if cfg!(target_arch = "aarch64") {
103+
} else if cfg!(target_arch = "aarch64") || cfg!(target_arch = "arm") {
104104
instrs.iter().any(|s| s.starts_with("bl "))
105105
} else {
106106
// FIXME: Add detection for other archs

0 commit comments

Comments
 (0)