26: Minor build cleanup r=bspeice a=bspeice

bors r+

Co-authored-by: Bradlee Speice <bradlee@speice.io>
staging
bors[bot] 2020-03-08 00:59:45 +00:00 committed by GitHub
commit c59164951b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 11 deletions

View File

@ -47,8 +47,7 @@ pub fn main() {
link_type.target_name()
);
match link_type {
LinkType::Static => {
if let LinkType::Static = link_type {
// On Windows, there are some extra libraries needed for static link
// that aren't included by Aeron.
if cfg!(target_os = "windows") {
@ -56,8 +55,6 @@ pub fn main() {
println!("cargo:rustc-link-lib=iphlpapi");
}
}
_ => (),
};
let cmake_output = Config::new(&aeron_path)
.build_target(link_type.target_name())

View File

@ -17,5 +17,5 @@ memmap = "0.7"
[dev-dependencies]
clap = "2.33"
ctrlc = "3.1.3"
ctrlc = "=3.1.3"
tempfile = "3.1"