mirror of
https://github.com/ivabus/pantry
synced 2024-11-12 19:45:19 +03:00
parent
e9e65ce96a
commit
4c390334f7
|
@ -18,7 +18,9 @@ build:
|
||||||
protobuf.dev: '*'
|
protobuf.dev: '*'
|
||||||
script:
|
script:
|
||||||
# tries to load a vendored `protoc` with the wrong architecture
|
# tries to load a vendored `protoc` with the wrong architecture
|
||||||
- sed -i 's|protoc_bin_vendored::protoc_bin_path().expect("Failed to find protoc binary")|Path::new("{{deps.protobuf.dev.prefix}}/bin/protoc")|' build.rs
|
# removed in 0.75.0
|
||||||
|
- run: sed -i 's|protoc_bin_vendored::protoc_bin_path().expect("Failed to find protoc binary")|Path::new("{{deps.protobuf.dev.prefix}}/bin/protoc")|' build.rs
|
||||||
|
if: <0.75.0
|
||||||
- cargo install --locked --path . --root {{prefix}}
|
- cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
Loading…
Reference in a new issue