Skip to content

Commit 7c932a4

Browse files
committed
remove duplicate check
1 parent 2a75b44 commit 7c932a4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/cargo/core/compiler/build_config.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ impl BuildConfig {
6363
) -> CargoResult<BuildConfig> {
6464
let cfg = config.build_config()?;
6565
let requested_kinds = CompileKind::from_requested_targets(config, requested_targets)?;
66-
if jobs == Some(0) {
67-
anyhow::bail!("jobs may not be 0")
68-
}
6966
if jobs.is_some() && config.jobserver_from_env().is_some() {
7067
config.shell().warn(
7168
"a `-j` argument was passed to Cargo but Cargo is \

0 commit comments

Comments
 (0)