kernel/build.rs

9 lines
200 B
Rust
Raw Normal View History

2024-05-13 18:31:37 -04:00
// build.rs
fn main() {
2024-05-14 01:05:58 -04:00
// Tell ld to use linker script.
println!("cargo::rustc-link-arg=-Tlds/kernel.lds");
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
}