Skip to content

Commit

Permalink
Merge branch 'ulan/run-819' into 'master'
Browse files Browse the repository at this point in the history
RUN-819: Upgrade `wasmtime` to version 13.0.1

Release notes:
- https://github.com/bytecodealliance/wasmtime/blob/main/RELEASES.md#1300
 
Changes:
- bytecodealliance/wasmtime@release-11.0.0...release-13.0.0 

See merge request dfinity-lab/public/ic!15607
  • Loading branch information
levsha committed Oct 31, 2023
2 parents f28a285 + db296cc commit 3d44d7e
Show file tree
Hide file tree
Showing 11 changed files with 2,644 additions and 1,980 deletions.
1,225 changes: 655 additions & 570 deletions Cargo.Bazel.Fuzzing.json.lock

Large diffs are not rendered by default.

239 changes: 125 additions & 114 deletions Cargo.Bazel.Fuzzing.toml.lock

Large diffs are not rendered by default.

1,193 changes: 698 additions & 495 deletions Cargo.Bazel.StaticOpenSSL.json.lock

Large diffs are not rendered by default.

243 changes: 142 additions & 101 deletions Cargo.Bazel.StaticOpenSSL.toml.lock

Large diffs are not rendered by default.

1,193 changes: 698 additions & 495 deletions Cargo.Bazel.json.lock

Large diffs are not rendered by default.

243 changes: 142 additions & 101 deletions Cargo.Bazel.toml.lock

Large diffs are not rendered by default.

268 changes: 174 additions & 94 deletions Cargo.lock

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions bazel/external_crates.bzl
Expand Up @@ -1299,19 +1299,18 @@ def external_crates_repository(name, static_openssl, cargo_lockfile, lockfile, s
version = "^0.2.50",
),
"wasmtime": crate.spec(
version = "^11.0.2",
version = "^13.0.1",
default_features = False,
features = [
"cranelift",
"parallel-compilation",
"posix-signals-on-macos",
],
),
"wasmtime-environ": crate.spec(
version = "^11.0.2",
version = "^13.0.1",
),
"wasmtime-runtime": crate.spec(
version = "^11.0.2",
version = "^13.0.1",
),
"wast": crate.spec(
version = "^53.0.0",
Expand Down
7 changes: 3 additions & 4 deletions rs/embedders/Cargo.toml
Expand Up @@ -30,13 +30,12 @@ slog = { version = "2.5.2", features = [
"release_max_level_debug",
] }
slog-term = "2.6.0"
wasmtime = { version = "11.0.2", default-features = false, features = [
wasmtime = { version = "13.0.1", default-features = false, features = [
'cranelift',
'parallel-compilation',
'posix-signals-on-macos',
] }
wasmtime-environ = "11.0.2"
wasmtime-runtime = "11.0.2"
wasmtime-environ = "13.0.1"
wasmtime-runtime = "13.0.1"
wasm-encoder = "0.31.0"
wasmparser = "0.109.0"
rayon = "1.5.1"
Expand Down
2 changes: 2 additions & 0 deletions rs/embedders/src/wasmtime_embedder.rs
Expand Up @@ -166,6 +166,8 @@ struct WasmMemoryInfo {
fn disable_unused_features(config: &mut wasmtime::Config) {
config.wasm_function_references(false);
config.wasm_relaxed_simd(false);
// The signal handler uses Posix signals, not Mach ports on MacOS.
config.macos_use_mach_ports(false);
}

pub struct WasmtimeEmbedder {
Expand Down
4 changes: 2 additions & 2 deletions rs/rosetta-api/icrc1/ledger/sm-tests/Cargo.toml
Expand Up @@ -27,8 +27,8 @@ cddl = "0.9.0-beta.1"
hex = "0.4.2"
serde = { workspace = true }
futures = { workspace = true }
icrc1-test-env = { git = "https://github.com/dfinity/ICRC-1", rev = "bdcf39e32a12185fbcec33897001d93c901d6689" }
icrc1-test-suite = { git = "https://github.com/dfinity/ICRC-1", rev = "bdcf39e32a12185fbcec33897001d93c901d6689" }
icrc1-test-env = { git = "https://github.com/dfinity/ICRC-1", rev = "c0c2770c4f62cae9821f650ed8f36ebcc772182c" }
icrc1-test-suite = { git = "https://github.com/dfinity/ICRC-1", rev = "c0c2770c4f62cae9821f650ed8f36ebcc772182c" }

[features]
default = []
Expand Down

0 comments on commit 3d44d7e

Please sign in to comment.