compilation now works

This commit is contained in:
2025-12-18 21:46:39 +01:00
parent 6efc571733
commit 01d5e7677f

View File

@@ -9,11 +9,15 @@ license=('MIT')
source=("$pkgname::git+$url.git#tag=v$pkgver")
sha256sums=('SKIP')
depends=(
'zstd'
'tree-sitter'
depends=()
makedepends=(
'cargo'
'mold'
'cmake'
'util-linux'
'xcb-util'
'libxkbcommon-x11'
)
makedepends=('cargo')
export RUSTUP_TOOLCHAIN=stable
@@ -25,6 +29,7 @@ check() {
build() {
cd "$srcdir/$pkgname"
export CARGO_TARGET_DIR=target
export RUSTFLAGS="-C link-arg=-fuse-ld=mold"
cargo build --release --locked
}