mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
chore: update config
tests to use check
This commit is contained in:
parent
d89e73c171
commit
8507c1701d
@ -131,7 +131,7 @@ fn read_env_vars_for_config() {
|
|||||||
)
|
)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
p.cargo("build").env("CARGO_BUILD_JOBS", "100").run();
|
p.cargo("check").env("CARGO_BUILD_JOBS", "100").run();
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn write_config(config: &str) {
|
pub fn write_config(config: &str) {
|
||||||
@ -1471,7 +1471,7 @@ target-dir = ''
|
|||||||
fn cargo_target_empty_env() {
|
fn cargo_target_empty_env() {
|
||||||
let project = project().build();
|
let project = project().build();
|
||||||
|
|
||||||
project.cargo("build")
|
project.cargo("check")
|
||||||
.env("CARGO_TARGET_DIR", "")
|
.env("CARGO_TARGET_DIR", "")
|
||||||
.with_stderr("error: the target directory is set to an empty string in the `CARGO_TARGET_DIR` environment variable")
|
.with_stderr("error: the target directory is set to an empty string in the `CARGO_TARGET_DIR` environment variable")
|
||||||
.with_status(101)
|
.with_status(101)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user