-
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
Consider building/linking run-make-support
as a dylib instead of a static lib
#131810
Comments
I mostly wanted to make this issue to get the idea out of my head. It's a neat idea, but might not be worth spending time on. |
This is possible (though note that some targets don't support dynamic linking, but ig they can fallback to static in that case). |
It should be a matter of adding |
isn't the |
No, the |
Rollup merge of rust-lang#132225 - clubby789:run-make-dynamic, r=jieyouxu Dynamically link run-make support Fixes rust-lang#131810 r? `@jieyouxu`
While looking at the code that compiletest uses to build auxiliary crates as dylibs, it occurred to me that run-make tests could potentially benefit from linking to
run-make-support
dynamically.This could perhaps result in less bloated rmake executables and faster builds/rebuilds, though that's pure conjecture as I haven't actually tried it. On the other hand, it's possible that the extra effort/complexity required to do so might not be worth it, especially if some of that complexity is in bootstrap.
The text was updated successfully, but these errors were encountered: