sharksforarms / deku

Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
Apache License 2.0
1.14k stars 55 forks source link

Fix link error in ensure_no_std #247

Closed korrat closed 2 years ago

korrat commented 2 years ago

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.

sharksforarms commented 2 years ago

Thanks! Released in 0.13.0