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

Merge rustc changes back into the miri repo #2568

Merged
merged 17 commits into from
Sep 27, 2022
Merged

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Sep 26, 2022

This uses https://github.com/josh-project/josh (RIIR ftw)

The first time it looks a bit odd with the merges and so, all future syncs will work just like the instructions say. I'll add instructions for the sync from miri to rustc, too, starting to do that right now.

Initial cache building now takes 5 mins 🥳

oli-obk and others added 14 commits September 21, 2022 15:36
…b33573'

git-subtree-dir: src/tools/miri
git-subtree-mainline: 3f3167fb59341ac3240ca1774f48e8c053219131
git-subtree-split: 75dd959
add regression test for miri issue 2433

Adding this here because the test needs to be run with debug assertions enabled to be sure so I had to run it in the rustc workspace.

Cc rust-lang#2433
r? ``@oli-obk``
Fix a typo in `std`'s root docs

Remarkably, this typo has been present for *seven years.* I was so surprised that I reread the text five times and then asked people on the rust Zulip to double-check. :)
Rollup of 7 pull requests

Successful merges:

 - #102094 (Add missing documentation for `bool::from_str`)
 - #102115 (Add examples to `bool::then` and `bool::then_some`)
 - #102134 (Detect panic strategy using `rustc --print cfg`)
 - #102137 (Don't convert valtree to constvalue during normalization)
 - #102148 (add regression test for miri issue 2433)
 - #102158 (rustdoc: clean up CSS/DOM for deprecation warnings)
 - #102177 (Fix a typo in `std`'s root docs)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Always print '_, even for erased lifetimes.

Explicit lifetime arguments are now the recommended syntax in rust 2018 and rust 2021.  This PR applies this discipline to rustc itself.
Revert perf-regression 101620

Reverts #101862 #101620

r? `@Mark-Simulacrum`
Add `#[inline]` to trivial functions on `core::sync::Exclusive`

When optimizing for size things like these sometimes don't inlined even though they're generic. This is bad because they're no-ops.

Only dodgy one is poll I guess since it forwards to the inner poll, but it's not like we're doing `#[inline(always)]` here.
@oli-obk
Copy link
Contributor Author

oli-obk commented Sep 26, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Sep 26, 2022

📌 Commit 94775c4 has been approved by oli-obk

It is now in the queue for this repository.

CONTRIBUTING.md Outdated Show resolved Hide resolved
@RalfJung
Copy link
Member

I don't quite recognize our use-case in what Josh advertises itself for but if it works 🤷

I'm not super happy about having to run a docker container for the sync, let's hope the infra team automates this soon :)

@RalfJung
Copy link
Member

I'll add instructions for the sync from miri to rustc, too, starting to do that right now.

FWIW I did that earlier with git-subtree while testing #2564 and it worked very well.

@oli-obk
Copy link
Contributor Author

oli-obk commented Sep 26, 2022

I'll add instructions for the sync from miri to rustc, too, starting to do that right now.

FWIW I did that earlier with git-subtree while testing #2564 and it worked very well.

yea, but I wanna make sure that josh and git-subtree work fine, and we don't make rustc-to-miri syncs harder due to git subtree in the other direction being weird (I don't think it is, but need to try it out)

@RalfJung
Copy link
Member

Looks like bors is on strike again so I guess that gives us time to at least fix the typo I noted. ;)
@bors r-

@oli-obk
Copy link
Contributor Author

oli-obk commented Sep 26, 2022

I don't quite recognize our use-case in what Josh advertises itself for but if it works 🤷

I'm not super happy about having to run a docker container for the sync, let's hope the infra team automates this soon :)

that's just me being lazy and following the instructions. I belive a cargo install plus a short shell script may suffice, too

@oli-obk
Copy link
Contributor Author

oli-obk commented Sep 26, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Sep 26, 2022

📌 Commit 6deaa61 has been approved by oli-obk

It is now in the queue for this repository.

@oli-obk
Copy link
Contributor Author

oli-obk commented Sep 26, 2022

@bors ping

@bors
Copy link
Contributor

bors commented Sep 26, 2022

😪 I'm awake I'm awake

@oli-obk
Copy link
Contributor Author

oli-obk commented Sep 27, 2022

@bors r-

@RalfJung
Copy link
Member

@oli-obk bors seems to work again... why did you r- this?

@oli-obk
Copy link
Contributor Author

oli-obk commented Sep 27, 2022

@bors r+

I wanted to cycle the PR as it didn't work

@bors
Copy link
Contributor

bors commented Sep 27, 2022

📌 Commit 6deaa61 has been approved by oli-obk

It is now in the queue for this repository.

@oli-obk
Copy link
Contributor Author

oli-obk commented Sep 27, 2022

The other PR was merged and this one didn't start

@RalfJung RalfJung closed this Sep 27, 2022
@RalfJung RalfJung reopened this Sep 27, 2022
@RalfJung
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Sep 27, 2022

💡 This pull request was already approved, no need to approve it again.

@bors
Copy link
Contributor

bors commented Sep 27, 2022

📌 Commit 6deaa61 has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 27, 2022

⌛ Testing commit 6deaa61 with merge 6d4ef31...

@bors
Copy link
Contributor

bors commented Sep 27, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 6d4ef31 to master...

@bors bors merged commit 6d4ef31 into rust-lang:master Sep 27, 2022
@oli-obk oli-obk deleted the josh branch September 27, 2022 13:30
@bors bors mentioned this pull request Sep 27, 2022
@RalfJung RalfJung mentioned this pull request Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants