Stream: git-wasmtime

Topic: wasmtime / issue #6558 (docs) Component Fn Call syntax


view this post on Zulip Wasmtime GitHub notifications bot (Jun 10 2023 at 11:46):

DougAnderson444 opened issue #6558:

https://github.com/bytecodealliance/wasmtime/blob/e105aa385e8bb1b2fa4c86d4a0a0522edc71ee5f/crates/wasmtime/src/component/mod.rs#L212

Is this syntax still valid? The only syntax I can find that works is always prepended with call_

Wondering if I'm missing something or if these docs are just out of date?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 10 2023 at 20:25):

pchickey commented on issue #6558:

The bindings generator prefixes export function names with call_ in order to avoid collisions with the new() constructor, as well as Rust keywords. The docs are out of date. Would you mind sending a PR to correct that error?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 10 2023 at 21:20):

DougAnderson444 commented on issue #6558:

No problem! Done :)

view this post on Zulip Wasmtime GitHub notifications bot (Jun 11 2023 at 06:01):

pchickey closed issue #6558:

https://github.com/bytecodealliance/wasmtime/blob/e105aa385e8bb1b2fa4c86d4a0a0522edc71ee5f/crates/wasmtime/src/component/mod.rs#L212

Is this syntax still valid? The only syntax I can find that works is always prepended with call_

Wondering if I'm missing something or if these docs are just out of date?


Last updated: Nov 22 2024 at 17:03 UTC