This fixes an issue where the detect_compiler_family.c temp file would not be created, thus falling back to defaults, printing a warning, eg warning: libz-sys@1.1.18: Compiler family detection failed due to error: IOError: No such file or directory (os error 2). I noticed this when debugging a cargo package command, as I believe that is an edge case due to how it differs from a normal cargo build.
This fixes an issue where the detect_compiler_family.c temp file would not be created, thus falling back to defaults, printing a warning, eg
warning: libz-sys@1.1.18: Compiler family detection failed due to error: IOError: No such file or directory (os error 2)
. I noticed this when debugging acargo package
command, as I believe that is an edge case due to how it differs from a normal cargo build.