FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #1597 from Shaikh-Ubaid/wasi_not_found · ADV1K/lpython@fe07cbc · GitHub

/ lpython Public
forked from lcompilers/lpython

Commit fe07cbc

Browse files
authored
Merge pull request lcompilers#1597 from Shaikh-Ubaid/wasi_not_found
WASM: Supply wasi flag when executing the generated wasm
2 parents 30bd056 + c767894 commit fe07cbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/bin/lpython.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ int main(int argc, char *argv[])
17211721

17221722
if (compiler_options.arg_o == "") {
17231723
if (backend == Backend::wasm) {
1724-
err = system(("node " + outfile +".js").c_str());
1724+
err = system(("node --experimental-wasi-unstable-preview1 " + outfile +".js").c_str());
17251725
} else {
17261726
if (compiler_options.platform == LCompilers::Platform::Windows) {
17271727
return system(outfile.c_str());

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL