I am trying to compile a script using cargo build --release
but get the following output (full stacktrace):
running: "gcc" "-O0" "-c" "-ffunction-sections" "-fdata-sections" "-mwin32" "-m64" "-fPIC" "C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\time-0.1.25\src/time_helpers.c" "-o" "D:\Projects\hots-unpack\target\release\build\time-e758cbe877e9589d\out\src\time_helpers.o"
failed to run custom build command for `time v0.1.25`
Process didn't exit successfully: `D:\Projects\hots-unpack\target\release\build\time-e758cbe877e9589d\build-script-build` (exit code: 101)
--- stderr
thread '<main>' panicked at 'explicit panic', C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\gcc-0.3.4\src\lib.rs:380
This is the script I want to compile