summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/rust.eselect2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/rust.eselect b/src/modules/rust.eselect
index 0691925..d936017 100644
--- a/src/modules/rust.eselect
+++ b/src/modules/rust.eselect
@@ -64,6 +64,7 @@ set_symlink() {
unset_version() {
remove_symlink "${EROOT}"/usr/bin/rustc
remove_symlink "${EROOT}"/usr/bin/rustdoc
+ remove_symlink "${EROOT}"/usr/bin/rust-lldb
}
# set the rust version
@@ -89,6 +90,7 @@ set_version() {
set_symlink "${EROOT}/usr/bin/rustc-${target}" "${EROOT}/usr/bin/rustc" || die -q "rustc symlink setting failed"
set_symlink "${EROOT}/usr/bin/rustdoc-${target}" "${EROOT}/usr/bin/rustdoc" || die -q "rustdoc symlink setting failed"
+ set_symlink "${EROOT}/usr/bin/rust-lldb-${target}" "${EROOT}/usr/bin/rust-lldb" || write_warning_msg "rust-lldb symlink setting failed (it can be ok for the older rust)"
}
### list action ###