kernel/build.rs

9 lines
200 B
Rust

// build.rs
fn main() {
// Tell ld to use linker script.
println!("cargo::rustc-link-arg=-Tlds/kernel.lds");
// Don't do any magic linker stuff.
println!("cargo::rustc-link-arg=--omagic");
}