ci: Set the -znostart-stop-gc flag for lld when testing#16682
ci: Set the -znostart-stop-gc flag for lld when testing#16682Dinnerbone merged 1 commit intoruffle-rs:masterfrom
-znostart-stop-gc flag for lld when testing#16682Conversation
92bca55 to
2156ad0
Compare
-znostart-stop-gc linker flag for testing-znostart-stop-gc flag for lld when testing
However, since this is only an issue for testing (we use |
|
We may decide to wait for rustc to roll this change (switching to lld on linux by default) back from beta (dtolnay/linkme#88 (comment)) instead of merging this. |
|
When using |
|
I see, thanks! For the record, while looking into it, I had some other alternative ideas too, but I have no idea whether any of them are actually feasible. Such as:
|
We have |
|
Considering that the next beta is coming out almost 6 weeks from now, I'm proposing merging this now, just to clean up CI, and unblock merging PRs without repo admin force. |
2156ad0 to
3b8e03f
Compare
AFAICT the new beta is already out and lld is disabled there |
|
Oh, right, great! Anyway, I think leaving that option won't really hurt... |
Should fix CI failing with beta Rust (aside from the lints, for which there's #16679 and #16683).
Now that Rust beta also uses
rust-lldby default onx86_64-unknown-linux-gnu, we can't use-Zas a workaround.An alternative to #16448.
Also reverts #16390.
Referencing: dtolnay/linkme#94
For more info, see: https://lld.llvm.org/ELF/start-stop-gc