Skip to content

Commit f7694b8

Browse files
committed
skip stage 0 target check if BOOTSTRAP_SKIP_TARGET_SANITY is set
Signed-off-by: onur-ozkan <[email protected]>
1 parent 3f121b9 commit f7694b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bootstrap/src/core/sanity.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,7 @@ than building it.
234234
}
235235

236236
// Ignore fake targets that are only used for unit tests in bootstrap.
237-
#[cfg(not(feature = "bootstrap-self-test"))]
238-
{
237+
if cfg!(not(feature = "bootstrap-self-test")) && !skip_target_sanity {
239238
let mut has_target = false;
240239
let target_str = target.to_string();
241240

0 commit comments

Comments
 (0)