-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Use x86_64-unknown-linux-gnu for releases #4157
Conversation
✌️ lnicola can now approve this pull request. To approve and merge a pull request, simply reply with |
Maybe they've fixed it? bors r=maklad |
Guess not. @matklad pretty please? |
@lnicola how should it make for faster binaries? |
Faster, and more compatible with proc macros. Also possibly more crashy. |
Some bad news: our binaries don't work on CentOS 7:
See rust-lang/rust#57497. CentOS 7 has |
Are there specific plans for this? You could look at how rustup is borrowing the same images: |
The new build does not run on any NixOS either (NixOS doesn't have a
|
@cuviper no, no specific plans -- the current assumption is that for most users the binaries we publish are fine. SO, I don't think it makes sense to make our current CI more complicated to get the long tail. Once we ship via rustup, that should be fixed. |
The reasoning here is that we don't call much C code, and
libstd
should already be compatible with older Linux distributions.Tested by running
rust-analyzer analysis-stats
on Ubuntu 14.04 with a binary compiled on Arch Linux.This should make for faster binaries and avoid some problems with
musl
dlopen()
not working (thus breaking procedural macro support).