We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f35d53 commit 00b9076Copy full SHA for 00b9076
coresimd/arm/armclang.rs
@@ -39,6 +39,13 @@ use stdsimd_test::assert_instr;
39
#[inline(always)]
40
#[rustc_args_required_const(0)]
41
pub unsafe fn __breakpoint(val: i32) {
42
+ // Ensure that this compiles correctly on non-arm architectures, so libstd
43
+ // doc builds work. The proper macro will shadow this definition below.
44
+ #[allow(unused_macros)]
45
+ macro_rules! call {
46
+ ($e:expr) => {()}
47
+ }
48
+
49
#[cfg(target_arch = "arm")]
50
macro_rules! call {
51
($imm8:expr) => {
0 commit comments