Skip to content

Commit

Permalink
Add comment to disable_debug_output in cc-test/build.rs
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
  • Loading branch information
NobodyXu committed Mar 17, 2024
1 parent 1ab8a9d commit 467bd8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-tools/cc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ fn run_action_if_forked() -> bool {
}

fn disable_debug_output() {
// That env would break tests for warning/debug output,
// and it is set in the CI, to make debugging CI failure easier.
std::env::remove_var("CC_ENABLE_DEBUG_OUTPUT");
}

Expand Down

0 comments on commit 467bd8c

Please sign in to comment.