I’ve got a repository containing Rust code, and I have working builds for it on ubuntu and macOS. I’m trying to add Windows CI: Comparing main...win-main · abetterinternet/crustls · GitHub.
The documentation for the Windows environment says it has Rust installed:
However, when my Action runs I get an error that cargo is not found:
Run make CC=clang test cbindgen --lang C > src/crustls.h WARN: Skip crustls::RUSTLS_CRATE_VERSION - (not `pub`). mkdir -p target clang -o target/main.o -c src/main.c -Werror -Wall -Wextra -Wpedantic -g cargo build process_begin: CreateProcess(NULL, cargo build, ...) failed. make (e=2): The system cannot find the file specified. mingw32-make: *** [Makefile:33: target/debug/libcrustls.a] Error 2 Error: Process completed with exit code 2.
Any tips on how to use the install