Skip to content

Commit

Permalink
Remove no-longer-necessary reactor world (bytecodealliance#7516)
Browse files Browse the repository at this point in the history
The `wasi:cli` WIT package now has a `reactor` world so the adapter can
use that instead of defining its own.
  • Loading branch information
alexcrichton committed Nov 12, 2023
1 parent b326bc4 commit f2dbcad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 67 deletions.
33 changes: 0 additions & 33 deletions crates/wasi-http/wit/main.wit

This file was deleted.

2 changes: 2 additions & 0 deletions crates/wasi-http/wit/test.wit
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package wasmtime:wasi;

// only used as part of `test-programs`
world test-reactor {
include wasi:cli/reactor@0.2.0-rc-2023-11-05;
Expand Down
2 changes: 1 addition & 1 deletion crates/wasi-preview1-component-adapter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub mod bindings {
#[cfg(feature = "reactor")]
wit_bindgen::generate!({
path: "../wasi/wit",
world: "wasmtime:wasi/preview1-adapter-reactor",
world: "wasi:cli/reactor",
std_feature,
raw_strings,
// Automatically generated bindings for these functions will allocate
Expand Down
33 changes: 0 additions & 33 deletions crates/wasi/wit/main.wit

This file was deleted.

2 changes: 2 additions & 0 deletions crates/wasi/wit/test.wit
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package wasmtime:wasi;

// only used as part of `test-programs`
world test-reactor {
include wasi:cli/reactor@0.2.0-rc-2023-11-05;
Expand Down

0 comments on commit f2dbcad

Please sign in to comment.