-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Update the wasi toolchain. #96907
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
Update the wasi toolchain. #96907
Conversation
Update the WASI build to LLVM 14.0 and the wasi-libc version from wasi-sdk-15. This will require a ci-mirrors.rust-lang.org file load. Specifically, we need [this LLVM release tarball] uploaded to be downloadable from [this URL]. [this LLVM release tarball]: https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz [this URL]: https://ci-mirrors.rust-lang.org/rustc/2022-05-10-clang%2Bllvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
(rust-highfive has picked a reviewer for you, use r? to override) |
I uploaded the file to our mirror bucket, so modulo comment r=me presuming 18.04 is OK. |
@bors r+ |
📌 Commit e8af822 has been approved by |
⌛ Testing commit e8af822 with merge 3009b4ca39d1328384ffd6268c0f5472d4d07e6c... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
wasi-libc's Makefile changed how it detects the compiler to use; update Rust's script to set `CC` directly to the compiler it installs.
The test failure was due to a change in how wasi-libc's Makefile picks up the |
@bors r+ |
📌 Commit 4cc0cc7 has been approved by |
⌛ Testing commit 4cc0cc7 with merge d5ab7be34ebfc59abc33f7201a41668f20c4b991... |
@bors retry apple builder hanging |
☀️ Test successful - checks-actions |
Finished benchmarking commit (1e8cd63): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
I know I'm late to the game here, but I'm curious what the policy is on updating the specific commit of wasi-libc — does Rust give any guarantees about which version is used? If not, should it? Could totally be that the answer to both is "no", I just wanted to check :) |
I don't believe Rust currently makes any guarantees about the specific commit of wasi-libc. wasi-libc currently attempts to preserve ABI compatibility. In the future, wasi-libc may want to make some ABI-incompatible changes. When we reach that point, we'll coordinate that with other toolchains and figure out how to commincate it with users. |
Update the WASI build to LLVM 14.0 and the wasi-libc version from wasi-sdk-15.
This will require a ci-mirrors.rust-lang.org file load. Specifically, we
need this LLVM release tarball uploaded to be downloadable from
this URL.