Skip to content

Commit

Permalink
remove remnants of rust runner
Browse files Browse the repository at this point in the history
  • Loading branch information
tombl committed Jan 18, 2025
1 parent c54b53a commit 8f2864a
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
j := `nproc`
cmdline := "no_hash_pointers"
cmdline := ""

build:
just make -C tools/wasm
Expand All @@ -12,21 +12,6 @@ run:
watchrun:
watchexec -r -w tools/wasm/dist --ignore-nothing --debounce=200ms just run

runrust:
cd tools/wasm-runner && cargo build --quiet --release
./tools/wasm-runner/target/release/linux_wasm_runner tools/wasm/vmlinux.wasm tools/wasm/sections.json
watchrunrust:
watchexec -r -w arch/wasm/vmlinux.wasm --ignore-nothing just runrust

debug:
cd tools/wasm-runner && cargo build --quiet
rust-lldb \
-o 'breakpoint set --file setup.c --name _start' \
-o 'breakpoint set --name wasm_get_dt --command "p __vmctx->set()"' \
-o 'process launch' \
-- \
./tools/wasm-runner/target/debug/linux_wasm_runner arch/wasm/vmlinux.wasm arch/wasm/sections.json --debug

serve:
miniserve tools/wasm/public --index index.html \
--header Cross-Origin-Opener-Policy:same-origin \
Expand Down

0 comments on commit 8f2864a

Please sign in to comment.