-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Move back::link and debuginfo::type_names to cg ssa #59564
Conversation
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
☔ The latest upstream changes (presumably #59606) made this pull request unmergeable. Please resolve the merge conflicts. |
769f194
to
9d056a9
Compare
Rebased |
☔ The latest upstream changes (presumably #59636) made this pull request unmergeable. Please resolve the merge conflicts. |
9d056a9
to
bac45b0
Compare
Rebased |
☔ The latest upstream changes (presumably #59741) made this pull request unmergeable. Please resolve the merge conflicts. |
bac45b0
to
c922dec
Compare
Rebased (again) |
@@ -66,6 +66,7 @@ pub struct ModuleCodegen<M> { | |||
pub kind: ModuleKind, | |||
} | |||
|
|||
pub const METADATA_FILENAME: &str = "rust.metadata.bin"; | |||
pub const RLIB_BYTECODE_EXTENSION: &str = "bc.z"; |
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.
This is a problem, because bc
is LLVM-specific.
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.
But feel free to file an issue and leave it for later.
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.
What is the convention on those kind of issues? File it right now and add a comment here referencing it?
@@ -1,21 +1,40 @@ | |||
/// For all the linkers we support, and information they might | |||
/// need out of the shared crate context before we get rid of it. |
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.
cc @alexcrichton @michaelwoerister I feel like this module would be better suited for another crate, say rustc_codegen_link
or rustc_link
(er
), what do you think?
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.
Who should depend on who? CrateInfo
and CodegenResults
are both needed by rustc_codegen_ssa
and the linker code.
r=me with or without comments addressed |
@bors r+ |
📌 Commit c922dec has been approved by |
🌲 The tree is currently closed for pull requests below priority 15, this pull request will be tested once the tree is reopened |
Move back::link and debuginfo::type_names to cg ssa r? @eddyb
🔒 Merge conflict This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again. How do I rebase?Assuming
You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial. Please avoid the "Resolve conflicts" button on GitHub. It uses Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Error message
|
c922dec
to
d418a25
Compare
📌 Commit 5adcd39c6bf0b07d3d8f564e4b488599ca94e592 has been approved by |
🔒 Merge conflict This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again. How do I rebase?Assuming
You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial. Please avoid the "Resolve conflicts" button on GitHub. It uses Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Error message
|
@bjorn3 maybe this needs another rebase?
@bors delegate+ I experienced something similar in #60053 (comment). |
✌️ @bjorn3 can now approve this pull request |
@Xanewok See the Cargo.lock entry in .gitattributes, and rust-lang/highfive#153 |
Ah, I didn't know this was enforced on the merge level; thanks @philipc! |
5adcd39
to
3af60e0
Compare
Rebased @bors r=eddyb |
📌 Commit 3af60e0 has been approved by |
Move back::link and debuginfo::type_names to cg ssa r? @eddyb
☀️ Test successful - checks-travis, status-appveyor |
r? @eddyb