-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update wit-bindgen to 0.30 #211
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Looks like the old CentOS mirrors are being decommissioned.
* Revert "temporarily remove C# `variants` runtime test (#963)" This reverts commit 3ca7739. As of dotnet/runtimelab#2609, the "return pointer not aligned" issue which forced us to remove the C# `variants` runtime test case _should_ be resolved. 🤞 Signed-off-by: Joel Dice <joel.dice@fermyon.com> * update C# variants test to match latest code generator Signed-off-by: Joel Dice <joel.dice@fermyon.com> --------- Signed-off-by: Joel Dice <joel.dice@fermyon.com>
* Relicense this repository This commit relicenses this repository from Apache-2.0 WITH LLVM-exception to Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT in accordance with #987. All contributors have signed off in #987 and the license metadata and such here match the `wasi-rs` repository in the bytecodealliance organization as well. Thank you again everyone for your help here! Closes #987 * Adjust some CI scripts * Fix cabi_realloc script * Fix publish script * Update license blurb in readme
This commit fixes the `--with` option in the Rust generate from changes in #972. Notably the fixes here are: * The `--with` option is no longer required. * Multiple `--with` options are now accepted again. * A new `--generate-all` option was added. * The `generate_all` macro option was documented. * Error messages on the CLI and the macro now mention all the variants of how to fix the error. Closes #995
This is to avoid the need to add binary .o files (which are difficult to audit from a security perspective) to the .NET runtime repository. I will open related PRs on the `wasm-tools` and `wasm-component-ld` repos to enable the latter to accept WIT files at link (and componentization) time. Note that I've taken this opportunity to remove the cabi_realloc C file from the output, since we can rely on `wasi-libc` providing an implementation. Signed-off-by: Joel Dice <joel.dice@fermyon.com>
* Update wasm-tools crates * Remove usage of multi-return * Fix C tests * Mostly update Go tests
[automatically-tag-and-release-this-commit] Co-authored-by: Auto Release Process <auto-release-process@users.noreply.github.com>
Signed-off-by: Lachlan Heywood <lachieh@users.noreply.github.com>
…1009) Signed-off-by: Lachlan Heywood <lachieh@users.noreply.github.com>
* Update to wasm-tools 215 Brings in a breaking change which is hoped to not affect anyone around how multi-package WITs are handled. * Fix C test * Fix main test build * Remove patch entries
Originally, I made these `internal` rather than `public` since they aren't meant to be used in application code. However, that prevents an important use case: splitting the bindings across assemblies. In particular, when targetting a world that includes exports, it's useful to put the generated types and imports in a reusable library, but we can't put the exports in that library since the application code should be providing the entry points. This is analogous to how a CLI library might provide utilities for e.g. parsing command line options, but still leave it to the application to provide a `static int Main` function. In the case of a world that includes one or more exports, we'll want to put the generated code for those exports in the application assembly and put everything else in the library. However, the export code may need to be able to marshal raw resource handles into the appropriate object wrapper for that resource type, and that requires access to the `THandle` struct and corresponding constructor for that class. Signed-off-by: Joel Dice <joel.dice@fermyon.com>
Mirrors the `wasm-tools` CLI
[automatically-tag-and-release-this-commit] Co-authored-by: Auto Release Process <auto-release-process@users.noreply.github.com>
rvolosatovs
force-pushed
the
build/update
branch
from
August 5, 2024 07:58
a135ad5
to
c29d72c
Compare
rvolosatovs
force-pushed
the
build/update
branch
from
August 5, 2024 08:03
c29d72c
to
5f607df
Compare
auto-merge was automatically disabled
August 5, 2024 08:36
Pull request was converted to draft
This also locks the ILC dependencies to a specific version to avoid future surprises. Signed-off-by: Joel Dice <joel.dice@fermyon.com>
This code is no longer needed now that the .NET runtime uses WIT files to represent the component type instead. Signed-off-by: Joel Dice <joel.dice@fermyon.com>
Closes #1022
This is not needed for the wasi_snapshot_preview1 adapter in Wasmtime and is causing issues with LLVM 19, so add an option to turn it off which will be enabled in Wasmtime.
This allows them to be called from other assemblies. Signed-off-by: Joel Dice <joel.dice@fermyon.com>
[automatically-tag-and-release-this-commit] Co-authored-by: Auto Release Process <auto-release-process@users.noreply.github.com>
rvolosatovs
force-pushed
the
build/update
branch
from
August 14, 2024 18:07
5f607df
to
e1af006
Compare
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
rvolosatovs
force-pushed
the
build/update
branch
from
August 14, 2024 19:05
aff3072
to
e58ce0c
Compare
rvolosatovs
force-pushed
the
build/update
branch
from
August 15, 2024 10:11
b735163
to
b62b4e3
Compare
rvolosatovs
changed the title
feat: update wit-bindgen
feat: update wit-bindgen to 0.30
Aug 15, 2024
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
rvolosatovs
force-pushed
the
build/update
branch
from
August 15, 2024 10:30
b62b4e3
to
0f22143
Compare
github-merge-queue
bot
removed this pull request from the merge queue due to a conflict with the base branch
Aug 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.