On 9/15/23 14:28, Matthew Maurer wrote:
Currently, rustc defaults to invoking `cc`, even if `HOSTCC` is defined, resulting in build failures in hermetic environments where `cc` does not exist. This includes both hostprogs and proc-macros. Since we are setting the linker to `HOSTCC`, we set the linker flavor to `gcc` explicitly. Signed-off-by: Matthew Maurer <mmaurer@xxxxxxxxxx> --- [...]
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>