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 6 pull requests #106083

Closed
wants to merge 14 commits into from
Closed

Conversation

Noratrieb
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

jyn514 and others added 14 commits December 17, 2022 17:18
As a secondary benefit, it's also a lot simpler.
This duplicates mingw-check into two jobs where one job
runs `tidy` only while the other job does not. The tidy
job will not cancel other jobs on failure.
Make the pre-push script work on directories with spaces

As a secondary benefit, it's also a lot simpler.

cc `@caass` - would love to have a review if you have time :)
abort immediately on bad mem::zeroed/uninit

Now that we have non-unwinding panics, let's use them for these assertions. This re-establishes the property that `mem::uninitialized` and `mem::zeroed` will never unwind -- the earlier approach of causing panics here sometimes led to hard-to-debug segfaults when the surrounding code was not able to cope with the unexpected unwinding.

Cc `@bjorn3` I did not touch cranelift but I assume it needs a similar patch. However it has a `codegen_panic` abstraction that I did not want to touch since I didn't know how else it is used.
Move tests

r? `@petrochenkov`

* 6470 is an ancient LLVM compilation bug
* 22375 to typeck because of rust-lang#23013
…tion, r=jyn514

Run `tidy` in its own job in PR CI

This duplicates mingw-check into two jobs where one job runs `tidy` only while the other job does not. The tidy job will not cancel other jobs on failure.
…estebank

Check arg expressions properly on error in `confirm_builtin_call`

Makes sure we don't regress diagnostic output when we have an expr error nested inside of a bad fn call: rust-lang#105973 (comment)

Fixes rust-lang#106030
Fixes rust-lang#105244
…nkov

A few metadata nits

Found while reading through the code. The `NOTE` is outdated now after rust-lang#97376.
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Dec 23, 2022
@Noratrieb
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Contributor

bors commented Dec 23, 2022

📌 Commit 358a834 has been approved by Nilstrieb

It is now in the queue for this repository.

@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 Dec 23, 2022
@bors
Copy link
Contributor

bors commented Dec 23, 2022

⌛ Testing commit 358a834 with merge 7791eedf06d79555f9ea25699ef38b2445321819...

@rust-log-analyzer
Copy link
Collaborator

The job wasm32 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:

---- [ui] src/test/ui/intrinsics/panic-uninitialized-zeroed.rs#default stdout ----

error in revision `default`: test run failed!
status: exit status: 101
command: "/emsdk-portable/node/latest/bin/node" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/panic-uninitialized-zeroed.default/a.js"
stdout: none
--- stderr -------------------------------
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 6, kind: WouldBlock, message: "Resource temporarily unavailable" }', /checkout/src/test/ui/intrinsics/panic-uninitialized-zeroed.rs:111:9
------------------------------------------


---- [ui] src/test/ui/intrinsics/panic-uninitialized-zeroed.rs#strict stdout ----
---- [ui] src/test/ui/intrinsics/panic-uninitialized-zeroed.rs#strict stdout ----

error in revision `strict`: test run failed!
status: exit status: 101
command: "/emsdk-portable/node/latest/bin/node" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/intrinsics/panic-uninitialized-zeroed.strict/a.js"
stdout: none
--- stderr -------------------------------
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 6, kind: WouldBlock, message: "Resource temporarily unavailable" }', /checkout/src/test/ui/intrinsics/panic-uninitialized-zeroed.rs:111:9
------------------------------------------



@bors
Copy link
Contributor

bors commented Dec 23, 2022

💔 Test failed - checks-actions

@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 Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants