rmin-eh 0.0.1

A minimal Rust lib for writting R extensions. Here is some fragments from std crate that provide a `eh_personality` lang-item. If you have another better `eh_personality` lang-item, just use a [patch] section to override this crate should cause no error. The only contribution of mine is change crate:: prefix to core::.
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 30.52 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 603.14 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Neutron3529/rmin
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Neutron3529

This module contains the implementation of the eh_personality lang item.

The actual implementation is heavily dependent on the target since Rust tries to use the native stack unwinding mechanism whenever possible.

This personality function is still required with -C panic=abort because it is used to catch foreign exceptions from extern "C-unwind" and turn them into aborts.

Additionally, ARM EHABI uses the personality function when generating backtraces.