File tree Expand file tree Collapse file tree
src/hyperlight_wasm/src/sandbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 with :
2525 rust-toolchain : " 1.85.0"
2626
27- - name : Download Wasm Host (debug)
28- uses : actions/download-artifact@v4
29- with :
30- name : wasm-runtime-debug
31- path : ${{ github.workspace }}/src/hyperlight_wasm/redist/debug/
32-
33- - name : Download Wasm Host (release)
34- uses : actions/download-artifact@v4
35- with :
36- name : wasm-runtime-release
37- path : ${{ github.workspace }}/src/hyperlight_wasm/redist/release/
38-
3927 # github actions that run against PRs check out a ref to the PR merge branch
4028 # we need to switch / create a branch for cargo ws to run late
4129 - name : set-branch-for-PRs
Original file line number Diff line number Diff line change @@ -24,16 +24,12 @@ build target=default-target features="": (build-wasm-runtime target) (fmt-check)
2424mkdir-redist target = default-target :
2525 mkdir {{ mkdir-arg }} x64
2626 mkdir {{ mkdir-arg }} x64 / {{ target }}
27- mkdir {{ mkdir-arg }} src/ hyperlight_wasm/ redist
28- mkdir {{ mkdir-arg }} src/ hyperlight_wasm/ redist/ {{ target }}
2927
30- build-wasm-runtime target = default-target : (mkdir-redist target)
31- cd ./ src/ wasm_runtime && cargo build --verbose --profile={{ if target == " debug" {" dev" } else { target } }}
32- cp ./ src/ wasm_runtime/ target/ x86 _64 -unknown-none/ {{ target}} / wasm_runtime ./ x64 / {{ target}} / wasm_runtime
33- cp ./ src/ wasm_runtime/ target/ x86 _64 -unknown-none/ {{ target}} / wasm_runtime ./ src/ hyperlight_wasm/ redist/ {{ target}} / wasm_runtime
28+ build-wasm-runtime target = default-target :
29+ cd ./ src/ wasm_runtime && cargo build --verbose --profile={{ if target == " debug" {" dev" } else { target } }} && rm -R target
3430
3531build-wasm-examples target = default-target :
36- {{ build-wasm-examples-command}} {{ target}}
32+ {{ build-wasm-examples-command }} {{ target}}
3733
3834build-rust-wasm-examples target = default-target : (mkdir-redist target)
3935 rustup target add wasm32 -unknown-unknown
Original file line number Diff line number Diff line change @@ -221,11 +221,7 @@ mod tests {
221221 . expect ( "Failed to get CARGO_MANIFEST_DIR or RUST_DIR_FOR_DEBUGGING_TESTS env var" )
222222 } ) ;
223223
224- let relative_path = if filename == "wasm_runtime" {
225- "redist"
226- } else {
227- "../../x64"
228- } ;
224+ let relative_path = "../../x64" ;
229225
230226 let filename_path = Path :: new ( & proj_dir)
231227 . join ( relative_path)
You can’t perform that action at this time.
0 commit comments