gimli-rs / unwind-rs

Apache License 2.0
26 stars 10 forks source link

Remove C compiler dependency on nightly, add baremetal find_cfi #5

Closed roblabla closed 6 years ago

roblabla commented 6 years ago

Fixes #3 and #4

Uses naked functions and inline asm to remove dependency on C compiler. This is enabled with a nightly feature.

Uses target cfg to decide which find_cfi impl to use. Defaults to the ld-based one on unix, and baremetal otherwise.

Is object_base still used for anything? A quick grep only reveals it being set. but never used.