Skip to content

Fix the .NET API for recent Wasmtime C API changes.#221

Merged
peterhuene merged 1 commit into
bytecodealliance:mainfrom
peterhuene:fix-ci
Feb 6, 2023
Merged

Fix the .NET API for recent Wasmtime C API changes.#221
peterhuene merged 1 commit into
bytecodealliance:mainfrom
peterhuene:fix-ci

Conversation

@peterhuene
Copy link
Copy Markdown
Member

This PR fixes the definition of wasmtime_linker_define to match what is currently expected upstream.

As a result, items passed to Linker.Define must be associated with a store.

The internal IExternal interface was updated to expose the store associated with the item for LinkerDefine to use.

Also update the target framework to 7.0 (still netstandard2.1 as well).

This commit fixes the definition of `wasmtime_linker_define` to match what is
currently expected upstream.

As a result, items passed to `Linker.Define` must be associated with a store.

The internal `IExternal` interface was updated to expose the store associated
with the item for `LinkerDefine` to use.

Also update the target framework to 7.0 (still `netstandard2.1` as well).
@peterhuene
Copy link
Copy Markdown
Member Author

I'm going to see if I can expose the root cause for the flaky tarball downloads from GitHub that seems to only impact the Windows CI machines given it's still happening.

@peterhuene
Copy link
Copy Markdown
Member Author

peterhuene commented Feb 6, 2023

error MSB3923: Failed to download file "https://github.com/bytecodealliance/wasmtime/releases/download/dev/wasmtime-dev-aarch64-linux-c-api.tar.xz". Authentication failed, see inner exception.

Sigh. The inner exception seems to be completely eaten by the task and not logged in anyway at even a diagnostic logging level.

@peterhuene
Copy link
Copy Markdown
Member Author

I'm going to merge this for now and we'll figure out the transient download issues on the Windows CI later (it'll require implementing our own DownloadFile task to get the full exception message).

@peterhuene peterhuene merged commit dacd910 into bytecodealliance:main Feb 6, 2023
@peterhuene peterhuene deleted the fix-ci branch February 6, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant