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 7 pull requests #48921

Closed
wants to merge 21 commits into from
Closed

Rollup of 7 pull requests #48921

wants to merge 21 commits into from

Conversation

Phlosioneer and others added 21 commits March 6, 2018 23:17
Wrapping<T> now implements:

count_ones, count_zeros, leading_zeros,
trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be,
from_le, to_be, to_le, and pow

where T is:

u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize.

Docs were written for all these methods, as well as examples. The
examples mirror the ones on u8, u16, etc... for consistency.

Closes rust-lang#32463
This upgrades the OSX builders to the `xcode9.3-moar` image which has 3 cores as
opposed to the 2 that our builders currently have. Should help make those OSX
builds a bit speedier!
Signed-off-by: Marc-Antoine Perennou <[email protected]>
All cases where it is used can be replaced by substituing run.host for
run.builder.build.build; that is its only effect. As such, it is
removable.
All uses are replaced with not accessing run.target/run.host, and
instead directly using run.builder.build.build.
Previously it was set to true when we didn't run HOSTS steps.
rustbuild: pass datadir to rust-installer

This fixes zsh completion install when $datadir != $prefix/share
…tep-1, r=alexcrichton

Remove ONLY_BUILD and ONLY_BUILD_TARGETS

Primarily removes `ONLY_BUILD` and `ONLY_BUILD_TARGETS`. These aren't actually needed in the new system since we can simply not take the relevant `host` and `target` fields if we don't want to run with them in `Step::make_run`.

This PR also includes a few other commits which generally clean up the state of rustbuild, but are not related to the `Step` changes.
…-Simulacrum

travis: Upgrade OSX builders

This upgrades the OSX builders to the `xcode9.3-moar` image which has 3 cores as
opposed to the 2 that our builders currently have. Should help make those OSX
builds a bit speedier!
…wrapping, r=dtolnay

Implement Integer methods for Wrapping

Wrapping<T> now implements:

count_ones, count_zeros, leading_zeros,
trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be,
from_le, to_be, to_le, and pow

where T is:

u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize.

Docs were written for all these methods, as well as examples. The
examples mirror the ones on u8, u16, etc... for consistency.

Closes rust-lang#32463
tidy: Add a check for stray `.stderr` and `.stdout` files in UI test directories
Some minor CI changes

1. On macOS, ensure crash log printing won't error, and only real crash logs are printed. This may avoid the `find` process exiting abnormally and truncated the Travis log (I guess).

2. Print `/proc/cpuinfo` and `/proc/meminfo`. To determine if there's any variation in the reported clock rate between jobs.
@rust-highfive
Copy link
Collaborator

r? @BurntSushi

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

@kennytm
Copy link
Member Author

kennytm commented Mar 10, 2018

@bors r+ p=7

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 10, 2018
@bors
Copy link
Contributor

bors commented Mar 10, 2018

📌 Commit 5dc418a has been approved by kennytm

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 10, 2018
@bors
Copy link
Contributor

bors commented Mar 10, 2018

⌛ Testing commit 5dc418a with merge 357dafc040aab6d37a716821b3b51ec16112517b...

@bors
Copy link
Contributor

bors commented Mar 10, 2018

💔 Test failed - status-travis

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 10, 2018
@kennytm
Copy link
Member Author

kennytm commented Mar 11, 2018

Legit, will update later.


[01:26:30] ---- [rustdoc] rustdoc/synthetic_auto/no-redundancy.rs stdout ----

[01:26:30] 	

[01:26:30] error: htmldocck failed!

[01:26:30] status: exit code: 1

[01:26:30] command: "/usr/local/opt/python/bin/python2.7" "/Users/travis/build/rust-lang/rust/src/etc/htmldocck.py" "/Users/travis/build/rust-lang/rust/build/i686-apple-darwin/test/rustdoc/synthetic_auto/no-redundancy.stage2-i686-apple-darwin" "/Users/travis/build/rust-lang/rust/src/test/rustdoc/synthetic_auto/no-redundancy.rs"

[01:26:30] stdout:

[01:26:30] ------------------------------------------

[01:26:30] 

[01:26:30] ------------------------------------------

[01:26:30] stderr:

[01:26:30] ------------------------------------------

[01:26:30] 22: @has check failed

[01:26:30] 	`XPATH PATTERN` did not match

[01:26:30] 	// @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]/*/code' "impl<T> Send for Outer<T> where T: Copy + Send"

[01:26:30] 

[01:26:30] Encountered 1 errors

[01:26:30] 

[01:26:30] ------------------------------------------

@kennytm
Copy link
Member Author

kennytm commented Mar 11, 2018

I have no idea what is going on 🤷

@kennytm kennytm closed this Mar 11, 2018
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 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 S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.