@@ -11,7 +11,6 @@ root := justfile_directory()
1111default-target := " debug"
1212simpleguest_source := " src/tests/rust_guests/simpleguest/target/x86_64-unknown-none"
1313dummyguest_source := " src/tests/rust_guests/dummyguest/target/x86_64-unknown-none"
14- callbackguest_source := " src/tests/rust_guests/callbackguest/target/x86_64-unknown-none"
1514witguest_source := " src/tests/rust_guests/witguest/target/x86_64-unknown-none"
1615rust_guests_bin_dir := " src/tests/rust_guests/bin"
1716
@@ -39,13 +38,11 @@ witguest-wit:
3938 cd src/ tests/ rust_guests/ witguest && wasm-tools component wit guest.wit -w -o interface.wasm
4039
4140build-rust-guests target = default-target features = " ": (witguest-wit )
42- cd src/ tests/ rust_guests/ callbackguest && cargo build {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }}
4341 cd src/ tests/ rust_guests/ simpleguest && cargo build {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }}
4442 cd src/ tests/ rust_guests/ dummyguest && cargo build {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }}
4543 cd src/ tests/ rust_guests/ witguest && cargo build {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }}
4644
4745@ move-rust-guests target = default-target :
48- cp {{ callbackguest_source }} / {{ target }} / callbackguest* {{ rust_guests_bin_dir }} / {{ target }} /
4946 cp {{ simpleguest_source }} / {{ target }} / simpleguest* {{ rust_guests_bin_dir }} / {{ target }} /
5047 cp {{ dummyguest_source }} / {{ target }} / dummyguest* {{ rust_guests_bin_dir }} / {{ target }} /
5148 cp {{ witguest_source }} / {{ target }} / witguest* {{ rust_guests_bin_dir }} / {{ target }} /
@@ -59,7 +56,6 @@ clean-rust:
5956 cargo clean
6057 cd src/ tests/ rust_guests/ simpleguest && cargo clean
6158 cd src/ tests/ rust_guests/ dummyguest && cargo clean
62- cd src/ tests/ rust_guests/ callbackguest && cargo clean
6359 {{ if os () == " windows" { " cd src/tests/rust_guests/witguest -ErrorAction SilentlyContinue; cargo clean" } else { " [ -d src/tests/rust_guests/witguest ] && cd src/tests/rust_guests/witguest && cargo clean || true" } }}
6460 {{ if os () == " windows" { " Remove-Item src/tests/rust_guests/witguest/interface.wasm -Force -ErrorAction SilentlyContinue" } else { " rm -f src/tests/rust_guests/witguest/interface.wasm" } }}
6561 git clean -fdx src/ tests/ c_guests/ bin src/ tests/ rust_guests/ bin
@@ -229,7 +225,6 @@ check:
229225
230226fmt-check :
231227 cargo + nightly fmt --all -- --check
232- cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ callbackguest/ Cargo.toml -- --check
233228 cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ simpleguest/ Cargo.toml -- --check
234229 cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ dummyguest/ Cargo.toml -- --check
235230 cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ witguest/ Cargo.toml -- --check
@@ -240,7 +235,6 @@ check-license-headers:
240235
241236fmt-apply :
242237 cargo + nightly fmt --all
243- cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ callbackguest/ Cargo.toml
244238 cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ simpleguest/ Cargo.toml
245239 cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ dummyguest/ Cargo.toml
246240 cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ witguest/ Cargo.toml
@@ -251,7 +245,6 @@ clippy target=default-target: (witguest-wit)
251245
252246clippy-guests target = default-target : (witguest-wit )
253247 cd src/ tests/ rust_guests/ simpleguest && cargo clippy --profile={{ if target == " debug" { " dev" } else { target } }} -- -D warnings
254- cd src/ tests/ rust_guests/ callbackguest && cargo clippy --profile={{ if target == " debug" { " dev" } else { target } }} -- -D warnings
255248 cd src/ tests/ rust_guests/ witguest && cargo clippy --profile={{ if target == " debug" { " dev" } else { target } }} -- -D warnings
256249
257250clippy-apply-fix-unix :
0 commit comments