Skip to content

Commit 31fe0d6

Browse files
committed
Build on x86 (even if that's weird for a Cortex-M support crate)
1 parent 2886787 commit 31fe0d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cortex-m-rt/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ INCLUDE device.x"#
5555
println!("cargo:rustc-cfg=armv8m");
5656
240
5757
} else {
58-
panic!("Unexpected target {:?}", target);
58+
// Non ARM target. We assume you're just testing the syntax.
59+
// This value seems as soon as any
60+
240
5961
};
6062

6163
// checking the size of the interrupts portion of the vector table is sub-architecture dependent

0 commit comments

Comments
 (0)