@@ -27,7 +27,7 @@ branch = "main"
2727mode = "single"
2828paths = [{{ crate = "crates/mylib" }}]
2929"# ,
30- split_path. display( )
30+ split_path. display( ) . to_string ( ) . replace ( '\\' , " \\ \\ " )
3131 ) ;
3232 std:: fs:: write ( ws. path . join ( "rail.toml" ) , config) ?;
3333
@@ -78,7 +78,7 @@ branch = "main"
7878mode = "single"
7979paths = [{{ crate = "crates/mylib" }}]
8080"# ,
81- split_dir. path( ) . display( )
81+ split_dir. path( ) . display( ) . to_string ( ) . replace ( '\\' , " \\ \\ " )
8282 ) ;
8383 std:: fs:: write ( ws. path . join ( "rail.toml" ) , config) ?;
8484
@@ -122,7 +122,7 @@ branch = "main"
122122mode = "single"
123123paths = [{{ crate = "crates/lib-a" }}]
124124"# ,
125- split_dir. path( ) . display( )
125+ split_dir. path( ) . display( ) . to_string ( ) . replace ( '\\' , " \\ \\ " )
126126 ) ;
127127 std:: fs:: write ( ws. path . join ( "rail.toml" ) , config) ?;
128128
@@ -162,7 +162,7 @@ branch = "main"
162162mode = "single"
163163paths = [{{ crate = "crates/lib-core" }}]
164164"# ,
165- split_dir. path( ) . display( )
165+ split_dir. path( ) . display( ) . to_string ( ) . replace ( '\\' , " \\ \\ " )
166166 ) ;
167167 std:: fs:: write ( ws. path . join ( "rail.toml" ) , config) ?;
168168
0 commit comments