-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Labels
A-FFIArea: Foreign function interface (FFI)Area: Foreign function interface (FFI)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/Target: WASM (WebAssembly), http://webassembly.org/
Description
While reading https://hacks.mozilla.org/2018/01/oxidizing-source-maps-with-rust-and-webassembly/ I noticed the following
it is marked
extern "C"so that it is publicly exported in the final .wasm file.
Shouldn't this be extern "WASM" or similar? The FFI interface is not the C one, but the WebAssembly one (or JavaScript?)
Metadata
Metadata
Assignees
Labels
A-FFIArea: Foreign function interface (FFI)Area: Foreign function interface (FFI)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/Target: WASM (WebAssembly), http://webassembly.org/