Commit 50668b0
committed
fix: use rustup for checking installed wasm32 target in tests
The previous fix (04a8b11) incorrectly used `rustc --print target-list`
which shows ALL SUPPORTED targets (hundreds), not INSTALLED targets.
This caused false positives: tests thought Rust was available, but
server correctly rejected compilation when wasm32 target wasn't installed.
Now using `rustup target list --installed` to match server's detection
logic in rust.go:52.
Fixes:
- TestE2E_ScriptingAPI_ResponseModification
- TestE2E_ScriptingAPI_BothTriggers
- TestE2E_ScriptValidation/Valid_Rust1 parent 04a8b11 commit 50668b0
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
624 | | - | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
625 | 631 | | |
626 | 632 | | |
627 | 633 | | |
| |||
0 commit comments