Skip to content

Rollup of 17 pull requests - #74306

Closed
Manishearth wants to merge 77 commits into
rust-lang:masterfrom
Manishearth:rollup-4wq5fu9
Closed

Rollup of 17 pull requests#74306
Manishearth wants to merge 77 commits into
rust-lang:masterfrom
Manishearth:rollup-4wq5fu9

Conversation

@Manishearth

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Lucretieland others added 30 commits May 31, 2020 00:10
This commit redesigns LineWriter to work more directly on the internals
of BufWriter. This interface change is to enable a future Pull Request
in which Stdout can be switched between Line and Block buffered mode.
- Added a bunch of new unit tests
- Removed test_line_buffer_fail_flush
- Updated erroneous_flush_retried
- Added helper methods to LineWriterShim for code clarity, to distinguish "self.buffer" (the BufWriter) from self.inner (the thing wrapped by the BufWriter)
- Un-expressionized write & write_all
- Added clause to bail early on Ok(0)
- Cleaned up BufWriter::seek
- Updated line_vectored test
- Updated line_vectored_partial_and_errors test
- Added several new tests
- Renamed write_to_buffer to write_to_buf, for consistency
- Fixed references to flush_buf
- Optimized `write` to use one less `memchr` call
- Fixed test after write_vectored bugfix
- Some comments
- Fixed partial-line buffering issue
- Added tests
Thanks @the8472 for catching!
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
Remove an unwrap in layout computation
A tiny improvement.
Update llvm-project to latest origin/rustc/10.0-2020-05-05 commit
which includes LVI segfault fix when building fortanix/rust-sgx#267
And a few earlier commits.
…r=Mark-Simulacrum
Teach bootstrap about target files vs target triples
`rustc` allows passing in predefined target triples as well as JSON
target specification files. This change allows bootstrap to have the
first inkling about those differences. This allows building a
cross-compiler for an out-of-tree architecture (even though that
compiler won't work for other reasons).
Even if no one ever uses this functionality, I think the newtype
around the `Interned<String>` improves the readability of the code.
don't mark linux kernel module targets as a unix environment
refs rust-lang#74247
r?@joshtriplett
cc: @ehuss
…der-type-error, r=estebank
typeck: report placeholder type error w/out span
Fixesrust-lang#74086.
This PR fixes a regression introduced in rust-lang#70369 which meant that an error was not being emitted for invalid placeholder types when there wasn't a span available.
r? @estebank
rust-lang#71669: add ui, codegen tests for volatile + nearby int intrinsics
Added some tests for intrinsics. See rust-lang#71669.
…Gomez
Added detailed error code explanation for issue E0688 in Rust compiler.
Added proper error explanation for issue E0688 in the Rust compiler.
Error Code E0688
Sub Part of Issue rust-lang#61137
r? @GuillaumeGomez
@Manishearth

Copy link
Copy Markdown
MemberAuthor

@rustbot modify labels: +rollup
@bors r+ rollup=never p=5

@bors

bors commented Jul 13, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit b4ce62b has been approved by Manishearth

@rustbotrustbot added the rollup A PR which is a rollup label Jul 13, 2020
@bors

bors commented Jul 13, 2020

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 5, this pull request will be tested once the tree is reopened

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jul 13, 2020
@bors

bors commented Jul 13, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit b4ce62b with merge e356933ec2afb7e0bb8ef5e4b39d1840bead9b81...

@bors

bors commented Jul 13, 2020

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Jul 13, 2020
@eddyb

Copy link
Copy Markdown
Contributor

@bors retry

@borsbors 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 Jul 13, 2020
@bors

bors commented Jul 13, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit b4ce62b with merge db87c93df2f58b6803d43d3aff330075c1996d1e...

@eddyb

Copy link
Copy Markdown
Contributor

Huh, this is what ended up on the PR CI, although this passed on the wasm builder (which failed for an unrelated reason):

---- [ui] ui/const_prop/ice-assert-fail-div-by-zero.rs stdout ----
diff of stderr:
-	warning: this operation will panic at runtime
- --> $DIR/ice-assert-fail-div-by-zero.rs:10:5
- |
-	LL | f.0 / 0;
- | ^^^^^^^ attempt to divide _ by zero
- |
-	note: the lint level is defined here
- --> $DIR/ice-assert-fail-div-by-zero.rs:5:9
- |
-	LL | #![warn(unconditional_panic)]
- | ^^^^^^^^^^^^^^^^^^^
- -	warning: 1 warning emitted
- - 

@bors

bors commented Jul 13, 2020

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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 Jul 13, 2020
@Manishearth

Copy link
Copy Markdown
MemberAuthor
2020-07-13T23:22:10.3748407Z 2020-07-13T23:22:10.3748573Z failures:
2020-07-13T23:22:10.3827523Z 2020-07-13T23:22:10.3828420Z ---- [ui] ui/const_prop/ice-assert-fail-div-by-zero.rs stdout ----
2020-07-13T23:22:10.3828644Z diff of stderr:
2020-07-13T23:22:10.3829719Z 2020-07-13T23:22:10.3830841Z -	warning: this operation will panic at runtime
2020-07-13T23:22:10.3831207Z - --> $DIR/ice-assert-fail-div-by-zero.rs:10:5
2020-07-13T23:22:10.3831477Z - |
2020-07-13T23:22:10.3831741Z -	LL | f.0 / 0;
2020-07-13T23:22:10.3832086Z - | ^^^^^^^ attempt to divide _ by zero
2020-07-13T23:22:10.3832348Z - |
2020-07-13T23:22:10.3832632Z -	note: the lint level is defined here
2020-07-13T23:22:10.3832948Z - --> $DIR/ice-assert-fail-div-by-zero.rs:5:9
2020-07-13T23:22:10.3833209Z - |
2020-07-13T23:22:10.3833490Z -	LL | #![warn(unconditional_panic)]
2020-07-13T23:22:10.3833802Z - | ^^^^^^^^^^^^^^^^^^^
2020-07-13T23:22:10.3834058Z - 2020-07-13T23:22:10.3834333Z -	warning: 1 warning emitted
2020-07-13T23:22:10.3834827Z - 

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

20 participants

@Manishearth@bors@eddyb@rustbot@Lucretiel@poliorcetics@ehuss@RalfJung@GuillaumeGomez@dennis-hamester@erikdesjardins@euclio@alex@oli-obk@davidtwco@estebank@XAMPPRocky@AdrianCX@shepmaster@theo-lw