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 9 pull requests #48526

Closed
wants to merge 59 commits into from
Closed

Conversation

bluss and others added 30 commits January 17, 2018 22:19
FusedIterator is a marker trait that promises that the implementing
iterator continues to return `None` from `.next()` once it has returned
`None` once (and/or `.next_back()`, if implemented).

The effects of FusedIterator are already widely available through
`.fuse()`, but with stable `FusedIterator`, stable Rust users can
implement this trait for their iterators when appropriate.
Addresses rust-lang#40363, rust-lang#45720, rust-lang#24483, rust-lang#23986 and so on

* Expands and refactors collapseDocs and toggleAllDocs
* Adds [-] toggle to all impls (including inherent impl)
* Makes it hiding though main css file, not though element style

May need to be addressed:

* "[-]" and anchor link copier are overlaid a bit
* Inherent methods are also hidden by the global [-] toggle.
* Auto-collapsing "Iterator" and so on by default is not implemented yet
* Tested only shallowly and only in Chromiuim
* No tests. Are there tests for css/js part here?
* The new implementation may be a bit slower.
Provide wait_until and wait_timeout_until helper wrappers that aren't
susceptible to spurious wake.
Make condition closure accept mut T&.
Clarify spurious wakeup documentation.
Cleanup doc example code.
Switch feature guards to unstable
Add missing semicolon
Remove mut that's no longer necessary
Also fix some code snippets in documentation.
@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 Feb 25, 2018
@bors
Copy link
Contributor

bors commented Feb 25, 2018

⌛ Testing commit 7d07940b10ac15365a4069a40919da1b870233a6 with merge 9fee4c86a3832cb41890286bf3808a1e56f3ef8b...

…umeGomez,QuietMisdreavus

rustdoc: Foldable impl blocks

Addresses rust-lang#40363, rust-lang#45720, rust-lang#24483, rust-lang#23986 and so on

* Expands and refactors collapseDocs and toggleAllDocs
* Adds [-] toggle to all impls (including inherent impl)
* Makes it hiding though main css file, not though element inline style

May need to be addressed:

* "[-]" and anchor link copier are overlaid a bit
* Inherent methods are also hidden by the global [-] toggle.
* Auto-collapsing "Iterator" and so on by default is not implemented yet
* Tested only shallowly and only in Chromiuim
* No tests. Are there tests for css/js part here?
* The new implementation may be a bit slower.

What next steps are need to be done before the integration?
Add Condvar APIs not susceptible to spurious wake

Provide wait_until and wait_timeout_until helper wrappers that aren't susceptible to spurious wake.
Additionally wait_timeout_until makes it possible to more easily write code that waits for a fixed amount of time in face of spurious wakes since otherwise each user would have to do math on adjusting the duration.

Implements rust-lang#47960.
…kennytm

change opt-level 2 to 3 in bootstrap rustflags

Since llvm got updated, maybe this also resolved unexpected crashes.
See discussion here: rust-lang@409d40f

Is it possible to give this a test-run?
//cc @Mark-Simulacrum
Move macro-at-most-once-rep-ambig test to ui test

I had written this test for the feature. Now moving to ui test.
…on, r=sfackler

Add tests ensuring zero-Duration timeouts result in errors; fix Redox issues.

Part of rust-lang#48311
Rename rdrnd target feature to rdrand

Plus minor cleanup.

Related stdsimd [issue](rust-lang/stdarch#325).
Anonymize some line numbers in UI test output

New unstable flag `-Z ui-testing` is introduced. This flag changes diagnostic output of the compiler *in some way* making it more suitable for UI testing (this is intentionally vague).
At the moment this flag anonymizes line numbers at line starts thus solving the largest issue with UI test diffs. If diffs continue to be too noisy, some other tweaks could be applied (e.g. anonymizing lines/columns in `--> $DIR/file.rs:line:column`), but this needs some time and experience (we shouldn't diverge too much from the actual output in general).

If comment `// disable-ui-testing-normalization` is added to an UI test, then `-Z ui-testing` is not passed.

Closes rust-lang#46643
…ichton

Add support for powerpc-unknown-linux-gnuspe

This PR adds support for the embedded PowerPC variant "e500". On Linux, this architecture is usually called "powerpcspe", it is a 32-bit PowerPC architecture. The main difference between normal 32-bit PowerPC and PowerPCSPE is the lack of Altivec instructions and the additional SPE instruction set.

This architecture is supported in Debian through an unofficial port.
@Manishearth
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Feb 25, 2018

📌 Commit ee8fc49 has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Feb 25, 2018

⌛ Testing commit ee8fc49 with merge 7b6189e16439a5c37c46992d44f363d0c2f63b3b...

@bors
Copy link
Contributor

bors commented Feb 25, 2018

💔 Test failed - status-appveyor

@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 Feb 25, 2018
@kennytm
Copy link
Member

kennytm commented Feb 25, 2018

Windows access violation (segfault) when compiling stage1-rustc for x86_64-pc-windows-msvc. Perhaps take out #48204.

[00:53:20] error: Could not compile `rustc`.
[00:53:20] 
[00:53:20] Caused by:
[00:53:20]   process didn't exit successfully: `C:\projects\rust\build\bootstrap/debug/rustc --crate-name rustc librustc\lib.rs --color always --error-format json --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C metadata=9b248c8895e0ea1a -C extra-filename=-9b248c8895e0ea1a --out-dir C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps -L dependency=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\release\deps --extern bitflags=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\libbitflags-8145327307a3f2e4.rlib --extern byteorder=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\libbyteorder-7da114010d9126c9.rlib --extern serialize=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\serialize-87a69c20cc2d6484.dll --extern serialize=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\libserialize-87a69c20cc2d6484.rlib --extern lazy_static=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\liblazy_static-08739ed045b40ff2.rlib --extern proc_macro=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\proc_macro-748fb0a125615127.dll --extern jobserver=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\libjobserver-a384027851c95a02.rlib --extern arena=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\arena-1b40af889e5cd09c.dll --extern rustc_back=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\rustc_back-f254773256bad9a7.dll --extern rustc_data_structures=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\rustc_data_structures-201d335b154e2cef.dll --extern rustc_apfloat=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\librustc_apfloat-577ec9d05da2eaaa.rlib --extern syntax=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\syntax-ad7cb2a9c46603e0.dll --extern fmt_macros=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\fmt_macros-81d46ead05392bad.dll --extern flate2=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\libflate2-bbfe02b6963a77aa.rlib --extern rustc_const_math=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\rustc_const_math-7e4e3534e8a3d94c.dll --extern backtrace=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\libbacktrace-d892adb2afc07dda.rlib --extern rustc_errors=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\rustc_errors-bc1d967ce5e14600.dll --extern log=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\liblog-4a9882c1b77e771c.rlib --extern graphviz=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\graphviz-81c48ff50b93b23e.dll --extern syntax_pos=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\deps\syntax_pos-37d4fdff67ced1d9.dll -L native=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\lib\amd64 -L native=C:\projects\rust\build\x86_64-pc-windows-msvc\stage1-rustc\x86_64-pc-windows-msvc\release\build\miniz-sys-fdd7389abd1d8d3f\out` (exit code: 3221225477)
[00:53:20] thread 'main' panicked at 'command did not execute successfully: "C:\\projects\\rust\\build\\x86_64-pc-windows-msvc\\stage0/bin\\cargo.exe" "build" "--target" "x86_64-pc-windows-msvc" "-j" "2" "--release" "--locked" "--color" "always" "--features" "" "--manifest-path" "C:\\projects\\rust\\src/rustc/Cargo.toml" "--message-format" "json"
[00:53:20] expected success, got: exit code: 101', bootstrap\compile.rs:1061:9
[00:53:20] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[00:53:20] failed to run: C:\projects\rust\build\bootstrap\debug\bootstrap dist

Additionally, there are UI errors from the CI due to the line-number anonymization PR #48449.

[00:53:57] thread '[ui] ui/span/issue-39018.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:2893:9
[00:53:57] 
[00:53:57] 
[00:53:57] failures:
[00:53:57]     [ui] ui/feature-gate-if_while_or_patterns.rs
[00:53:57]     [ui] ui/issue-45157.rs
[00:53:57]     [ui] ui/lint/lint-group-nonstandard-style.rs
[00:53:57]     [ui] ui/macros/macro-at-most-once-rep-ambig.rs
[00:53:57]     [ui] ui/span/issue-39018.rs

@kennytm kennytm added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 25, 2018
@kennytm
Copy link
Member

kennytm commented Feb 25, 2018

@bors treeclosed-

@kennytm kennytm closed this Feb 25, 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-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.