-
Notifications
You must be signed in to change notification settings - Fork 14k
Windows-gnullvm self-contained #147536
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
base: main
Are you sure you want to change the base?
Windows-gnullvm self-contained #147536
Conversation
|
Tested locally on Windows but a shareable build would be useful. |
This comment has been minimized.
This comment has been minimized.
Windows-gnullvm self-contained try-job: dist-x86_64-linux try-job: dist-x86_64-windows-gnullvm
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
@bors try jobs=dist-x86_64-linux,dist-x86_64-windows-gnullvm |
This comment has been minimized.
This comment has been minimized.
Windows-gnullvm self-contained try-job: dist-x86_64-linux try-job: dist-x86_64-windows-gnullvm
|
Seems to work nicely, even with |
|
@mati865 are there any blockers we could help you with? |
|
|
||
| /// This functions tries to determine the appropriate linker (and corresponding LinkerFlavor) to use | ||
| pub fn linker_and_flavor(sess: &Session) -> (PathBuf, LinkerFlavor) { | ||
| pub fn linker_and_flavor(sess: &Session, self_contained: bool) -> (PathBuf, LinkerFlavor) { |
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.
Could we make self_contained a new-type? Something like
enum SelfContainedLinkerEnabled {
Yes,
No,
}|
@estebank I had a few ideas how to refactor it, but none of them turned out satisfying. I'm going to take another stab at it this week. |
f3f33b7 to
9d27d77
Compare
This comment has been minimized.
This comment has been minimized.
9d27d77 to
9f92112
Compare
|
☔ The latest upstream changes (presumably #148818) made this pull request unmergeable. Please resolve the merge conflicts. |
No description provided.