diff options
author | Sam Clegg <sbc@chromium.org> | 2022-04-14 07:58:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 00:58:11 -0700 |
commit | 67c7490aea420a98bd90005cffd7544b804530a0 (patch) | |
tree | d920ff346577d01891263d2e8ba672af901d923a /wasm2c/examples/fac/fac.h | |
parent | 39022f8cd717ec5f219c56f4ebd07f016c457afc (diff) | |
download | wabt-67c7490aea420a98bd90005cffd7544b804530a0.tar.gz wabt-67c7490aea420a98bd90005cffd7544b804530a0.tar.bz2 wabt-67c7490aea420a98bd90005cffd7544b804530a0.zip |
Remove signature mangling from wasm2c output (#1896)
This effectively means that we no longer support imports that are
overloaded by signature only. This is not something that we need to
support in order to support the core wasm spec.
This feature is available in the JS embedding but there is no good
reason (AFAICT) to support it in wasm2c, and this simplifies the
generated code.
Fixes #1858
Diffstat (limited to 'wasm2c/examples/fac/fac.h')
-rw-r--r-- | wasm2c/examples/fac/fac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wasm2c/examples/fac/fac.h b/wasm2c/examples/fac/fac.h index 41c50d4d..9a6a9aba 100644 --- a/wasm2c/examples/fac/fac.h +++ b/wasm2c/examples/fac/fac.h @@ -35,7 +35,7 @@ typedef double f64; extern void WASM_RT_ADD_PREFIX(init)(void); /* export: 'fac' */ -extern u32 (*WASM_RT_ADD_PREFIX(Z_facZ_ii))(u32); +extern u32 (*WASM_RT_ADD_PREFIX(Z_fac))(u32); #ifdef __cplusplus } #endif |