mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
community/viu: fix rust target setting
This commit is contained in:
parent
efcd62685a
commit
8e5dcc3f1c
@ -1,7 +1,7 @@
|
||||
# Maintainer: omni <omni+alpine@hack.org>
|
||||
pkgname=viu
|
||||
pkgver=1.4.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Terminal image viewer"
|
||||
# s390x: the trait `From<i32>` is not implemented for `u64` (in `terminal_size` crate)
|
||||
arch="all !s390x"
|
||||
@ -17,9 +17,10 @@ prepare() {
|
||||
default_prepare
|
||||
|
||||
# Build against system-provided sixel.
|
||||
local target=$(rustc -vV | sed -n 's/host: //p')
|
||||
mkdir -p .cargo
|
||||
cat >> .cargo/config.toml <<-EOF
|
||||
[target.$CTARGET]
|
||||
[target.$target]
|
||||
sixel = { rustc-link-lib = ["sixel"] }
|
||||
EOF
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user