-
Notifications
You must be signed in to change notification settings - Fork 386
Rustup #330
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
Rustup #330
Conversation
Now that is odd. Some (MIR-ful) tests fail with
However, they work locally... |
Ah never mind, this is the inliner in rustc crashing:
|
Yea... I'll upstream the fix in another PR that we can get through faster than the miri PR |
Strange enough though I cannot get this crash to happen when just invoking rustc. This works:
Also, why are all the flags passed to rustc 2 or 3 times in the CI? |
because we set the flags, then if it's a compiletest, compiletest sets the flags set in the file, too |
Well... it's not dumping all MIR. There's some libstd MIR that probably never gets loaded or optimized. Especially if it's a generic function that is never called in rustc itself. I'm not sure what exactly is going on, but you can see it if you put a |
But this file doesn't set any flags.
Ah, I also have to set the sysroot. Then it crashes as expected. Should I report upstream? It seems you're already on it anyway.
|
Already opened a PR upstream: rust-lang/rust#44362 |
We also set some more flags in our |
We do, but not twice, do we? The additional flags miri sets before internally calling rustc should not appear here. |
Probably some of this comes from using the "mir-opt" tester. But yeah, the CI has accumulated an impressive amount of hacks, with all this parameter passing and so on. We have |
Are you okay with disabling the optimized tests for now or do you rather want to wait until your PR lands? |
Nah, just merge it and reenable later. We should probably add a |
@@ -190,7 +190,8 @@ fn run_pass_miri_noopt() { | |||
|
|||
#[test] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use #[ignore]
here instead of making the content a commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good catch! I will try to remember this next time. I did not know about this attribute.
No description provided.