-
Notifications
You must be signed in to change notification settings - Fork 778
Closed
Milestone
Description
Hi,
I'm trying to compile reqwest with rustls support on Windows arm64 and I'm getting the following error:
error: failed to run custom build command for `ring v0.16.19`
Caused by:
process didn't exit successfully: `C:\Projects\reqwest\target\debug\build\ring-1879f9f353eaed0d\build-script-build` (exit code: 101)
--- stdout
OPT_LEVEL = Some("0")
TARGET = Some("aarch64-pc-windows-msvc")
HOST = Some("aarch64-pc-windows-msvc")
CC_aarch64-pc-windows-msvc = None
CC_aarch64_pc_windows_msvc = None
HOST_CC = None
CC = None
CFLAGS_aarch64-pc-windows-msvc = None
CFLAGS_aarch64_pc_windows_msvc = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = None
DEBUG = Some("true")
aes_nohw.c
C:\Users\alovchin\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.19\include\GFp/base.h(97): fatal error C1189: #error: "Unknown target CPU"
--- stderr
running "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\ARM64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "include" "-W4" "/GS" "/Gy" "/EHsc" "/GR-" "/Zc:wchar_t" "/Zc:forScope" "/Zc:inline" "/Zc:rvalueCast" "/sdl" "/Wall" "/wd4127" "/wd4464" "/wd4514" "/wd4710" "/wd4711" "/wd4820" "/wd5045" "/Od" "/RTCsu" "-DNDEBUG" "-c" "/FoC:\\Projects\\reqwest\\target\\debug\\build\\ring-b786d3340d88e8a0\\out\\aes_nohw.obj" "crypto/fipsmodule/aes/aes_nohw.c"
thread 'main' panicked at 'execution failed', C:\Users\alovchin\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.19\build.rs:673:9
I think it's somewhat related to #960 though in this case I'm working on aarch64-pc-windows-msvc platform which is not UWP.
This is currently blocking rust-lang/rustup#2612 as rustup is using reqwest's rustls feature.
Please note that unfortunately there is no hosted CI/CD to run tests on Windows arm64 platform yet, so this would be cross-compile only for now.
EdJoPaTo, VladasZ, wezm, TheBotlyNoob, ghishadow and 4 more
Metadata
Metadata
Assignees
Labels
No labels