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,5 @@ ) .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"); }