Skip to content

Commit 4ee19e0

Browse files
authored
wasmtime features: gc-drc (#865)
* wasmtime features: gc-drc * switch to wasmtime master * Runtime new: wasm_function_references, wasm_gc * wasmtime: lock to the specific commit
1 parent a6a2bdd commit 4ee19e0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

crates/livesplit-auto-splitting/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ sysinfo = { version = "0.33.1", default-features = false, features = [
2727
"system",
2828
] }
2929
time = { version = "0.3.3", default-features = false }
30-
wasmtime = { version = "30.0.2", default-features = false, features = [
30+
wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", rev = "ead1c7417284d1230d210cf13a6fcd26484aa5b1", default-features = false, features = [
3131
"cranelift",
32-
"gc",
32+
"gc-drc",
3333
"parallel-compilation",
3434
"runtime",
3535
] }
36-
wasmtime-wasi = { version = "30.0.2", default-features = false, features = [
36+
wasmtime-wasi = { git = "https://github.com/bytecodealliance/wasmtime", rev = "ead1c7417284d1230d210cf13a6fcd26484aa5b1", default-features = false, features = [
3737
"preview1",
3838
] }
3939

crates/livesplit-auto-splitting/src/runtime/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ impl Runtime {
344344
} else {
345345
WasmBacktraceDetails::Disable
346346
})
347+
.wasm_function_references(true)
348+
.wasm_gc(true)
347349
.epoch_interruption(true);
348350

349351
let engine = Engine::new(&engine_config)

0 commit comments

Comments
 (0)