mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Workaround for Rust having different system for templating constants to GNU as.
Having a separate file is ugly, but it allows for a single source of truth for constants Works for C, asm, zig and rust. https://stackoverflow.com/questions/79840723/shared-assembly-between-rust-and-c-using-preprocessor
This commit is contained in:
parent
2ccd3ac7f4
commit
a88f3a1690
5 changed files with 9 additions and 4 deletions
1
apps/non-rust-crt0-hack.S
Normal file
1
apps/non-rust-crt0-hack.S
Normal file
|
|
@ -0,0 +1 @@
|
|||
li a7,IOREQ_HALT
|
||||
Loading…
Add table
Add a link
Reference in a new issue