We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f828194 commit 6410a06Copy full SHA for 6410a06
1 file changed
rust/perspective-client/build.rs
@@ -63,10 +63,12 @@ fn prost_build() -> Result<()> {
63
.compile_protos(&[proto_file], &[include_path])
64
.unwrap();
65
66
- std::fs::rename(
+ std::fs::copy(
67
std::env::var("OUT_DIR").unwrap() + "/perspective.proto.rs",
68
"src/rust/proto.rs",
69
)?;
70
+
71
+ std::fs::remove_file(std::env::var("OUT_DIR").unwrap() + "/perspective.proto.rs")?;
72
}
73
74
Ok(())
0 commit comments