Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant