-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Upgrade Rust to build Cargo #2316
Conversation
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ 857778d |
⌛ Testing commit 857778d with merge 5cc34d1... |
💔 Test failed - cargo-win-msvc-32 |
@@ -1135,7 +1135,8 @@ test!(build_script_with_dynamic_native_dependency { | |||
"#) | |||
.file("bar/src/lib.rs", r#" | |||
pub fn bar() { | |||
#[link(name = "builder")] | |||
#[cfg_attr(not(target_env = "msvc"), link(name = "builder"))] | |||
#[cfg_attr(target_env = "msvc", link(name = "builder.lib"))] |
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.
Shouldn't this be "builder.dll"
since the library is builder.dll.lib
?
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 believe so, yes
A few small tweaks to tests were necessary to accomodate rust-lang/rust#29520, and a few changes were made to the code to account for that as well.
A few small tweaks to tests were necessary to accomodate rust-lang/rust#29520, and a few changes were made to the code to account for that as well.
☀️ Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64 |
A few small tweaks to tests were necessary to accomodate rust-lang/rust#29520,
and a few changes were made to the code to account for that as well.