Use the panic=abort option instead of -Z no-landing-pads

This commit is contained in:
Philipp Oppermann
2016-05-29 18:00:29 +02:00
parent 01f9f1056c
commit 725c452157
2 changed files with 7 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ $(kernel): cargo $(rust_os) $(assembly_object_files) $(linker_script)
@ld -n --gc-sections -T $(linker_script) -o $(kernel) $(assembly_object_files) $(rust_os)
cargo:
@cargo rustc --target $(target) -- -Z no-landing-pads
@cargo build --target $(target)
# compile assembly files
build/arch/$(arch)/%.o: src/arch/$(arch)/%.asm