-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
rustbuild: Fix no output generated
error for next bootstrap cargo.
#45496
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Due to rust-lang/cargo#4570, a `*.dll.lib` file is uplifted when building dynamic libraries on Windows. The current bootstrap code does not understand files with multiple extensions, and will instead assume `xxxx.dll` is the file name. This caused a `no output generated` error because it tries to search for `xxxx.dll-hash.lib` inside the `deps/` folder, while it should check for `xxxx-hash.dll.lib` instead. This PR is blocking rust-lang#45285 (Bump to 1.23 and update bootstrap).
(rust_highfive has picked a reviewer for you, use r? to override) |
Seems fine to me but I'm not really experienced with Cargo's output enough to r+ this. |
@bors: r+ Thanks! |
📌 Commit 3b81573 has been approved by |
⌛ Testing commit 3b81573 with merge 86754211c7323b188efb71e7e156968cc2383f4d... |
💔 Test failed - status-appveyor |
@bors retry 3 hour timed out. |
kennytm
added a commit
to kennytm/rust
that referenced
this pull request
Oct 25, 2017
…ck, r=alexcrichton rustbuild: Fix `no output generated` error for next bootstrap cargo. Due to rust-lang/cargo#4570, a `*.dll.lib` file is uplifted when building dynamic libraries on Windows. The current bootstrap code does not understand files with multiple extensions, and will instead assume `xxxx.dll` is the file name. This caused a `no output generated` error because it tries to search for `xxxx.dll-hash.lib` inside the `deps/` folder, while it should check for `xxxx-hash.dll.lib` instead. This PR is blocking rust-lang#45285, see rust-lang#45285 (comment) and the rest of the comments for detail.
bors
added a commit
that referenced
this pull request
Oct 25, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Due to rust-lang/cargo#4570, a
*.dll.lib
file is uplifted when building dynamic libraries on Windows. The current bootstrap code does not understand files with multiple extensions, and will instead assumexxxx.dll
is the file name. This caused ano output generated
error because it tries to search forxxxx.dll-hash.lib
inside thedeps/
folder, while it should check forxxxx-hash.dll.lib
instead.This PR is blocking #45285, see #45285 (comment) and the rest of the comments for detail.