Skip to content

Commit 86a8ebf

Browse files
committed
Bump walrus to 0.12.0
1 parent a8191e0 commit 86a8ebf

File tree

6 files changed

+4
-8
lines changed

6 files changed

+4
-8
lines changed

Diff for: Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ required-features = ["exe"]
2424

2525
[dependencies]
2626
failure = "0.1.5"
27-
walrus = { version = "0.11.0", features = ["parallel"] }
28-
regex = "1.2.1"
29-
rayon = "1.1.0"
27+
walrus = { version = "0.12.0", features = ["parallel"] }
28+
regex = "1.3.1"
29+
rayon = "1.2.0"
3030

3131
[dependencies.clap]
3232
optional = true

Diff for: src/bin/wasm-snip.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,9 @@ fn try_main() -> Result<(), failure::Error> {
5353
.emit_wasm_file(output)
5454
.with_context(|_| format!("failed to emit snipped wasm to {}", output))?;
5555
} else {
56-
let wasm = module
57-
.emit_wasm()
58-
.context("failed to re-compile snipped module to wasm")?;
59-
56+
let wasm = module.emit_wasm();
6057
let stdout = io::stdout();
6158
let mut stdout = stdout.lock();
62-
6359
stdout
6460
.write_all(&wasm)
6561
.context("failed to write wasm to stdout")?;

Diff for: tests/no_alloc.wasm

0 Bytes
Binary file not shown.

Diff for: tests/no_fmt.wasm

0 Bytes
Binary file not shown.

Diff for: tests/no_panicking.wasm

0 Bytes
Binary file not shown.

Diff for: tests/snip_me.wasm

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)