diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 98c2bc9871d6a48d3252c4b23bd5bb6a297eeb0f..88bd23cb7bfbb35391c4436c48a39d18b6e2a57c 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -12,5 +12,5 @@ panic = "abort"
 [profile.release]
 panic = "abort"
 codegen-units = 1 # better optimizations
-debug = true # symbols are nice and they don't increase the size on Flash
+# debug = true # symbols are nice and they don't increase the size on Flash
 lto = true # better optimizations
\ No newline at end of file
diff --git a/rust/src/main.rs b/rust/src/main.rs
index a3edf80194f620fecab48dd618c6aca2684650d2..711435eaaa6ce9162017cd54179f7e128443d337 100644
--- a/rust/src/main.rs
+++ b/rust/src/main.rs
@@ -6,6 +6,7 @@
 
 use core::intrinsics;
 use core::panic::PanicInfo;
+use core::ptr;
 
 #[panic_handler]
 fn panic(_info: &PanicInfo) -> ! {
@@ -14,7 +15,7 @@ fn panic(_info: &PanicInfo) -> ! {
 
 #[inline(never)]
 fn f1() -> u32 {
-    0
+    unsafe { ptr::read_volatile(&0) }
 }
 
 #[no_mangle]