-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #14701 - linyihai:trace-env-table, r=weihanglo
Fix: trace `config` `[env]` table in dep-info. ### What does this PR try to resolve? The `env` defined in `config.toml` or `--config env` are stripped before recording in the dep-info file. The absence of the env table doesn't rebuild when env changed By tracing the `env` table into the `dep-info` file, If the envs changed then the rebuild can be triggered. Fixes #13280 ### How should we test and review this PR? One commit add the test, the latter commit update the test through the fixes. ### Additional information The PR only fixed the `env` table changes can't trigger a rebuild, other `CARGO-like` envs doesn't take into account.
- Loading branch information
Showing
4 changed files
with
226 additions
and
40 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
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
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
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