fix(surrealdb)

closes #5842
This commit is contained in:
Jacob Heider 2024-04-09 15:59:19 -04:00 committed by Jacob Heider
parent 1b6e686e0e
commit 482b457423

View file

@ -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