Skip to content

Commit a9155c4

Browse files
committed
ntdll link fix
1 parent a24e303 commit a9155c4

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ environment:
1212
- host: i686-pc-windows-gnu
1313
channel: nightly
1414
- host: x86_64-pc-windows-gnu
15-
channel: 1.64.0
15+
channel: 1.70.0
1616
- host: i686-pc-windows-gnu
17-
channel: 1.64.0
17+
channel: 1.70.0
1818

1919
install:
2020
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
@@ -24,11 +24,11 @@ install:
2424
- rustc -vV
2525
- cargo -vV
2626
- if defined aarch64 (
27-
rustup target add aarch64-pc-windows-msvc
27+
rustup target add aarch64-pc-windows-msvc
2828
)
2929

3030
build_script:
3131
- cargo test --verbose --color always --features "func-types impl-default user"
3232
- if defined aarch64 (
33-
cargo test --verbose --color always --features "func-types impl-default user" --target aarch64-pc-windows-msvc --no-run
33+
cargo test --verbose --color always --features "func-types impl-default user" --target aarch64-pc-windows-msvc --no-run
3434
)

build.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
use std::env::var;
2-
31
fn main() {
42
#[cfg(feature = "user")]
53
{
6-
if var("TARGET")
7-
.map(|t| t == "x86_64-pc-windows-gnu" || t == "i686-pc-windows-gnu")
8-
.unwrap_or(false)
9-
{
10-
println!("cargo:rustc-link-lib=ntdll");
11-
}
4+
println!("cargo:rustc-link-lib=ntdll");
125
}
136
}

0 commit comments

Comments
 (0)