mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
1b6e686e0e
commit
482b457423
1 changed files with 11 additions and 8 deletions
|
@ -13,17 +13,20 @@ dependencies:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
rust-lang.org: ">=1.60"
|
rust-lang.org: '>=1.60'
|
||||||
rust-lang.org/cargo: "*"
|
rust-lang.org/cargo: '*'
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
gnu.org/patch: "*" # rquickjs-sys:build.rs:L132
|
gnu.org/patch: '*' # rquickjs-sys:build.rs:L132
|
||||||
script: |
|
script: cargo install --path . --locked --root {{prefix}}
|
||||||
cargo install --path . --root {{prefix}}
|
|
||||||
env:
|
env:
|
||||||
SURREAL_BUILD_METADATA: "pkgx"
|
SURREAL_BUILD_METADATA: 'pkgx'
|
||||||
|
RUSTFLAGS:
|
||||||
|
# required as of v1.4.0
|
||||||
|
- --cfg surrealdb_unstable
|
||||||
linux:
|
linux:
|
||||||
# Needed to build `generic-array` for some odd reason
|
RUSTFLAGS:
|
||||||
RUSTFLAGS: "-C linker=cc"
|
# Needed to build `generic-array` for some odd reason
|
||||||
|
- -C linker=cc
|
||||||
|
|
||||||
# FIXME: a better test needs to spin up the db server...
|
# FIXME: a better test needs to spin up the db server...
|
||||||
test: surreal version
|
test: surreal version
|
||||||
|
|
Loading…
Reference in a new issue