-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MinGW: move unwind linkage to libunwind #71001
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
cc @Amanieu |
@mati865 can you summarize what the changes in this PR are trying to do exactly? (i.e., which platforms are affected, etc) |
If I understand the semantics of
// Link "static-nobundle" native libs only if the crate they originate from
// is being linked statically to the current crate. If it's linked dynamically
// or is an rlib already included via some other dylib crate, the symbols from
// native libs will have already been included in that dylib. When we build rustc, we will create a Have you tested these changes on Windows with the compiler testsuite? I would expect the compiler to crash when failing to unwind on some of the tests. |
Seems like it doesn't matter any more, sorry for the noise.
Passed all the tests (including new one) natively on
That's really unfortunate, I was hoping to easily replace |
Yes, the test seems pretty useful on its own. |
Also adds test to make sure binaries can run without external libraries (like
libgcc*
) in the PATH.