Open eliad-wiz opened 3 days ago
Hello!
I see in the output this message:
Failed to run vcvarsall.bat
Do you have Visual Studio (Community Edition) installed on the build host? Do you know the location of the vcvarsall.bat
script on that host?
i'm cross compiling on a linux host. no visual studio (i don't even see such option), not batch files.
i guess this script is intended for local windows compilation, not for cross-compilation.
Ahhh, of course.
Cross compilation is not a something that we test for FIPS builds. But it might be possible with a little effort.
We utilize that batch script to setup the build environment properly for Ninja. I'm not sure what alternative we would have when cross compiling from Linux.
We will look into this.
Problem:
Cross compiling from linux to
x86_64-pc-windows-gnu
target fails when "fips" feature is enabled.looks like it tries executing
vcvarsall.bat
locallyTo reproduce, use the following Cargo.toml
and run
cargo build --target x86_64-pc-windows-gnu
Relevant details
AWS-LC for Rust versions or commit: 1.9.0
System information: