mirror of
https://github.com/mii443/merkle.rs.git
synced 2025-08-22 16:05:30 +00:00
rustfmt
This commit is contained in:
committed by
Romain Ruetschi
parent
51800be20c
commit
62ba4ea8b2
4
build.rs
4
build.rs
@ -37,7 +37,9 @@ fn build_protobuf_schemata() {
|
|||||||
let mut version_string = String::new();
|
let mut version_string = String::new();
|
||||||
let mut version_pin =
|
let mut version_pin =
|
||||||
File::open("PROTOC_VERSION").expect("protoc version pin `PROTOC_VERSION` file is missing");
|
File::open("PROTOC_VERSION").expect("protoc version pin `PROTOC_VERSION` file is missing");
|
||||||
version_pin.read_to_string(&mut version_string).expect("cannot read protoc pin file");
|
version_pin
|
||||||
|
.read_to_string(&mut version_string)
|
||||||
|
.expect("cannot read protoc pin file");
|
||||||
assert_protobuf_version(version_string);
|
assert_protobuf_version(version_string);
|
||||||
build_protobuf("src/proto", &["protobuf/proof.proto"], &[]);
|
build_protobuf("src/proto", &["protobuf/proof.proto"], &[]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user