Skip to content

Only include space in RUSTFLAGS extra flags if not empty #49530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2018

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