Only enable hotness information when PGO is available

This commit is contained in:
Jakub Beránek
2023-08-07 17:56:57 +02:00
parent 93bdc01adf
commit 9d417d7c86
4 changed files with 13 additions and 3 deletions

View File

@@ -2332,6 +2332,7 @@ extern "C" {
remark_passes: *const *const c_char,
remark_passes_len: usize,
remark_file: *const c_char,
pgo_available: bool,
);
#[allow(improper_ctypes)]