@@ -11,7 +11,6 @@ root := justfile_directory()
11
11
default-target := " debug"
12
12
simpleguest_source := " src/tests/rust_guests/simpleguest/target/x86_64-unknown-none"
13
13
dummyguest_source := " src/tests/rust_guests/dummyguest/target/x86_64-unknown-none"
14
- callbackguest_source := " src/tests/rust_guests/callbackguest/target/x86_64-unknown-none"
15
14
witguest_source := " src/tests/rust_guests/witguest/target/x86_64-unknown-none"
16
15
rust_guests_bin_dir := " src/tests/rust_guests/bin"
17
16
@@ -39,13 +38,11 @@ witguest-wit:
39
38
cd src/ tests/ rust_guests/ witguest && wasm-tools component wit guest.wit -w -o interface.wasm
40
39
41
40
build-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 } }}
43
41
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 } }}
44
42
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 } }}
45
43
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 } }}
46
44
47
45
@ move-rust-guests target = default-target :
48
- cp {{ callbackguest_source }} / {{ target }} / callbackguest* {{ rust_guests_bin_dir }} / {{ target }} /
49
46
cp {{ simpleguest_source }} / {{ target }} / simpleguest* {{ rust_guests_bin_dir }} / {{ target }} /
50
47
cp {{ dummyguest_source }} / {{ target }} / dummyguest* {{ rust_guests_bin_dir }} / {{ target }} /
51
48
cp {{ witguest_source }} / {{ target }} / witguest* {{ rust_guests_bin_dir }} / {{ target }} /
@@ -59,7 +56,6 @@ clean-rust:
59
56
cargo clean
60
57
cd src/ tests/ rust_guests/ simpleguest && cargo clean
61
58
cd src/ tests/ rust_guests/ dummyguest && cargo clean
62
- cd src/ tests/ rust_guests/ callbackguest && cargo clean
63
59
{{ 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" } }}
64
60
{{ 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" } }}
65
61
git clean -fdx src/ tests/ c_guests/ bin src/ tests/ rust_guests/ bin
@@ -229,7 +225,6 @@ check:
229
225
230
226
fmt-check :
231
227
cargo + nightly fmt --all -- --check
232
- cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ callbackguest/ Cargo.toml -- --check
233
228
cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ simpleguest/ Cargo.toml -- --check
234
229
cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ dummyguest/ Cargo.toml -- --check
235
230
cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ witguest/ Cargo.toml -- --check
@@ -240,7 +235,6 @@ check-license-headers:
240
235
241
236
fmt-apply :
242
237
cargo + nightly fmt --all
243
- cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ callbackguest/ Cargo.toml
244
238
cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ simpleguest/ Cargo.toml
245
239
cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ dummyguest/ Cargo.toml
246
240
cargo + nightly fmt --manifest-path src/ tests/ rust_guests/ witguest/ Cargo.toml
@@ -251,7 +245,6 @@ clippy target=default-target: (witguest-wit)
251
245
252
246
clippy-guests target = default-target : (witguest-wit )
253
247
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
255
248
cd src/ tests/ rust_guests/ witguest && cargo clippy --profile={{ if target == " debug" { " dev" } else { target } }} -- -D warnings
256
249
257
250
clippy-apply-fix-unix :
0 commit comments