kernel/build.rs

9 lines
192 B
Rust
Raw Normal View History

2024-05-13 18:31:37 -04:00
// build.rs
fn main() {
// Use the linker script.
println!("cargo::rustc-link-arg=-Tsrc/script.ld");
2024-05-13 18:31:37 -04:00
// Don't do any magic linker stuff.
println!("cargo::rustc-link-arg=--omagic");
2024-05-13 18:31:37 -04:00
}