Skip to content

Commit

Permalink
Don't set MAKEFLAGS for build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jul 12, 2017
1 parent 74e5421 commit f429be4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ git2 = "0.6"
git2-curl = "0.7"
glob = "0.2"
hex = "0.2"
jobserver = "0.1.4"
jobserver = "0.1.6"
libc = "0.2"
libgit2-sys = "0.6"
log = "0.3"
Expand Down
1 change: 1 addition & 0 deletions tests/cargotest/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ fn _process(t: &OsStr) -> cargo::util::ProcessBuilder {
.env_remove("EMAIL")
.env_remove("MFLAGS")
.env_remove("MAKEFLAGS")
.env_remove("CARGO_MAKEFLAGS")
.env_remove("GIT_AUTHOR_NAME")
.env_remove("GIT_AUTHOR_EMAIL")
.env_remove("GIT_COMMITTER_NAME")
Expand Down
2 changes: 1 addition & 1 deletion tests/jobserver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn jobserver_exists() {
use std::env;
fn main() {
let var = env::var("MAKEFLAGS").unwrap();
let var = env::var("CARGO_MAKEFLAGS").unwrap();
let arg = var.split(' ')
.find(|p| p.starts_with("--jobserver"))
.unwrap();
Expand Down

0 comments on commit f429be4

Please sign in to comment.