mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +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();
|
||||
|
||||
p.cargo("build").env("CARGO_BUILD_JOBS", "100").run();
|
||||
p.cargo("check").env("CARGO_BUILD_JOBS", "100").run();
|
||||
}
|
||||
|
||||
pub fn write_config(config: &str) {
|
||||
@ -1471,7 +1471,7 @@ target-dir = ''
|
||||
fn cargo_target_empty_env() {
|
||||
let project = project().build();
|
||||
|
||||
project.cargo("build")
|
||||
project.cargo("check")
|
||||
.env("CARGO_TARGET_DIR", "")
|
||||
.with_stderr("error: the target directory is set to an empty string in the `CARGO_TARGET_DIR` environment variable")
|
||||
.with_status(101)
|
||||
|
Loading…
x
Reference in New Issue
Block a user