-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: used per-
RUSTFLAGS
cargo target dirs in bonnie scripts (#265)
Changing `RUSTFLAGS` invalidates Cargo's cache. `bonnie check` and `bonnie test core` set `RUSTFLAGS`, so they would cause spurious rebuilds (particularly noticeable when using rust-analyzer). Use separate target directories to get around this, similar to what perseus-cli does (and use its naming scheme, although `target_wasm` is not really correct...). Tested by running `bonnie test`, then `bonnie check` and `bonnie test core`, making sure those last two do not cause rebuilds. This confirmed the separate `target_engine_clientdoc` is necessary: without it, alternating between `bonnie check` and `bonnie test core` rebuilds everything.
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
/target | ||
/target_engine | ||
/target_engine_clientdoc | ||
/target_wasm | ||
Cargo.lock | ||
pkg/ | ||
.tribble/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters