Skip to content
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

Rollup of 8 pull requests #25827

Merged
merged 13 commits into from
May 27, 2015
Merged

Rollup of 8 pull requests #25827

merged 13 commits into from
May 27, 2015

Conversation

Nick Hamann and others added 7 commits May 22, 2015 19:32
Currently, there are two conditional blocks that exist to check for "clang or gcc"

On line 866:

```
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
then
    err "either clang or gcc is required"
fi
```
and on line 1019:

```
if [ -z "$CC" -a -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
then
    err "either clang or gcc is required"
fi
```

Given the order of the clauses, this results in the "either clang or gcc is required" error from the earlier block, (even) when CC is set. 

The expected behaviour is to honour user-flags, in this case CC.

Aside from removing all hand-holdy compiler checks in favour of actual compiler *feature* checks, this change removes the redundant former block in favour of the latter block, which appears designed to allow the expected behaviour.
Estimating August as the release date for 1.2.0.
rustc -C target-cpu=help is no longer supported. Recommend the
llc tool intead like 'rustc --help'.
@rust-highfive
Copy link
Collaborator

r? @Aatch

(rust_highfive has picked a reviewer for you, use r? to override)

@Manishearth
Copy link
Member Author

@bors: r+ p-10

@bors
Copy link
Contributor

bors commented May 27, 2015

📌 Commit 644046f has been approved by Manishearth

@Manishearth
Copy link
Member Author

@bors: r+ p=20

@bors
Copy link
Contributor

bors commented May 27, 2015

📌 Commit b6fbabb has been approved by Manishearth

@bors
Copy link
Contributor

bors commented May 27, 2015

⌛ Testing commit b6fbabb with merge 02453f0...

@bors
Copy link
Contributor

bors commented May 27, 2015

💔 Test failed - auto-linux-64-x-android-t

Currently, there are two conditional blocks that exist to check for "clang or gcc"

On line 866:

```
if [ -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
then
    err "either clang or gcc is required"
fi
```
and on line 1019:

```
if [ -z "$CC" -a -z "$CFG_ENABLE_CLANG" -a -z "$CFG_GCC" ]
then
    err "either clang or gcc is required"
fi
```

Given the order of the clauses, this results in the "either clang or gcc is required" error from the earlier block, (even) when CC is set.

The expected behaviour is to honour user-flags, in this case CC.

Aside from removing all hand-holdy compiler checks in favour of actual compiler *feature* checks, this change removes the redundant former block in favour of the latter block, which appears designed to allow the expected behaviour.
Quick update to fix two manpage issues I noticed in rust-lang#25689.
@Manishearth
Copy link
Member Author

@bors: r+ force

@bors
Copy link
Contributor

bors commented May 27, 2015

📌 Commit 6090d15 has been approved by Manishearth

@bors
Copy link
Contributor

bors commented May 27, 2015

⌛ Testing commit 6090d15 with merge 47f9e52...

bors added a commit that referenced this pull request May 27, 2015
@bors bors merged commit 6090d15 into rust-lang:master May 27, 2015
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants