compilation now works
This commit is contained in:
13
PKGBUILD
13
PKGBUILD
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user