nbdd0121 / unwinding

Stack unwinding library in Rust
Apache License 2.0
102 stars 18 forks source link

WIP: Stable rust support #19

Open whentze opened 12 months ago

whentze commented 12 months ago

This is my attempt at making this crate (at least with default features) work on stable rust. Mostly just putting this up to see what you think, so it's a draft PR for now.

It adds a proc macro dependency and makes the code uglier, so I understand if you think this is not worth the trouble.

nbdd0121 commented 12 months ago

The c_unwind shouldn't be removed until the final c_unwind stabilisation completes.

One issue with the naked function macro is that it will export additional symbols, where built-in naked function will not.