summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-02-17 03:26:22 +0300
committerMiguel Ojeda <ojeda@kernel.org>2024-04-02 18:41:22 +0300
commitdbef1811c8865562127a6e04c3364f35ceaaa94d (patch)
tree60fc001a09d231627e14dd230cab4273bef68863 /rust/kernel
parentb8b2096ab8fd975f4d6889ecd14f9f10ba9c8839 (diff)
downloadlinux-dbef1811c8865562127a6e04c3364f35ceaaa94d.tar.xz
kbuild: rust: use `-Zdebuginfo-compression`
Rust 1.74.0 introduced (unstable) support for the `-Zdebuginfo-compression` flag, thus use it. Note that the releases built by the Rust project (i.e. the ones provided by rustup) do not enable support for zstd in their bundled LLVM (yet, at least), thus the Rust compiler will warn, but the build will proceed: warning: unknown debuginfo compression algorithm zstd - will fall back to uncompressed debuginfo Link: https://github.com/rust-lang/rust/issues/120953 Link: https://github.com/rust-lang/rust/pull/115358 Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20240217002622.57322-1-ojeda@kernel.org [ Added note about zstd support in Rust-provided binaries. ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions