Skip to content

Commit 397e5bb

Browse files
committed
add FIXME to replace this env var in the future
1 parent c905fd2 commit 397e5bb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/bootstrap/sanity.rs

+6
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ than building it.
156156
}
157157

158158
// Some environments don't want or need these tools, such as when testing Miri.
159+
// FIXME: it would be better to refactor this code to split necessary setup from pure sanity
160+
// checks, and have a regular flag for skipping the latter. Also see
161+
// <https://github.com/rust-lang/rust/pull/103569#discussion_r1008741742>.
159162
if env::var_os("BOOTSTRAP_SKIP_TARGET_SANITY").is_some() {
160163
continue;
161164
}
@@ -218,6 +221,9 @@ than building it.
218221
}
219222

220223
// Some environments don't want or need these tools, such as when testing Miri.
224+
// FIXME: it would be better to refactor this code to split necessary setup from pure sanity
225+
// checks, and have a regular flag for skipping the latter. Also see
226+
// <https://github.com/rust-lang/rust/pull/103569#discussion_r1008741742>.
221227
if env::var_os("BOOTSTRAP_SKIP_TARGET_SANITY").is_some() {
222228
continue;
223229
}

0 commit comments

Comments
 (0)