diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2023-10-28 22:03:51 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-10-29 00:33:21 +0200 |
commit | 6057bc3cac36b3ed71cec8fa1c2cef145bed5599 (patch) | |
tree | 47aaa98a4ed65733c706e431775e1b60f95be96d /testing/source | |
parent | f4d1448dd43416a6f46af26fa4422de1c626cfc7 (diff) | |
download | current-6057bc3cac36b3ed71cec8fa1c2cef145bed5599.tar.gz current-6057bc3cac36b3ed71cec8fa1c2cef145bed5599.tar.xz |
Sat Oct 28 22:03:51 UTC 202320231028220351
d/rust-1.70.0-x86_64-3.txz: Rebuilt.
Fixed the installation of rls and added rust-analyzer (the successor to rls)
and rust-demangler. Thanks to Heinz Wiesinger.
l/enchant-2.6.2-x86_64-1.txz: Upgraded.
l/gexiv2-0.14.2-x86_64-2.txz: Rebuilt.
Recompiled against exiv2-0.28.0.
l/libsigc++3-3.6.0-x86_64-1.txz: Upgraded.
l/vid.stab-1.1.1-x86_64-1.txz: Upgraded.
x/ibus-m17n-1.4.23-x86_64-1.txz: Upgraded.
testing/packages/rust-1.73.0-x86_64-2.txz: Rebuilt.
Fixed the installation of rls and added rust-analyzer (the successor to rls)
and rust-demangler. Thanks to Heinz Wiesinger.
Diffstat (limited to 'testing/source')
-rwxr-xr-x | testing/source/rust/rust.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/source/rust/rust.SlackBuild b/testing/source/rust/rust.SlackBuild index a0c1058b2..b8ab13a14 100755 --- a/testing/source/rust/rust.SlackBuild +++ b/testing/source/rust/rust.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=rust SRCNAM="${PKGNAM}c" VERSION=${VERSION:-1.73.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Set this to YES to build with the system LLVM, or NO to use the bundled LLVM. # YES is probably better (when it works...) @@ -164,7 +164,7 @@ link-shared = true build = "$BARCH-unknown-linux-$BABI" host = ["$TARCH-unknown-linux-$BABI"] target = ["$TARCH-unknown-linux-$BABI"] -tools = ["analysis", "cargo", "clippy", "rls", "rustfmt", "src"] +tools = ["analysis", "cargo", "clippy", "rls", "rustfmt", "src", "rust-analyzer", "rust-demangler"] submodules = false vendor = true extended = true @@ -234,6 +234,11 @@ fi python3 ./x.py build || exit 1 DESTDIR=$PKG python3 x.py install || exit 1 +# In case the rls stub doesn't get installed by the 'install' target: +if [ ! -x $PKG/usr/bin/rls ]; then + install -m755 build/*-linux-gnu/stage1-tools-bin/rls $PKG/usr/bin/rls +fi + # Fix path to lldb_commands: if [ -x $PKG/usr/bin/rust-lldb ]; then if [ ! "$LIBDIRSUFFIX" = "" ]; then |