Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • Makefile.debug
Find file BlameHistoryPermalink
  • Miguel Ojeda's avatar
    kbuild: rust: use `-Zdebuginfo-compression` · dbef1811
    Miguel Ojeda authored Feb 17, 2024
    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: default avatarAlice 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: default avatarMiguel Ojeda <ojeda@kernel.org>
    dbef1811
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7