no way to disable exception handling with static/dynamic linking #10780
Labels
I-compiletime
Issue: Problems and improvements with respect to compile times.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
There's no equivalent to
-Z no-landing-pads
for static/dynamic libraries. Since it's not possible to mark foreign functions as not throwing like it is with__attribute__((nothrow))
, Rust will always output lots of unwinding tables with a Rust-specific unwinding personality/calls. This would be a lot less bad if Rust actually read the C library headers with libclang and dealt with the attributes likenothrow
.The text was updated successfully, but these errors were encountered: