Skip to content

Commit

Permalink
Use stable rust
Browse files Browse the repository at this point in the history
  • Loading branch information
AOx0 committed Apr 13, 2024
1 parent 7d5fbd8 commit de583b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
7 changes: 2 additions & 5 deletions helix-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pkgdesc="A text editor written in rust"
url="https://helix-editor.com"
_git="https://github.com/helix-editor/${_pkgname}.git"
arch=(x86_64)
makedepends=('git' 'rustup')
makedepends=('git' 'cargo')
depends=()
provides=('hx')
conflicts=('helix')
Expand Down Expand Up @@ -76,11 +76,8 @@ EOF


_srcenv() {
export RUSTUP_TOOLCHAIN=nightly
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export RUSTFLAGS="-Z threads=2"

rustup toolchain add nightly
}

build() {
Expand Down
9 changes: 3 additions & 6 deletions typst-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ pkgdesc='A markup-based typesetting system for the sciences'
license=('Apache-2.0')
arch=('any')
_url="https://github.com/$_pkgname/$_pkgname"
makedepends=(rustup
git)
makedepends=(cargo
git)
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
depends=(gcc-libs
Expand All @@ -33,11 +33,8 @@ pkgver() {


_srcenv() {
export RUSTUP_TOOLCHAIN=nightly
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
export RUSTFLAGS="-Z threads=2"

rustup toolchain add nightly
}

build() {
Expand Down

0 comments on commit de583b7

Please sign in to comment.