Build hyprland-preview-share-picker with stable Rust

This commit is contained in:
Scott Jones authored and Ryan Hughes committed 2026-09-19 18:40:12 -04:00
1 parent 54ce26ccb8
commit a1a32908c5
1 file changed
+3 -3
@@ -2,7 +2,7 @@
pkgname="hyprland-preview-share-picker" pkgname="hyprland-preview-share-picker"
pkgver=0.2.1 pkgver=0.2.1
pkgrel=1 pkgrel=2
pkgdesc="An alternative share picker for hyprland with window and monitor previews" pkgdesc="An alternative share picker for hyprland with window and monitor previews"
arch=(x86_64 aarch64) arch=(x86_64 aarch64)
url="https://github.com/WhySoBad/hyprland-preview-share-picker" url="https://github.com/WhySoBad/hyprland-preview-share-picker"
@@ -32,14 +32,14 @@ fn main() {
} }
EOF EOF
export RUSTUP_TOOLCHAIN=nightly export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
} }
build() { build() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
export RUSTUP_TOOLCHAIN=nightly export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target export CARGO_TARGET_DIR=target
cargo build --frozen --release cargo build --frozen --release