diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 029937f..6133bfd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +#![feature(asm)] #![no_std] #![no_main] @@ -5,6 +6,9 @@ use core::panic::PanicInfo; #[no_mangle] pub extern "C" fn pre_main() -> ! { + unsafe { + core::ptr::null::<usize>().read_volatile(); + } loop {} } |