rust-osdev / cargo-xbuild

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
Apache License 2.0
260 stars 25 forks source link

Added new option to the configuration table (#55) #56

Closed parraman closed 4 years ago

parraman commented 4 years ago

Added the option panic_immediate_abort to the configuration table. If this option is set to true, then the core crate will be compiled with the feature panic_immediate_abort. This new option is derived from #55.

Fixes #55.

phil-opp commented 4 years ago

Thanks a lot! Have you tried whether it works for your use case?

ascjones commented 4 years ago

Hey good timing I need this too! Just tested this branch and it works for me as expected.

parraman commented 4 years ago

Indeed! It works as expected: if set, a panic is basically lowered to a software exception (trap).

Thanks to you!

phil-opp commented 4 years ago

Ok perfect! Thanks for testing.

phil-opp commented 4 years ago

Published as version 0.5.22