Could you describe how you installed Rust and how you're trying to build Actix? Rust (and the cc crate in particular) does require some kind of C toolchain to be installed -- on Windows that would be MinGW or MSVC I think.
Hi Cole, I installed rust via the rust installer here: Install Rust - Rust Programming Language
Everything compiles well but not actix. I choose the 64 bits and rustc --version works fine
Windows platforms targeting MinGW (e.g. your target triple ends in -gnu ) require cc to be available in PATH . We recommend the MinGW-w64 distribution, which is using the Win-builds installation system. You may also acquire it via MSYS2, as explained here. Make sure to install the appropriate architecture corresponding to your installation of rustc. GCC from older MinGW project is compatible only with 32-bit rust compiler.
You probably want to try following those instructions to get MinGW set up.
(The reason you need a C compiler at all here is that actix-web apparently depends, directly or indirectly, on the brotli-sys crate, which is a sort of Rust shim for interfacing with the brotli C library. Sometimes -sys crates like that want to compile the C library from source as part of the build process, and they usually hook in the cc crate to perform that task.)