1
0
鏡像自 https://github.com/bspeice/aeron-rs 已同步 2026-06-29 23:53:00 -04:00
26: Minor build cleanup r=bspeice a=bspeice

bors r+

Co-authored-by: Bradlee Speice <bradlee@speice.io>
此提交包含在:
bors[bot]
2020-03-08 00:59:45 +00:00
提交者 GitHub
當前提交 c59164951b
共有 2 個檔案被更改,包括 8 行新增11 行删除
+7 -10
查看文件
@@ -47,17 +47,14 @@ pub fn main() {
link_type.target_name()
);
match link_type {
LinkType::Static => {
// On Windows, there are some extra libraries needed for static link
// that aren't included by Aeron.
if cfg!(target_os = "windows") {
println!("cargo:rustc-link-lib=shell32");
println!("cargo:rustc-link-lib=iphlpapi");
}
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") {
println!("cargo:rustc-link-lib=shell32");
println!("cargo:rustc-link-lib=iphlpapi");
}
_ => (),
};
}
let cmake_output = Config::new(&aeron_path)
.build_target(link_type.target_name())
+1 -1
查看文件
@@ -17,5 +17,5 @@ memmap = "0.7"
[dev-dependencies]
clap = "2.33"
ctrlc = "3.1.3"
ctrlc = "=3.1.3"
tempfile = "3.1"