Skip to content

Commit f416ef0

Browse files
committed
Remove --target bail
1 parent 14e8794 commit f416ef0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/cargo/core/compiler/build_config.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ impl BuildConfig {
8484
anyhow::bail!("jobs may not be 0");
8585
}
8686

87-
if config.cli_unstable().build_std.is_some() && requested_kinds[0].is_host() {
88-
// TODO: This should eventually be fixed.
89-
anyhow::bail!("-Zbuild-std requires --target");
90-
}
91-
9287
Ok(BuildConfig {
9388
requested_kinds,
9489
jobs,

0 commit comments

Comments
 (0)