meson icon indicating copy to clipboard operation
meson copied to clipboard

feature req. PGO support for Rust

Open okias opened this issue 1 year ago • 2 comments

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".

okias avatar Jun 29 '24 21:06 okias

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

dcbaker avatar Jul 01 '24 15:07 dcbaker

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.

dcbaker avatar Jul 01 '24 22:07 dcbaker