We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df3618d commit 443063aCopy full SHA for 443063a
crates/stdarch-test/src/lib.rs
@@ -71,7 +71,7 @@ pub fn assert(shim_addr: usize, fnname: &str, expected: &str) {
71
//eprintln!(" function: {:?}", function);
72
73
let mut instrs = &function.instrs[..];
74
- while instrs.last().map_or(false, |s| s == "nop") {
+ while instrs.last().map_or(false, |s| s == "nop" || s == "int3") {
75
instrs = &instrs[..instrs.len() - 1];
76
}
77
0 commit comments