Commit 2405230
committed
call
Now that we've updated to the latest Rust Spin SDK, which uses a newer
`wit-bindgen`, we need to call `__wasm_call_ctors` explicitly in order to
initialize `wasi-libc` (e.g. grab environment variables, etc.). Previously,
this was done implicitly, but that caused other problems, so `wit-bindgen` does
it explicitly, which has the side effect of telling `wasm-ld` _not_ to do it
implicitly.
Signed-off-by: Joel Dice <[email protected]>__wasm_call_ctors in all exported functions1 parent 3c2ce12 commit 2405230
File tree
3 files changed
+2719
-30
lines changed- crates/spin-python-engine/src
3 files changed
+2719
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
0 commit comments