adjust some wasm recipes after testing

This commit is contained in:
auronandace 2026-07-01 13:33:19 +01:00
parent 1b80fb4b48
commit 83b3db4de4
12 changed files with 21 additions and 23 deletions

View File

@ -1,4 +1,4 @@
#TODO compiled but not tested
# TODO compiled and tested, can promote
# build instructions: https://github.com/WebAssembly/binaryen#building
[source]
git = "https://github.com/WebAssembly/binaryen"

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
# TODO compiled and tested, can promote
[source]
git = "https://github.com/friendlymatthew/gabagool"
shallow_clone = true
@ -7,7 +7,4 @@ template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_packages gabagool
mkdir -pv "${COOKBOOK_STAGE}/usr/share/gabagool"
cp -rv "${COOKBOOK_SOURCE}"/examples/game-of-life/wasm/game.wasm "${COOKBOOK_STAGE}/usr/share/gabagool"
cp -rv "${COOKBOOK_SOURCE}"/programs/*.wasm "${COOKBOOK_STAGE}/usr/share/gabagool"
"""

View File

@ -0,0 +1,11 @@
# TODO spin-sdk and spin-sdk-macro are in a subfolder crates
# cookbook_cargo_packages doesn't allow specifying files with / in them
# fails to compile because can't find them from workspace
[source]
git = "https://github.com/spinframework/spin-rust-sdk"
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo_packages spin-sdk spin-sdk-macro
"""

View File

@ -1,4 +1,4 @@
#TODO fs_at and libc crates error
# TODO aws-lc-sys missing RANDGETENTCNT (https://gitlab.redox-os.org/redox-os/redox/-/work_items/1841)
[source]
git = "https://github.com/trunk-rs/trunk"
[build]

View File

@ -1,4 +1,4 @@
#TODO not compiled or tested
# TODO compiled and tested, can promote
# build instructions: https://github.com/WebAssembly/wabt#building-using-cmake-directly-linux-and-macos
[source]
tar = "https://github.com/WebAssembly/wabt/releases/download/1.0.39/wabt-1.0.39.tar.xz"

View File

@ -1,4 +1,4 @@
#TODO fs4 crate error
# TODO fs4 crate error (https://gitlab.redox-os.org/redox-os/redox/-/work_items/1840)
[source]
git = "https://github.com/rustwasm/wasm-pack"
[build]

View File

@ -1,4 +1,4 @@
#TODO compiled but not tested
# TODO compiled and tested, can promote
[source]
git = "https://github.com/bytecodealliance/wasm-tools"
[build]

View File

@ -1,4 +1,4 @@
#TODO region crate error
# TODO region crate error (https://gitlab.redox-os.org/redox-os/redox/-/work_items/1837)
[source]
git = "https://github.com/wasmerio/wasmer"
[build]

View File

@ -1,4 +1,4 @@
#TODO fs-set-times and rustix crates error
# TODO iana-time-zone os detection (https://gitlab.redox-os.org/redox-os/redox/-/work_items/1838)
[source]
git = "https://github.com/wasmi-labs/wasmi"
[build]

View File

@ -1,5 +0,0 @@
#TODO outdated redox_syscall crate
[source]
git = "https://github.com/kateinoigakukun/wasminspect"
[build]
template = "cargo"

View File

@ -1,5 +1,5 @@
#TODO requires *at functions in fcntl.h
#TODO (willnode) push changes upstream
# TODO (willnode) push changes upstream
# TODO upgrade to latest v47
[source]
git = "https://github.com/willnode/wasmtime"
branch = "v36-redox"

View File

@ -1,5 +0,0 @@
#TODO fs-set-times crate error
[source]
git = "https://github.com/rylev/wepl"
[build]
template = "cargo"