mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-28 00:58:59 +00:00
@@ -50,7 +50,7 @@ fn main() -> Result<(), AnyError> {
|
||||
.protoc_arg("--experimental_allow_proto3_optional")
|
||||
.compile_well_known_types(true)
|
||||
.emit_rerun_if_changed(false)
|
||||
.compile(proto_files, &[proto_dir.clone()])
|
||||
.compile_protos(proto_files, &[proto_dir.clone()])
|
||||
.map_err(|e| format!("Failed to generate protobuf file: {e}."))?;
|
||||
|
||||
// protos/gen/mod.rs
|
||||
|
||||
Reference in New Issue
Block a user