Skip to content
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

Update walrus #716

Merged
merged 3 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ wasmprinter = { version = "0.212.0", optional = true }
wasmtime = { workspace = true }
wasmtime-wasi = { workspace = true }
wasi-common = { workspace = true }
walrus = "0.20.3"
walrus = "0.21.1"
swc_core = { version = "0.100.6", features = [
"common_sourcemap",
"ecma_ast",
Expand Down
11 changes: 9 additions & 2 deletions crates/cli/src/codegen/dynamic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,15 @@ impl DynamicGenerator {
let (eval_bytecode_fn_id, _) =
module.add_import_func(&self.import_namespace, "eval_bytecode", eval_bytecode_type);

let (memory_id, _) =
module.add_import_memory(&self.import_namespace, "memory", false, 0, None);
let (memory_id, _) = module.add_import_memory(
&self.import_namespace,
"memory",
false,
false,
0,
None,
None,
);

Ok(Imports::new(
canonical_abi_realloc_fn_id,
Expand Down
2 changes: 1 addition & 1 deletion supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ version = "8.3.1"
criteria = "safe-to-deploy"

[[exemptions.walrus]]
version = "0.20.3"
version = "0.21.1"
criteria = "safe-to-deploy"

[[exemptions.walrus-macro]]
Expand Down
40 changes: 0 additions & 40 deletions supply-chain/imports.lock
Original file line number Diff line number Diff line change
Expand Up @@ -662,13 +662,6 @@ user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wasm-encoder]]
version = "0.29.0"
when = "2023-05-26"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wasm-encoder]]
version = "0.201.0"
when = "2024-02-27"
Expand All @@ -687,13 +680,6 @@ when = "2024-06-27"
user-id = 73222
user-login = "wasmtime-publish"

[[publisher.wasmparser]]
version = "0.80.2"
when = "2021-09-30"
user-id = 1
user-login = "alexcrichton"
user-name = "Alex Crichton"

[[publisher.wasmparser]]
version = "0.201.0"
when = "2024-02-27"
Expand Down Expand Up @@ -1172,19 +1158,6 @@ start = "2021-10-29"
end = "2025-07-30"
notes = "The Bytecode Alliance is the author of this crate."

[[audits.bytecode-alliance.wildcard-audits.wasm-encoder]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
user-id = 1 # Alex Crichton (alexcrichton)
start = "2020-12-11"
end = "2025-07-30"
notes = """
This is a Bytecode Alliance authored crate maintained in the `wasm-tools`
repository of which I'm one of the primary maintainers and publishers for.
I am employed by a member of the Bytecode Alliance and plan to continue doing
so and will actively maintain this crate over time.
"""

[[audits.bytecode-alliance.wildcard-audits.wasm-encoder]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
Expand All @@ -1197,19 +1170,6 @@ publication of this crate from CI. This repository requires all PRs are reviewed
by a Bytecode Alliance maintainer and it owned by the Bytecode Alliance itself.
"""

[[audits.bytecode-alliance.wildcard-audits.wasmparser]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
user-id = 1 # Alex Crichton (alexcrichton)
start = "2020-07-13"
end = "2025-07-30"
notes = """
This is a Bytecode Alliance authored crate maintained in the `wasm-tools`
repository of which I'm one of the primary maintainers and publishers for.
I am employed by a member of the Bytecode Alliance and plan to continue doing
so and will actively maintain this crate over time.
"""

[[audits.bytecode-alliance.wildcard-audits.wasmparser]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
Expand Down
Loading