I recently discovered my C++ projects builds notably slower when using cargo-zigbuild, compared with a cmake toolchain I craft manually similar to https://github.com/mrexodia/zig-cross
After some debugging, I found that the initial process of fn execute_compiler (everything before actual zig Command::run) takes heavy amout of time, almost equal to the Command::run itself:
It would be great if the initial time could be reduced. Thanks!
I recently discovered my C++ projects builds notably slower when using cargo-zigbuild, compared with a cmake toolchain I craft manually similar to https://github.com/mrexodia/zig-cross
After some debugging, I found that the initial process of
fn execute_compiler(everything before actual zigCommand::run) takes heavy amout of time, almost equal to theCommand::runitself:It would be great if the initial time could be reduced. Thanks!