From f8bd8c6e657d8172f9d7eacddf253cb80e2f1c56 Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Mon, 16 Oct 2023 15:08:55 -0400 Subject: [PATCH] protoc warning the right way --- veilid-core/build.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/veilid-core/build.rs b/veilid-core/build.rs index 5f38c28e..af395a7c 100644 --- a/veilid-core/build.rs +++ b/veilid-core/build.rs @@ -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()