protoc warning the right way

This commit is contained in:
Christien Rioux 2023-10-16 15:08:55 -04:00
parent cc5cb8a8b0
commit f8bd8c6e65

View File

@ -107,7 +107,10 @@ fn main() {
desired_protoc_major_version, 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()