-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Roman Volosatovs <[email protected]>
- Loading branch information
1 parent
46c4aa4
commit 28a3562
Showing
146 changed files
with
6,545 additions
and
762 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
*.wasm | ||
*.a | ||
*.lib | ||
west_bindings_test.go | ||
wadge_bindings_test.go | ||
/go/internal/tests/*/bindings/* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "west" | ||
version = "0.2.1" | ||
description = "WebAssembly component test runtime" | ||
name = "wadge" | ||
version = "0.3.0" | ||
description = "WAdge runtime" | ||
|
||
authors.workspace = true | ||
categories.workspace = true | ||
|
@@ -32,15 +32,15 @@ members = ["crates/*", "tests/components/*"] | |
authors = ["Roman Volosatovs <[email protected]>"] | ||
categories = ["wasm"] | ||
edition = "2021" | ||
homepage = "https://github.com/wasmCloud/west" | ||
homepage = "https://github.com/wasmCloud/wadge" | ||
license = "Apache-2.0 WITH LLVM-exception" | ||
repository = "https://github.com/wasmCloud/west" | ||
repository = "https://github.com/wasmCloud/wadge" | ||
|
||
[profile.release.package.west-passthrough] | ||
[profile.release.package.wadge-passthrough] | ||
opt-level = 's' | ||
strip = true | ||
|
||
[profile.release.package.west-sys] | ||
[profile.release.package.wadge-sys] | ||
opt-level = 's' | ||
strip = true | ||
|
||
|
@@ -78,6 +78,7 @@ http = { version = "1", default-features = false } | |
tokio = { version = "1", default-features = false } | ||
tracing = { version = "0.1", default-features = false } | ||
tracing-subscriber = { version = "0.3", default-features = false } | ||
wadge = { version = "0.3", path = "." } | ||
wasi-passthrough = { version = "0.3.2", default-features = false } | ||
wasi-passthrough-ext = { version = "0.1.4", default-features = false } | ||
wasi-passthrough-keyvalue = { version = "0.1.1", default-features = false } | ||
|
@@ -90,6 +91,5 @@ wasmtime-wasi = { version = "25", default-features = false } | |
wasmtime-wasi-http = { version = "25", default-features = false } | ||
wasmtime-wasi-keyvalue = { version = "25", default-features = false } | ||
wasmtime-wasi-runtime-config = { version = "25", default-features = false } | ||
west = { version = "0.2", path = "." } | ||
wit-bindgen = { version = "0.32", default-features = false } | ||
wit-component = { version = "0.217", default-features = false } |
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,11 +1,11 @@ | ||
# Description | ||
|
||
`west` is a testing framework, which lets you test your WebAssembly applications natively and using all your existing development tools (e.g. debuggers). | ||
`wadge` is a testing framework, which lets you test your WebAssembly applications natively and using all your existing development tools (e.g. debuggers). | ||
|
||
## Go | ||
|
||
`west` provides `west-bindgen-go` utility, which walks the complete AST of your application and generates a binding file, which replaces functions with `wasmimport` directives, normally provided by the runtime, by a native implementation, which invokes those imports on a WebAssembly component (harness) running in an embedded Wasmtime instance. This lets you test you applications without changing implementation and achieving full test coverage. | ||
`wadge` provides `wadge-bindgen-go` utility, which walks the complete AST of your application and generates a binding file, which replaces functions with `wasmimport` directives, normally provided by the runtime, by a native implementation, which invokes those imports on a WebAssembly component (harness) running in an embedded Wasmtime instance. This lets you test you applications without changing implementation and achieving full test coverage. | ||
|
||
# Design | ||
|
||
`west` uses [`cabish`](https://github.com/wasmCloud/cabish) to read and write values over FFI to pass to embedded Wasmtime instance. | ||
`wadge` uses [`cabish`](https://github.com/wasmCloud/cabish) to read and write values over FFI to pass to embedded Wasmtime instance. |
Oops, something went wrong.