From e2b05ce19c48f34b0fbf3661a6079157eff26fa7 Mon Sep 17 00:00:00 2001 From: iximeow Date: Thu, 6 Feb 2025 00:19:11 -0800 Subject: actually check no-std configuration does not transitively depend on std --- tests/no_std_check/src/main.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/no_std_check/src/main.rs (limited to 'tests/no_std_check/src/main.rs') diff --git a/tests/no_std_check/src/main.rs b/tests/no_std_check/src/main.rs new file mode 100644 index 0000000..73b5d56 --- /dev/null +++ b/tests/no_std_check/src/main.rs @@ -0,0 +1,11 @@ +#![no_std] +#![no_main] + +#[allow(unused_imports)] +use yaxpeax_arm; + +#[panic_handler] +fn panic(_: &core::panic::PanicInfo) -> ! { loop {} } + +#[no_mangle] +pub extern "C" fn _start() -> ! { loop {} } -- cgit v1.1