diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2026-11-06 08:35:28 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-11-08 04:40:23 +0100 |
| commit | 1178120c3bed1733aea1c465200a6b42f8a7105d (patch) | |
| tree | f2bd4c4c8db89231c956b955eb33bf802428aead /include/linux/timerqueue.h | |
| parent | 57d916a3eb765ee0577d269bb2ac1bdf3a7a7f40 (diff) | |
kbuild: rust: support stabilized flag `-Cprofile-sample-use` for Rust >= 1.100
Starting with Rust 1.100.0 (expected 2026-11-12), the
`-Zprofile-sample-use` flag has been stabilized as
`-Cprofile-sample-use` and the former is not available anymore [1].
Without this change, when building with `CLANG_AUTOFDO_PROFILE` set, one
gets in the latest betas and nightlies:
error: unknown unstable option: `profile-sample-use`
Thus pass the right name.
Cc: stable@vger.kernel.org # 7.3.x
Link: https://github.com/rust-lang/rust/pull/155942 [1]
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20261106073528.93371-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
