Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
10
vendor/windows_x86_64_gnu/build.rs
vendored
Normal file
10
vendor/windows_x86_64_gnu/build.rs
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
fn main() {
|
||||
let target = std::env::var("TARGET").unwrap();
|
||||
if target != "x86_64-pc-windows-gnu" && target != "x86_64-uwp-windows-gnu" {
|
||||
return;
|
||||
}
|
||||
|
||||
let dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
|
||||
|
||||
println!("cargo:rustc-link-search=native={}", std::path::Path::new(&dir).join("lib").display());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue