File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change 1717
1818use std:: path:: Path ;
1919
20- type Error = Box < dyn std:: error:: Error > ;
21- type Result < T , E = Error > = std:: result:: Result < T , E > ;
22-
2320fn main ( ) -> Result < ( ) , String > {
2421 let proto_dir = Path :: new ( "proto" ) ;
2522 let proto_path = Path :: new ( "proto/datafusion_common.proto" ) ;
Original file line number Diff line number Diff line change 1717
1818use std:: path:: Path ;
1919
20- type Error = Box < dyn std:: error:: Error > ;
21- type Result < T , E = Error > = std:: result:: Result < T , E > ;
22-
2320fn main ( ) -> Result < ( ) , String > {
2421 let proto_dir = Path :: new ( "datafusion/proto" ) ;
2522 let proto_path = Path :: new ( "datafusion/proto/proto/datafusion.proto" ) ;
@@ -29,7 +26,6 @@ fn main() -> Result<(), String> {
2926 let descriptor_path = proto_dir. join ( "proto/proto_descriptor.bin" ) ;
3027
3128 prost_build:: Config :: new ( )
32- . protoc_arg ( "--experimental_allow_proto3_optional" )
3329 . file_descriptor_set_path ( & descriptor_path)
3430 . out_dir ( out_dir)
3531 . compile_well_known_types ( )
You can’t perform that action at this time.
0 commit comments