Revert "rustup: create rust-{gdb,lldb} links without extension too"
This reverts commit 5a85181639bb51eae9978207c5c1b29015bbf58e. this doesn't work...
This commit is contained in:
parent
767a9f2390
commit
7cd73f60ac
@ -4,7 +4,7 @@ _realname=rustup
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=1.28.2
|
||||
pkgrel=3
|
||||
pkgrel=2
|
||||
pkgdesc="The Rust toolchain installer (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
@ -68,9 +68,6 @@ package() {
|
||||
for link in "${_binlinks[@]}"; do
|
||||
ln "${pkgdir}${MINGW_PREFIX}/bin/rustup.exe" "${pkgdir}${MINGW_PREFIX}/bin/${link}.exe"
|
||||
done
|
||||
# otherwise rustup <-> rust switch fails
|
||||
cp "${pkgdir}${MINGW_PREFIX}"/bin/rust-gdb.exe "${pkgdir}${MINGW_PREFIX}"/bin/rust-gdb
|
||||
cp "${pkgdir}${MINGW_PREFIX}"/bin/rust-lldb.exe "${pkgdir}${MINGW_PREFIX}"/bin/rust-lldb
|
||||
|
||||
# Special treatment to allow for rust-analyzer to still allow the separate package version to be used.
|
||||
ln "${pkgdir}${MINGW_PREFIX}/bin/rustup.exe" "${pkgdir}${MINGW_PREFIX}/lib/${_realname}/bin/rust-analyzer.exe"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user