diff --git a/native/native_rust_library/build.rs b/native/native_rust_library/build.rs --- a/native/native_rust_library/build.rs +++ b/native/native_rust_library/build.rs @@ -10,6 +10,9 @@ ) .unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e)); let _cxx_build = - cxx_build::bridge("src/lib.rs").flag_if_supported("-std=c++14"); - println!("cargo:rerun-if-changed=src/hello.c"); + cxx_build::bridge("src/lib.rs").flag_if_supported("-std=c++17"); + + println!("cargo:rerun-if-changed=src/lib.rs"); + println!("cargo:rerun-if-changed=../../shared/protos/identity.proto"); + println!("cargo:rerun-if-changed=../../shared/protos/tunnelbroker.proto"); }