mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
e9e65ce96a
commit
4c390334f7
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ build:
|
|||
protobuf.dev: '*'
|
||||
script:
|
||||
# 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}}
|
||||
|
||||
test:
|
||||
|
|
Loading…
Reference in a new issue