diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2026-06-02 18:16:38 +0300 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-06-04 10:26:57 +0300 |
| commit | 7594302d9ddd9f198173a658250e7b7debc6ed76 (patch) | |
| tree | 88454c3771643ca53c4b8838047ee870cad0f614 /include/linux/debugobjects.h | |
| parent | 025fd4b4fd382112bd4489e5b4437a295934fc19 (diff) | |
| download | linux-7594302d9ddd9f198173a658250e7b7debc6ed76.tar.xz | |
kbuild: rust: rename flag to `-Zdebuginfo-for-profiling` for Rust >= 1.98
Starting with Rust 1.98.0 (expected 2026-08-20), the
`-Zdebug-info-for-profiling` flag has been renamed to
`-Zdebuginfo-for-profiling` (i.e. one less dash, to match `debuginfo`s
in other flags) [1].
Without this change, one gets in the latest nightlies:
error: unknown unstable option: `debug-info-for-profiling`
Thus pass the right name.
Link: https://github.com/rust-lang/rust/pull/156887 [1]
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260602151638.14358-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
