Skip to content

Commit

Permalink
feat: integrate wasi-passthrough
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Sep 18, 2024
1 parent 3a94d1b commit cec8cbb
Show file tree
Hide file tree
Showing 323 changed files with 14,112 additions and 2,878 deletions.
14 changes: 12 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 13 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@ edition.workspace = true
license.workspace = true
repository.workspace = true

[profile.release.package.west-passthrough]
opt-level = 's'
strip = true

[profile.release.package.west-sys]
opt-level = 's'
strip = true

[profile.release]
lto = true

[workspace]
members = ["crates/*", "tests/components/*"]

Expand All @@ -31,10 +20,22 @@ homepage = "https://github.com/rvolosatovs/west"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/rvolosatovs/west"

[profile.release.package.west-passthrough]
opt-level = 's'
strip = true

[profile.release.package.west-sys]
opt-level = 's'
strip = true

[profile.release]
lto = true

[dependencies]
anyhow = { workspace = true }
http = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
wasi-preview1-component-adapter-provider = { workspace = true }
wasmparser = { workspace = true }
wasmtime = { workspace = true, features = ["cranelift"] }
Expand All @@ -49,12 +50,12 @@ 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 }
wasi-passthrough = { version = "0.1.1", default-features = false }
wasi-preview1-component-adapter-provider = { version = "24", default-features = false }
wasmparser = { version = "0.217", default-features = false }
wasmtime = { version = "24", default-features = false }
wasmtime-wasi = { version = "24", default-features = false }
wasmtime-wasi-http = { version = "24", default-features = false }
west-passthrough = { version = "0.1.0-alpha.1", path = "./crates/passthrough" }
west = { version = "0.1.0-alpha.2", path = "." }
wit-bindgen = { version = "0.32", default-features = false }
wit-component = { version = "0.217", default-features = false }
268 changes: 134 additions & 134 deletions bindings/bindings.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions bindings/wasi/cli/environment/environment.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 27 additions & 3 deletions bindings/wasi/cli/exit/exit.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/wasi/cli/imports/imports.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bindings/wasi/cli/stderr/stderr.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bindings/wasi/cli/stdin/stdin.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bindings/wasi/cli/stdout/stdout.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions bindings/wasi/cli/terminal-input/terminal-input.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions bindings/wasi/cli/terminal-output/terminal-output.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bindings/wasi/cli/terminal-stderr/terminal-stderr.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bindings/wasi/cli/terminal-stdin/terminal-stdin.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bindings/wasi/cli/terminal-stdout/terminal-stdout.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/wasi/clocks/imports/imports.wit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cec8cbb

Please sign in to comment.