mirror of
https://github.com/MSxDOS/ntapi
synced 2026-06-08 11:37:18 +00:00
10 lines
264 B
Rust
10 lines
264 B
Rust
fn main() {
|
|
#[cfg(feature = "user")] {
|
|
if std::env::var("TARGET").map(
|
|
|t| t == "x86_64-pc-windows-gnu" || t == "i686-pc-windows-gnu"
|
|
).unwrap_or(false) {
|
|
println!("cargo:rustc-link-lib=winapi_ntdll");
|
|
}
|
|
}
|
|
}
|