Possibility to override and/or remove eh_personality

Hello, everyone. I am currently writing a Rust app that needs to be as small as possible but i still want to use some of the std features. So i am currently using a solution with #![no_main] but not no_std everything works so far.

As far as i can see, even with build-std and panic_immediate_abort the eh_personality function and its dependencies are still linked and add almost 1kb to my final binary.

Is this intended behavior or should one be able to completely remove the eh_personality if exception handling is disabled anyways?

Thanks for your time :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.