Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3491133
D6014.id20226.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
685 B
Referenced Files
None
Subscribers
None
D6014.id20226.diff
View Options
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");
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 6:17 PM (17 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2676861
Default Alt Text
D6014.id20226.diff (685 B)
Attached To
Mode
D6014: [native/rust_library] Removing of testing `hello.c` and increase C++ standard to 17 in `build.rs`
Attached
Detach File
Event Timeline
Log In to Comment