From 2795b16d4c5a50e68d9f6fd12113edd7851be179 Mon Sep 17 00:00:00 2001 From: Alejandro Osornio Date: Sat, 15 Jun 2024 03:23:00 -0600 Subject: [PATCH] Reapply "Use stable rust" This reverts commit 5e0ae607f6bb2353bb321f805be9e53b9919986e. --- helix-git/PKGBUILD | 6 +++--- typst-git/PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/helix-git/PKGBUILD b/helix-git/PKGBUILD index 225295a..252bbf6 100644 --- a/helix-git/PKGBUILD +++ b/helix-git/PKGBUILD @@ -10,7 +10,7 @@ pkgdesc="A text editor written in rust" url="https://helix-editor.com" _git="https://github.com/AOx0/${_pkgname}.git#branch=inline-diagnostics" arch=(x86_64) -makedepends=('git' 'cargo-nightly') +makedepends=('git' 'cargo') depends=() provides=('hx') conflicts=('helix') @@ -77,9 +77,9 @@ EOF _srcenv() { - export RUSTUP_TOOLCHAIN=nightly + export RUSTUP_TOOLCHAIN=stable export CARGO_TARGET_DIR=target - export RUSTFLAGS="-Z threads=2" + # export RUSTFLAGS="-Z threads=2" } build() { diff --git a/typst-git/PKGBUILD b/typst-git/PKGBUILD index 0c02114..4a634fa 100644 --- a/typst-git/PKGBUILD +++ b/typst-git/PKGBUILD @@ -9,7 +9,7 @@ pkgdesc='A markup-based typesetting system for the sciences' license=('Apache-2.0') arch=('any') _url="https://github.com/$_pkgname/$_pkgname" -makedepends=('cargo-nightly' 'git') +makedepends=('cargo' 'git') provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") depends=('gcc-libs' 'glibc') @@ -31,9 +31,9 @@ pkgver() { _srcenv() { - export RUSTUP_TOOLCHAIN=nightly + export RUSTUP_TOOLCHAIN=stable export CARGO_TARGET_DIR=target - export RUSTFLAGS="-Z threads=2" + # export RUSTFLAGS="-Z threads=2" } build() {