Stream: rust-toolchain

Topic: Wasm/Interface Types ABI


view this post on Zulip Till Schneidereit (Apr 22 2020 at 11:06):

@Alex Crichton I've been wondering about where we might be able to eventually take things for the Wasm interface.

One question: is it conceivable, and would it be useful, to eventually support something like pub extern "wasm" fn instead of requiring a proc macro annotation?

view this post on Zulip Till Schneidereit (Apr 22 2020 at 11:41):

of course that'd only be once interface types are fully stable, but I doubt that I fully understand the implications, and so don't know whether this will ever make sense :slight_smile:

view this post on Zulip Alex Crichton (Apr 22 2020 at 14:31):

@Till Schneidereit yeah long-term that's what I'd assume that we'd use

view this post on Zulip Alex Crichton (Apr 22 2020 at 14:31):

maybe not literally that syntax but with stable interface types we'd want some modicum of support in rustc

view this post on Zulip Till Schneidereit (Apr 22 2020 at 14:55):

Makes sense, yes!

view this post on Zulip Josh Triplett (Apr 27 2020 at 15:43):

I'm also hoping that interface-types one day becomes usable orthogonally to wasm.


Last updated: Nov 22 2024 at 16:03 UTC