meson
meson copied to clipboard
feature req. PGO support for Rust
Would be nice, if meson supported Profile-Guided Optimization with rustc as rust itself supports it
Current outcome: ERROR: rustc does not support "get_profile_generate_args".
I think I have some patches for this around somewhere from back in the days when this was still an unstable feature, let me have a look
Oh, this is interesting. I didn't have patches, but I did some poking, and our handling of Clang's PGO is completely broken as well, because it needs a different implementation than GCC, the same one that Rustc needs.