File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,12 +28,11 @@ guest-build-wasm: ensure-tools
2828
2929guest-compile-wit : ensure-tools
3030 wasm-tools component wit {{ repo-root}} / src/ wasm_sandbox/ wit/ hyperlight-sandbox.wit -w -o {{ repo-root}} / src/ wasm_sandbox/ wit/ sandbox-world.wasm
31- just _invalidate-wit-caches
3231
3332# Invalidate cargo caches that embed the WIT signature.
3433# Without this, cargo won't detect that sandbox-world.wasm changed
3534# and SDKs will fail at runtime with "vector parameter missing length".
36- _ invalidate -wit-caches:
35+ invalidate -wit-caches:
3736 - {{ rmrf}} {{ repo-root}} / target/ hyperlight-wasm-runtime
3837 - {{ rmrf}} {{ repo-root}} / target/ hyperlight-js-runtime
3938 - {{ rmrf}} {{ repo-root}} / target/ debug/ build/ hyperlight-wasm-*
@@ -54,7 +53,7 @@ guest-build-aot target=default-target: guest-build-wasm ensure-tools
5453 hyperlight-wasm-aot compile --component \
5554 {{ repo-root}} / src/ wasm_sandbox/ guests/ python/ python-sandbox.wasm {{ repo-root}} / src/ wasm_sandbox/ guests/ python/ python-sandbox.aot
5655
57- guest-build target = default-target : (guest-build-wasm ) (guest-compile-wit ) (guest-build-aot target)
56+ guest-build target = default-target : (guest-build-wasm ) (guest-compile-wit ) invalidate-wit-caches (guest-build-aot target)
5857
5958js-guest-build-wasm : (js-guest-install )
6059 cd {{ repo-root}} / src/ wasm_sandbox/ guests/ javascript && npm run build
You can’t perform that action at this time.
0 commit comments