summaryrefslogtreecommitdiffstats
path: root/debian/rustc.links
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rustc.links')
-rw-r--r--debian/rustc.links6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rustc.links b/debian/rustc.links
new file mode 100644
index 000000000..db024ff24
--- /dev/null
+++ b/debian/rustc.links
@@ -0,0 +1,6 @@
+usr/bin/lld-14 usr/bin/rust-lld
+usr/bin/clang-14 usr/bin/rust-clang
+usr/bin/llvm-dwp-14 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