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 like nothrow.
There's no equivalent to
-Z no-landing-padsfor 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.