Skip to content

Commit 373deb0

Browse files
committed
wasmer: add wasi support
1 parent 700eadb commit 373deb0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/wasmer.zig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
const std = @import("std");
22
const builtin = @import("builtin");
33
pub const wasm = @import("./wasm.zig");
4-
pub const wasi = @import("./wasi.zig");
4+
5+
pub usingnamespace @import("./wasi.zig");
56

67
// Re-exports
8+
pub const ExternVec = wasm.ExternVec;
79
pub const ByteVec = wasm.ByteVec;
810
pub const Engine = wasm.Engine;
911
pub const Store = wasm.Store;
@@ -14,7 +16,6 @@ pub const Func = wasm.Func;
1416
pub const Memory = wasm.Memory;
1517
pub const MemoryType = wasm.MemoryType;
1618
pub const Limits = wasm.Limits;
17-
pub const WasiConfig = wasi.WasiConfig;
1819

1920
const OS_PATH_MAX: usize = switch (builtin.os.tag) {
2021
.windows => std.os.windows.MAX_PATH,

0 commit comments

Comments
 (0)