mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-02 09:38:42 +08:00
Merge branch 'wasm-recipe-updates' into 'master'
adjust some wasm recipes after testing See merge request redox-os/redox!2207
This commit is contained in:
commit
f9e7cff363
@ -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"
|
||||
|
||||
@ -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"
|
||||
"""
|
||||
|
||||
11
recipes/wip/wasm/spin-sdk/recipe.toml
Normal file
11
recipes/wip/wasm/spin-sdk/recipe.toml
Normal 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
|
||||
"""
|
||||
@ -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]
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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]
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#TODO compiled but not tested
|
||||
# TODO compiled and tested, can promote
|
||||
[source]
|
||||
git = "https://github.com/bytecodealliance/wasm-tools"
|
||||
[build]
|
||||
|
||||
@ -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]
|
||||
|
||||
@ -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]
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
#TODO outdated redox_syscall crate
|
||||
[source]
|
||||
git = "https://github.com/kateinoigakukun/wasminspect"
|
||||
[build]
|
||||
template = "cargo"
|
||||
@ -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"
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
#TODO fs-set-times crate error
|
||||
[source]
|
||||
git = "https://github.com/rylev/wepl"
|
||||
[build]
|
||||
template = "cargo"
|
||||
Loading…
Reference in New Issue
Block a user