pub const WasiExecModel = enum(u2) pub fn init(wasi_exec_model: ?std.builtin.WasiExecModel) WasiExecModel862
863
864
865
866
867
868
869
870
871
872
873 pub const WasiExecModel = enum(u2) {
default,
command,
reactor,
pub fn init(wasi_exec_model: ?std.builtin.WasiExecModel) WasiExecModel {
return switch (wasi_exec_model orelse return .default) {
.command => .command,
.reactor => .reactor,
};
}
}