-
Notifications
You must be signed in to change notification settings - Fork 58
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
4bd69c7
commit ff3532b
Showing
51 changed files
with
921 additions
and
334 deletions.
There are no files selected for viewing
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
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
3 changes: 2 additions & 1 deletion
3
legacy/examples/wasi-http/gen/gen_interface_wasi_http_incoming_handler_export.mbt
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
2 changes: 1 addition & 1 deletion
2
legacy/examples/wasi-http/gen/interface/wasi/http/incomingHandler/moon.pkg.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{ "import": [{ "path" : "moonbit/example/interface/wasi/http/types", "alias" : "types" }] } | ||
{ "import": [{ "path" : "moonbit-community/wasi-http/interface/wasi/http/types", "alias" : "types" }] } |
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
2 changes: 1 addition & 1 deletion
2
legacy/examples/wasi-http/gen/interface/wasi/http/incomingHandler/top.mbt
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 |
---|---|---|
@@ -1 +1 @@ | ||
// Generated by `wit-bindgen` 0.34.0. DO NOT EDIT! | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! |
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 |
---|---|---|
@@ -1 +1 @@ | ||
// Generated by `wit-bindgen` 0.34.0. | ||
// Generated by `wit-bindgen` 0.36.0. |
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 |
---|---|---|
@@ -1 +1 @@ | ||
// Generated by `wit-bindgen` 0.34.0. DO NOT EDIT! | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! | ||
///| | ||
fn wasmImportGetStderr() -> Int = "wasi:cli/[email protected]" "get-stderr" |
1 change: 1 addition & 0 deletions
1
legacy/examples/wasi-http/interface/wasi/cli/stderr/moon.pkg.json
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{ "import": [{ "path" : "moonbit-community/wasi-http/interface/wasi/io/streams", "alias" : "streams" }] } |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! | ||
|
||
///| | ||
pub fn get_stderr() -> @streams.OutputStream { | ||
let result : Int = wasmImportGetStderr() | ||
return @streams.OutputStream::OutputStream(result) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! | ||
///| | ||
fn wasmImportGetStdin() -> Int = "wasi:cli/[email protected]" "get-stdin" |
1 change: 1 addition & 0 deletions
1
legacy/examples/wasi-http/interface/wasi/cli/stdin/moon.pkg.json
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{ "import": [{ "path" : "moonbit-community/wasi-http/interface/wasi/io/streams", "alias" : "streams" }] } |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! | ||
|
||
///| | ||
pub fn get_stdin() -> @streams.InputStream { | ||
let result : Int = wasmImportGetStdin() | ||
return @streams.InputStream::InputStream(result) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! | ||
///| | ||
fn wasmImportGetStdout() -> Int = "wasi:cli/[email protected]" "get-stdout" |
1 change: 1 addition & 0 deletions
1
legacy/examples/wasi-http/interface/wasi/cli/stdout/moon.pkg.json
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{ "import": [{ "path" : "moonbit-community/wasi-http/interface/wasi/io/streams", "alias" : "streams" }] } |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! | ||
|
||
///| | ||
pub fn get_stdout() -> @streams.OutputStream { | ||
let result : Int = wasmImportGetStdout() | ||
return @streams.OutputStream::OutputStream(result) | ||
} |
6 changes: 5 additions & 1 deletion
6
legacy/examples/wasi-http/interface/wasi/clocks/monotonicClock/ffi.mbt
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
// Generated by `wit-bindgen` 0.34.0. DO NOT EDIT! | ||
// Generated by `wit-bindgen` 0.36.0. DO NOT EDIT! | ||
///| | ||
fn wasmImportNow() -> Int64 = "wasi:clocks/[email protected]" "now" | ||
|
||
///| | ||
fn wasmImportResolution() -> Int64 = "wasi:clocks/[email protected]" "resolution" | ||
|
||
///| | ||
fn wasmImportSubscribeInstant(p0 : Int64) -> Int = "wasi:clocks/[email protected]" "subscribe-instant" | ||
|
||
///| | ||
fn wasmImportSubscribeDuration(p0 : Int64) -> Int = "wasi:clocks/[email protected]" "subscribe-duration" |
2 changes: 1 addition & 1 deletion
2
legacy/examples/wasi-http/interface/wasi/clocks/monotonicClock/moon.pkg.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{ "import": [{ "path" : "moonbit/example/ffi", "alias" : "ffi" }, { "path" : "moonbit/example/interface/wasi/io/poll", "alias" : "poll" }] } | ||
{ "import": [{ "path" : "moonbit-community/wasi-http/interface/wasi/io/poll", "alias" : "poll" }] } |
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
Oops, something went wrong.