Skip to content

Commit

Permalink
Fixed publish script with latest needed changes (#3749)
Browse files Browse the repository at this point in the history
* Fixed publish script with latest needed changes (exept for wasmer-wasix-experimental-io-devices still not working)

* Use wasmer/sys for the sys feature of wasmer-wasix
  • Loading branch information
ptitSeb authored Apr 11, 2023
1 parent d3d2a04 commit 7da8f28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/wasi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ webc_runner_rt_wasi = []
webc_runner_rt_wcgi = ["hyper", "wcgi", "wcgi-host", "tower", "tower-http"]
webc_runner_rt_emscripten = ["wasmer-emscripten"]

sys = ["webc/mmap", "time"]
sys = ["webc/mmap", "time", "wasmer/sys"]
sys-default = ["sys", "logging", "host-fs", "sys-poll", "sys-thread", "host-vnet", "host-threads", "host-reqwest" ]
sys-poll = []
sys-thread = ["tokio/rt", "tokio/time", "tokio/rt-multi-thread"]
Expand Down
8 changes: 6 additions & 2 deletions scripts/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,13 @@
# compiler by default otherwise it won't work standalone
"publish_features": {
"wasmer-cli": "default,cranelift",
"wasmer-wasix": "sys",
"wasmer-wasix-types": "sys",
"wasmer-wasix": "sys,wasmer/sys",
"wasmer-wasix-types": "wasmer/sys",
"wasmer-wasix-experimental-io-devices": "wasmer-wasix/sys",
"wasmer-wast": "wasmer/sys",
"wai-bindgen-wasmer": "sys",
"wasmer-cache": "wasmer/sys",
"wasmer-emscripten": "wasmer/sys"
},
# workspace members we want to publish but whose path doesn't start by
# "./lib/"
Expand Down

0 comments on commit 7da8f28

Please sign in to comment.