Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiNfjrw2edja7LiRLB
This commit is contained in:
5 files changed
+223
-25
No files matched your search
@@ -12,6 +12,12 @@ CAPI="$ROOT/.tools/wasmtime-c-api"
|
||||
command -v moon >/dev/null || { echo "error: moon not found" >&2; exit 1; }
|
||||
export C_INCLUDE_PATH="$CAPI/include${C_INCLUDE_PATH:+:$C_INCLUDE_PATH}"
|
||||
export LIBRARY_PATH="$CAPI/lib${LIBRARY_PATH:+:$LIBRARY_PATH}"
|
||||
# libseat (and its headers) from the pixi env when there is one (see pixi.toml).
|
||||
PIXI="$ROOT/.pixi/envs/default"
|
||||
if [ -d "$PIXI/lib" ]; then
|
||||
export C_INCLUDE_PATH="$C_INCLUDE_PATH:$PIXI/include"
|
||||
export LIBRARY_PATH="$LIBRARY_PATH:$PIXI/lib"
|
||||
fi
|
||||
moon build --target native --release --warn-list -a wasmhost/bin
|
||||
mkdir -p build
|
||||
cp _build/native/release/build/wasmhost/bin/bin.exe build/wasmhost
|
||||
|
||||
Reference in new issue
Block a user