protoc warning the right way
This commit is contained in:
parent
cc5cb8a8b0
commit
f8bd8c6e65
@ -107,7 +107,10 @@ fn main() {
|
|||||||
desired_protoc_major_version, protoc_version_string
|
desired_protoc_major_version, protoc_version_string
|
||||||
);
|
);
|
||||||
} else if protoc_version_string != desired_protoc_version_string {
|
} else if protoc_version_string != desired_protoc_version_string {
|
||||||
println!("protoc version may be untested: {}", protoc_version_string);
|
println!(
|
||||||
|
"cargo:warning=protoc version may be untested: {}",
|
||||||
|
protoc_version_string
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
::capnpc::CompilerCommand::new()
|
::capnpc::CompilerCommand::new()
|
||||||
|
Loading…
Reference in New Issue
Block a user