summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsonka Mihaly2019-07-15 21:35:48 +0200
committerCsonka Mihaly2019-07-15 21:35:48 +0200
commite8df48ce1cea2bf4ff30508083d2b23b1179031d (patch)
treedfd1fd4cd5340049b9e85de8b6b5e471e9d3ba59
parent3501de90952c74a386b0cde75c7bea964738fa1f (diff)
downloadaur-e8df48ce1cea2bf4ff30508083d2b23b1179031d.tar.gz
Fix cargo toolchain being used.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD16
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 914fb7cab5b..1d1f2389188 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rust-analyzer-vscode-git
pkgdesc = An experimental Rust compiler front-end for IDEs (VSCode installation).
pkgver = r4319.8de56ec4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rust-analyzer/rust-analyzer/
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 77aa72b3300..acd1552500f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Kibouo <csonka.mihaly@hotmail.com>
pkgname=rust-analyzer-vscode-git
pkgver=r4319.8de56ec4
-pkgrel=1
+pkgrel=2
pkgdesc='An experimental Rust compiler front-end for IDEs (VSCode installation).'
arch=('any')
url='https://github.com/rust-analyzer/rust-analyzer/'
@@ -13,16 +13,16 @@ conflicts=("${pkgname}" 'rust-analyzer-git')
source=("${pkgname}::git+${url}")
md5sums=('SKIP')
pkgver() {
- cd "${pkgname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd $pkgname
- cargo build --release
+ cd $pkgname
+ cargo +stable build --release
- cd ./editors/code
- npm install
+ cd ./editors/code
+ npm install
}
package() {
@@ -33,4 +33,4 @@ package() {
cd ./editors/code
./node_modules/vsce/out/vsce package
code --install-extension ./ra-lsp-0.0.1.vsix
-} \ No newline at end of file
+}