-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a feature to stop linking the default panic
When end-user crates provide a panic handler, this symbol is not needed ... but the linker isn't smart enough to optimize it away, even though the PROVIDE line isn't used (the symbol is provided by the rust function tagged with #[panic_handler]). Those crates can enable this feature to remove the PROVIDE line from the linker script, to stop linking this default panic handler.
- Loading branch information
1 parent
f149fa8
commit fae2227
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters