rustup: apply arguments in launcher scripts

This commit is contained in:
ognevnydemon
2025-11-16 18:21:00 +03:00
parent cfe28720b9
commit 4023e346f8
4 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ _realname=rustup
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=1.28.2
pkgrel=4
pkgrel=5
pkgdesc="The Rust toolchain installer (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -42,9 +42,9 @@ source=(
)
sha256sums=('5987dcb828068a4a5e29ba99ab26f2983ac0c6e2e4dc3e5b3a3c0fafb69abbc0'
'dec8fd8b2838e7e5866a0bfbae2be89647c7c70a46c0ada1406accf4017322e9'
'f070a73828e125ee69215f0482c2a9b27ad59feb8fb80706a00bd5b2e4fb8ec6'
'89f42603ed46b2fde25b12aa22af8cd4d0c6773d9f086c51e208f258da8d4b46'
'bdc6266b532c31b9cdadb36050aa83c5b723bf8d7bdf8ad86c9e6715d3d02778')
'a1820caf7e07c53651e7546a2eb65db4cc48bb80ec76b9a81886cb9b64e01f11'
'fcb386186c4f919ba67aafac05e0414772df9fe7c605f08321550c83405c33df'
'c418b61acb24a54831ae68261a0193ccab7ea85e3ef4b37455722a754815c9f1')
_binlinks=('cargo' 'rustc' 'rustdoc' 'rustfmt' 'cargo-fmt' 'cargo-clippy' 'clippy-driver' 'cargo-miri')
_scripts=('rust-gdb' 'rust-gdbgui' 'rust-lldb')

View File

@@ -4,4 +4,4 @@
set -e
RUSTC_SYSROOT=$(${MINGW_PREFIX}/bin/rustc --print sysroot)
exec /usr/bin/sh "$RUSTC_SYSROOT/bin/rust-gdb"
exec /usr/bin/sh "$RUSTC_SYSROOT/bin/rust-gdb" "$@"

View File

@@ -4,4 +4,4 @@
set -e
RUSTC_SYSROOT=$(${MINGW_PREFIX}/bin/rustc --print sysroot)
exec /usr/bin/sh "$RUSTC_SYSROOT/bin/rust-gdbgui"
exec /usr/bin/sh "$RUSTC_SYSROOT/bin/rust-gdbgui" "$@"

View File

@@ -4,4 +4,4 @@
set -e
RUSTC_SYSROOT=$(${MINGW_PREFIX}/bin/rustc --print sysroot)
exec /usr/bin/sh "$RUSTC_SYSROOT/bin/rust-lldb"
exec /usr/bin/sh "$RUSTC_SYSROOT/bin/rust-lldb" "$@"