mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-09 21:18:41 +08:00
adjust some wasm recipes after testing
This commit is contained in:
parent
1b80fb4b48
commit
83b3db4de4
@ -1,4 +1,4 @@
|
|||||||
#TODO compiled but not tested
|
# TODO compiled and tested, can promote
|
||||||
# build instructions: https://github.com/WebAssembly/binaryen#building
|
# build instructions: https://github.com/WebAssembly/binaryen#building
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/WebAssembly/binaryen"
|
git = "https://github.com/WebAssembly/binaryen"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#TODO not compiled or tested
|
# TODO compiled and tested, can promote
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/friendlymatthew/gabagool"
|
git = "https://github.com/friendlymatthew/gabagool"
|
||||||
shallow_clone = true
|
shallow_clone = true
|
||||||
@ -7,7 +7,4 @@ template = "custom"
|
|||||||
script = """
|
script = """
|
||||||
DYNAMIC_INIT
|
DYNAMIC_INIT
|
||||||
cookbook_cargo_packages gabagool
|
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]
|
[source]
|
||||||
git = "https://github.com/trunk-rs/trunk"
|
git = "https://github.com/trunk-rs/trunk"
|
||||||
[build]
|
[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
|
# build instructions: https://github.com/WebAssembly/wabt#building-using-cmake-directly-linux-and-macos
|
||||||
[source]
|
[source]
|
||||||
tar = "https://github.com/WebAssembly/wabt/releases/download/1.0.39/wabt-1.0.39.tar.xz"
|
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]
|
[source]
|
||||||
git = "https://github.com/rustwasm/wasm-pack"
|
git = "https://github.com/rustwasm/wasm-pack"
|
||||||
[build]
|
[build]
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#TODO compiled but not tested
|
# TODO compiled and tested, can promote
|
||||||
[source]
|
[source]
|
||||||
git = "https://github.com/bytecodealliance/wasm-tools"
|
git = "https://github.com/bytecodealliance/wasm-tools"
|
||||||
[build]
|
[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]
|
[source]
|
||||||
git = "https://github.com/wasmerio/wasmer"
|
git = "https://github.com/wasmerio/wasmer"
|
||||||
[build]
|
[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]
|
[source]
|
||||||
git = "https://github.com/wasmi-labs/wasmi"
|
git = "https://github.com/wasmi-labs/wasmi"
|
||||||
[build]
|
[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]
|
[source]
|
||||||
git = "https://github.com/willnode/wasmtime"
|
git = "https://github.com/willnode/wasmtime"
|
||||||
branch = "v36-redox"
|
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