From 6b91a5fe0a140364c23c2545b7a39aab92ac8898 Mon Sep 17 00:00:00 2001 From: Hans Kratz Date: Sun, 19 Sep 2021 16:05:48 +0000 Subject: [PATCH] Enable arm inlining check. --- crates/stdarch-test/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/stdarch-test/src/lib.rs b/crates/stdarch-test/src/lib.rs index 15ff9595af..d01b23c117 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