Skip to content

Conversation

@petrhosek
Copy link
Contributor

When the RUSTFLAGS_STAGE_{1,2} is not set, including a space means
the string will always be non-empty and RUSTFLAGS will be always be
reset which breaks other ways of setting these such as through config
in CARGO_HOME.

When the RUSTFLAGS_STAGE_{1,2} is not set, including a space means
the string will always be non-empty and RUSTFLAGS will be always be
reset which breaks other ways of setting these such as through config
in CARGO_HOME.
@cramertj
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 31, 2018

📌 Commit c6bae16 has been approved by cramertj

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Mar 31, 2018
@bors
Copy link
Collaborator

bors commented Apr 1, 2018

⌛ Testing commit c6bae16 with merge 804d8c8...

bors added a commit that referenced this pull request Apr 1, 2018
Only include space in RUSTFLAGS extra flags if not empty

When the RUSTFLAGS_STAGE_{1,2} is not set, including a space means
the string will always be non-empty and RUSTFLAGS will be always be
reset which breaks other ways of setting these such as through config
in CARGO_HOME.
@bors
Copy link
Collaborator

bors commented Apr 1, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: cramertj
Pushing 804d8c8 to master...

@bors bors merged commit c6bae16 into rust-lang:master Apr 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants