Skip to content
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

Add wasm64 support. #2866

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Conversation

freeformstu
Copy link
Contributor

This PR adds support for wasm64-unknown-unknown although there are no prebuilt wasm64-unknown-unknown rustc toolchains. Compiling for wasm64 will be left up to anyone using this target triple until we get T2 support for wasm64.

rust/platform/platform.bzl Show resolved Hide resolved
rust/private/dummy_cc_toolchain/BUILD.bazel Outdated Show resolved Hide resolved
@UebelAndre
Copy link
Collaborator

I think the failing windows example is Ok to disable with a reference to:

Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wasm64-unknown-unknown doesn't have a std artifact according to https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-3
Screenshot 2024-09-17 at 5 21 22 PM

This would lead to failures in analysis (failing to fetch an artifact that doesn't exist) should anything match that platform. I think it should be removed as a default platform and users can use crates_repository.supported_platform_triples if they were to have a usable toolchain.

@UebelAndre UebelAndre added this pull request to the merge queue Sep 18, 2024
Merged via the queue into bazelbuild:main with commit beebf3b Sep 18, 2024
4 checks passed
@UebelAndre UebelAndre deleted the dev/add-wasm64-support branch September 18, 2024 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants