# Cargo reads this file when it runs from rust/ (the Makefile cds here). [build] target = "x86_64-unknown-none" # Same flags as the kernel's build.rs: a static (not position-independent) # executable, and the "large" code model because the code lives above 4 GiB. # The linker script is added by rbrt/build.rs (it needs an absolute path). [target.x86_64-unknown-none] rustflags = ["-C", "relocation-model=static", "-C", "code-model=large"]