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

Is there any plan to support --target=wasm64-wasi ? #212

Open
renxuqiang opened this issue Nov 30, 2021 · 8 comments
Open

Is there any plan to support --target=wasm64-wasi ? #212

renxuqiang opened this issue Nov 30, 2021 · 8 comments

Comments

@renxuqiang
Copy link

renxuqiang commented Nov 30, 2021

when --target=wasm64-wasi will be supported?

@vshymanskyy
Copy link

Duplicate of #185

@sunfishcode
Copy link
Member

Yes, everything in LLVM's wasm support and wasi-libc was written with wasm64 in mind, so it's just a matter of hooking up the pieces and making sure things actually work.

@AnatolyBuga
Copy link

Nooby question: building a code which uses f64s to wasm32-wasi - Would that lead to errors/unexpected behaviour or is that fine?

@sunfishcode
Copy link
Member

f64 is perfectly fine with wasm32-wasi. i64 is fine too.

@abrown
Copy link
Collaborator

abrown commented Aug 22, 2023

wasm64-wasi in wasi-sdk could use some help: if anyone is interested in working on this feel free to pick this up.

@sunfishcode
Copy link
Member

The guidance from the WASI Subgroup is that wasm64-wasi should now target WASI 0.2, so the path forward here now looks like:

@lum1n0us
Copy link
Contributor

lum1n0us commented Mar 5, 2024

Support for 64-bit pointers and lengths in the Canonical ABI.

Could u share more about that? It seems there are no new comments in WebAssembly/component-model#22 for monthes.

@sunfishcode
Copy link
Member

The CanonicalABI change will be conceptually straightforward; things like the size function need to be aware that a list has a pointer and a length, and so on.

bytecodealliance/wit-bindgen#870 gets wit-bindgen a step closer to memory64 support. Beyond this, its size/etc. functions also need to know that a list has a pointer and a length.

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

No branches or pull requests

6 participants