Skip to content

Commit bfee18f

Browse files
committed
Auto merge of #3465 - alexcrichton:remove-cargo-check, r=brson
Remove the `cargo check` subcommand from Rust 1.15 This commit removes the `cargo check` subcommand from the `rust-1.15.0` branch of Cargo. The rationale is explained in rust-lang/rust#38666, but the tl;dr; is that it's relatively buggy and not ready to ride the trains to stable. This commit takes as little an invasive as approach as possible by simply removing the `cargo check` command and associated tests. The backend remains with support for `cargo check`, but we shouldn't be exercising it in practice.
2 parents ed0255e + c9e7ec7 commit bfee18f

File tree

3 files changed

+0
-326
lines changed

3 files changed

+0
-326
lines changed

src/bin/cargo.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ Options:
5151
5252
Some common cargo commands are (see all commands with --list):
5353
build Compile the current project
54-
check Analyze the current project and report errors, but don't build object files
5554
clean Remove the target directory
5655
doc Build this project's and its dependencies' documentation
5756
new Create a new cargo project
@@ -76,7 +75,6 @@ macro_rules! each_subcommand{
7675
($mac:ident) => {
7776
$mac!(bench);
7877
$mac!(build);
79-
$mac!(check);
8078
$mac!(clean);
8179
$mac!(doc);
8280
$mac!(fetch);

src/bin/check.rs

Lines changed: 0 additions & 103 deletions
This file was deleted.

tests/check.rs

Lines changed: 0 additions & 221 deletions
This file was deleted.

0 commit comments

Comments
 (0)