Stream: git-wasmtime

Topic: wasmtime / PR #7167 Fix/wasmtime-cli-wasi-http-component


view this post on Zulip Wasmtime GitHub notifications bot (Oct 06 2023 at 08:31):

eduardomourar opened PR #7167 from eduardomourar:fix/wasmtime-cli-wasi-http-component to bytecodealliance:main:

We will allow shadowing in linker when using
WASI HTTP in order to prevent the following
error:

import of wasi:clocks/wall-clock defined
twice

view this post on Zulip Wasmtime GitHub notifications bot (Oct 06 2023 at 08:31):

eduardomourar edited PR #7167:

We will allow shadowing in linker when using WASI HTTP in order to prevent the following error:

import of wasi:clocks/wall-clock defined twice

view this post on Zulip Wasmtime GitHub notifications bot (Oct 06 2023 at 08:36):

eduardomourar edited PR #7167:

This will fix the error one would get while trying to run the wasmtime CLI with -S http because the async functions were being added to the linker. Additionally, we will allow shadowing in linker when using WASI HTTP in order to prevent the following error:

import of wasi:clocks/wall-clock defined twice

Also, to prevent it from breaking in the future, a simple handcrafted test has been added to the CLI test suite.


Last updated: Dec 23 2024 at 12:05 UTC