-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Fix #83045 by moving some crate loading verification code to a better place #83404
Conversation
$(BARE_RUSTC) --out-dir $(TMPDIR) --extern b=$(TMPDIR)/libb.rlib --crate-type=rlib \ | ||
--edition=2018 c.rs &> $(TMPDIR)/output.txt || exit 0 | ||
# Check that we get the expected error message | ||
$(CGREP) "error[E0463]" < $(TMPDIR)/output.txt |
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.
You probably need backslashes for the [
and ]
?
Might be easier to match on the message itself which is:
can't find crate for `a` which `b` depends on
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.
I'll just match on E0463
. That should be sufficient.
r=me with CI fixed |
753a697
to
4ab0434
Compare
This comment has been minimized.
This comment has been minimized.
4ab0434
to
416c555
Compare
This comment has been minimized.
This comment has been minimized.
I don't understand what's going on here. The string to be matched is right there in the output and the test passes for me locally |
416c555
to
03f8ee6
Compare
This comment has been minimized.
This comment has been minimized.
03f8ee6
to
6de2a61
Compare
This comment has been minimized.
This comment has been minimized.
6de2a61
to
cac9eef
Compare
This comment has been minimized.
This comment has been minimized.
cac9eef
to
7d7c047
Compare
This comment has been minimized.
This comment has been minimized.
… a better place.
7d7c047
to
09bab38
Compare
OK, piping the compiler's output through @bors r=eddyb |
📌 Commit 09bab38 has been approved by |
☀️ Test successful - checks-actions |
r? @eddyb