-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b662e41
commit 78cce85
Showing
49 changed files
with
1,367 additions
and
903 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,32 +15,32 @@ fn get_wasi_clock_fns() -> &'static Vec<(&'static str, FuncParams, FuncResults)> | |
WASI_CLOCK_FNS.get_or_init(|| { | ||
Vec::from([ | ||
( | ||
"wasi:clocks/[email protected].0#now", | ||
"wasi:clocks/[email protected].1#now", | ||
vec![], | ||
vec![ValType::I64], | ||
), | ||
( | ||
"wasi:clocks/[email protected].0#resolution", | ||
"wasi:clocks/[email protected].1#resolution", | ||
vec![], | ||
vec![ValType::I64], | ||
), | ||
( | ||
"wasi:clocks/[email protected].0#subscribe-instant", | ||
"wasi:clocks/[email protected].1#subscribe-instant", | ||
vec![ValType::I64], | ||
vec![ValType::I32], | ||
), | ||
( | ||
"wasi:clocks/[email protected].0#subscribe-duration", | ||
"wasi:clocks/[email protected].1#subscribe-duration", | ||
vec![ValType::I64], | ||
vec![ValType::I32], | ||
), | ||
( | ||
"wasi:clocks/[email protected].0#now", | ||
"wasi:clocks/[email protected].1#now", | ||
vec![], | ||
vec![ValType::I32], | ||
), | ||
( | ||
"wasi:clocks/[email protected].0#resolution", | ||
"wasi:clocks/[email protected].1#resolution", | ||
vec![], | ||
vec![ValType::I32], | ||
), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ static WASI_EXIT_FNS: OnceLock<Vec<(&str, FuncParams, FuncResults)>> = OnceLock: | |
/// Retrieve or initialize the static list of functions related to exiting in WASI | ||
fn get_wasi_exit_fns() -> &'static Vec<(&'static str, FuncParams, FuncResults)> { | ||
WASI_EXIT_FNS | ||
.get_or_init(|| Vec::from([("wasi:cli/[email protected].0#exit", vec![ValType::I32], vec![])])) | ||
.get_or_init(|| Vec::from([("wasi:cli/[email protected].1#exit", vec![ValType::I32], vec![])])) | ||
} | ||
|
||
/// Replace exports related to exiting in WASI to deny access | ||
|
Oops, something went wrong.