From 2ccd3ac7f4514262372ceadd58a2defe042d5a4d Mon Sep 17 00:00:00 2001 From: Toby Jaffey Date: Mon, 8 Dec 2025 09:55:47 +0000 Subject: [PATCH] Trying to find some way to share constants --- apps/crt0.S | 1 - apps/rust-hello/src/main.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/crt0.S b/apps/crt0.S index 220fd7a..fc49156 100644 --- a/apps/crt0.S +++ b/apps/crt0.S @@ -1,5 +1,4 @@ #include "uvm32_sys.h" -#include "uvm32_common_custom.h" .section .initial_jump , "ax", %progbits .global _start .align 4 diff --git a/apps/rust-hello/src/main.rs b/apps/rust-hello/src/main.rs index 4d6281d..ac7a866 100644 --- a/apps/rust-hello/src/main.rs +++ b/apps/rust-hello/src/main.rs @@ -9,7 +9,7 @@ use core::panic::PanicInfo; include!(concat!(env!("OUT_DIR"), "/bindings.rs")); // startup code -global_asm!(include_str!("../../crt0.S")); +global_asm!(include_str!("../../crt0.S")/*, IOREQ_HALT = const IOREQ_HALT*/); fn syscall(id: u32, n: u32) -> u32 { let mut value;