mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-11 14:21:10 +00:00
rust-llvm: ship symlink to llvm-objcopy instead of copy of binary
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
44adb4926e
commit
70778df59b
3
debian/not-installed
vendored
3
debian/not-installed
vendored
@ -8,6 +8,9 @@ usr/lib/rustlib/uninstall.sh
|
||||
# redundant copy of llvm-dwp, we already link it in rustc.links
|
||||
usr/lib/rustlib/*/bin/rust-llvm-dwp
|
||||
|
||||
# redundant copy of llvm-objcopy, we already link it in rustc.links
|
||||
usr/lib/rustlib/*/bin/rust-objcopy
|
||||
|
||||
# docs, we already install into /usr/share/doc/rustc
|
||||
usr/share/doc/docs/*
|
||||
|
||||
|
1
debian/rust-llvm.install
vendored
1
debian/rust-llvm.install
vendored
@ -1,2 +1 @@
|
||||
usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/wasm-component-ld
|
||||
usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/rust-objcopy
|
||||
|
5
debian/rust-llvm.links
vendored
5
debian/rust-llvm.links
vendored
@ -4,6 +4,11 @@ usr/bin/llvm-dwp-19 usr/bin/rust-llvm-dwp
|
||||
# for -Z gcc-ld=lld, see compiler/rustc_codegen_ssa/src/back/link.rs for logic
|
||||
usr/bin/rust-lld usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/gcc-ld/ld
|
||||
usr/bin/rust-lld usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/gcc-ld/ld64
|
||||
|
||||
# instead of shipping the one copied by bootstrap, which would be for the wrong
|
||||
# architecture in case of a cross build anyway
|
||||
usr/bin/llvm-objcopy-19 usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/rust-objcopy
|
||||
|
||||
# For applications that use cargo-binutils, e.g. grcov
|
||||
usr/bin/llvm-profdata-19 usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/llvm-profdata
|
||||
usr/bin/llvm-cov-19 usr/lib/rustlib/${env:DEB_HOST_RUST_TYPE}/bin/llvm-cov
|
||||
|
Loading…
Reference in New Issue
Block a user