fix(cargo)

closes #3587
This commit is contained in:
Jacob Heider 2023-10-09 16:36:00 -04:00 committed by Jacob Heider
parent 761fec27f2
commit d31bca2e60

View file

@ -17,9 +17,9 @@ companions:
rust-lang.org: '*' rust-lang.org: '*'
dependencies: dependencies:
openssl.org: ^1 # cargo needs the certs
zlib.net: ^1 zlib.net: ^1
libgit2.org: ^1 libgit2.org: ^1
curl.se/ca-certs: '*'
linux: linux:
llvm.org: '*' # FIXME only need the linker actually llvm.org: '*' # FIXME only need the linker actually
curl.se: '*' curl.se: '*'
@ -35,10 +35,10 @@ build:
freedesktop.org/pkg-config: ^0.29 freedesktop.org/pkg-config: ^0.29
rust-lang.org/cargo: '*' rust-lang.org/cargo: '*'
script: script:
# otherwise we are not ABI compatible and new macOS versions may break # otherwise we are not ABI compatible and new macOS versions may break
# this happened with Sonoma # this happened with Sonoma
- echo "default = ['curl/force-system-lib-on-osx']" >> Cargo.toml - echo "default = ['curl/force-system-lib-on-osx']" >> Cargo.toml
- cargo install - cargo install
--verbose --verbose
--root={{ prefix }} --root={{ prefix }}
--path=. --path=.
@ -47,7 +47,7 @@ build:
LIBSSH2_SYS_USE_PKG_CONFIG: 1 LIBSSH2_SYS_USE_PKG_CONFIG: 1
test: test:
dependencies: #FIXME brewkit should add companions to the test env dependencies: #FIXME brewkit should add companions to the test env
git-scm.org: ^2 git-scm.org: ^2
rust-lang.org: '*' rust-lang.org: '*'
script: | script: |