-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: link error in ensure_no_std (#247)
On some targets, alloc is built with unwinding. Therefore, it requires libunwind even when compiling with panic=abort. Defining the _Unwind_Resume symbol fixes this. The actual implementation does not matter, since it will never be called. See rust-lang/rust#79609 for more details.
- Loading branch information
Showing
1 changed file
with
20 additions
and
16 deletions.
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