-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(deps): update to latest stable release of Rust Update to Rust 1.79.0. Also, make sure all the required targets are installed. Signed-off-by: Flavio Castelli <[email protected]> * automation: uniform handling of Rust installation Prior to this commit, the GH actions installed the rust toolchain using the now archived `actions-rs/toolchain`. On top of that, the actions were installing latest `stable` release of Rust, overriding what was specified inside of our `rust-toolchain.toml` file. That lead to different behaviour locally and inside of the runners. For example, that caused the automated release of `wasmtime-provider` 1.19.0 to fail because of different clippy rules between the local development and the runners. GitHub runners have `rustup` installed by default. That, together with our `rust-toolchain.toml` file is enough to get the right version of Rust automatically installed. Signed-off-by: Flavio Castelli <[email protected]> * deps: update Rust's WASI target The old `wasm32-wasi` target has been deprecated and is going to be completely replaced by `wasm32-wasip1`. See [this blog post](https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html). This commit ensures we use the right WASI target. As a final note, the `.wasm` file part of the commit is the same program rebuilt with the new target. Signed-off-by: Flavio Castelli <[email protected]> * fixes: address linter warnings Address all the linter warnings raised by latest version of clippy Signed-off-by: Flavio Castelli <[email protected]> --------- Signed-off-by: Flavio Castelli <[email protected]>
- Loading branch information
Showing
12 changed files
with
15 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
[toolchain] | ||
channel = "1.77" | ||
channel = "1.79" | ||
components = ["rustfmt", "clippy"] | ||
targets = ["wasm32-wasi"] | ||
|
||
# Note: rebuilding the wasm requires targets | ||
# wasm32-unknown-unknown and wasm32-wasi | ||
# Note: rebuilding the wasm requires these targets | ||
targets = ["wasm32-wasip1", "wasm32-unknown-unknown"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.PHONY: build clean | ||
|
||
NAME=wapc_guest_timeout | ||
TARGET=wasm32-wasi | ||
TARGET=wasm32-wasip1 | ||
|
||
build: build/$(NAME).wasm | ||
|
||
|
Binary file modified
BIN
-1.84 MB
(4.5%)
wasm/crates/wapc-guest-timeout/build/wapc_guest_timeout.wasm
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.PHONY: build clean | ||
|
||
NAME=wasi_basic | ||
TARGET=wasm32-wasi | ||
TARGET=wasm32-wasip1 | ||
|
||
build: build/$(NAME).wasm | ||
|
||
|