mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
wasm_interp: allow WASI to take bytes rather than strings for argv
This commit is contained in:
parent
4501f2af0e
commit
ca0f159386
4 changed files with 17 additions and 9 deletions
|
@ -39,7 +39,7 @@ pub struct DefaultImportDispatcher<'a> {
|
|||
}
|
||||
|
||||
impl<'a> DefaultImportDispatcher<'a> {
|
||||
pub fn new(args: &'a [&'a String]) -> Self {
|
||||
pub fn new(args: &'a [&'a [u8]]) -> Self {
|
||||
DefaultImportDispatcher {
|
||||
wasi: WasiDispatcher {
|
||||
args,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue