File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,11 @@ impl Linker {
54
54
55
55
let mut inner: LinkerImpl < StoreData > = LinkerImpl :: new ( engine. get ( ) ) ;
56
56
if wasi {
57
- wasi_common:: sync:: add_to_linker ( & mut inner, |s| s. wasi_ctx_mut ( ) )
58
- . map_err ( |e| error ! ( "{}" , e) ) ?
57
+ wasi_common:: sync:: snapshots:: preview_1:: add_wasi_snapshot_preview1_to_linker (
58
+ & mut inner,
59
+ |s| s. wasi_ctx_mut ( ) ,
60
+ )
61
+ . map_err ( |e| error ! ( "{}" , e) ) ?
59
62
}
60
63
Ok ( Self {
61
64
inner : RefCell :: new ( inner) ,
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def module_trapping_on_func
114
114
def wasi_module_exiting
115
115
Module . new ( engine , <<~WAT )
116
116
(module
117
- (import "wasi_unstable " "proc_exit"
117
+ (import "wasi_snapshot_preview1 " "proc_exit"
118
118
(func $__wasi_proc_exit (param i32)))
119
119
(memory (export "memory") 0)
120
120
(func $_start
You can’t perform that action at this time.
0 commit comments