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

Use core::arch::wasm functions rather than intrinsics #418

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

tgross35
Copy link
Contributor

These wasm functions are available in core::arch::wasm32 since 1, so we can use them while avoiding the possibly-recursive intrinsics::* calls (in practice none of those should always lower to libcalls on wasm, but that is up to LLVM).

Since these require an unstable feature, they are still gated under unstable-intrinsics.

These wasm functions are available in `core::arch::wasm32` since [1], so
we can use them while avoiding the possibly-recursive `intrinsics::*`
calls (in practice none of those should always lower to libcalls on
wasm, but that is up to LLVM).

Since these require an unstable feature, they are still gated under
`unstable-intrinsics`.

[1]: rust-lang/stdarch#1677
@tgross35 tgross35 merged commit edc5958 into rust-lang:master Jan 11, 2025
35 checks passed
@tgross35 tgross35 deleted the use-wasm-arch branch January 11, 2025 22:08
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.

1 participant