File tree Expand file tree Collapse file tree
crates/brioche-resources/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[workspace .package ]
22edition = " 2024"
3- rust-version = " 1.87 " # To align with the rust-toolchain.toml
3+ rust-version = " 1.88 " # To align with the rust-toolchain.toml
44
55[workspace ]
66members = [
Original file line number Diff line number Diff line change @@ -17,19 +17,19 @@ pub fn find_resource_dirs(
1717 paths. push ( PathBuf :: from ( pack_resource_dir) ) ;
1818 }
1919
20- if include_readonly {
21- if let Some ( input_resource_dirs) = std:: env:: var_os ( "BRIOCHE_INPUT_RESOURCE_DIRS" ) {
22- if let Some ( input_resource_dirs ) = < [ u8 ] > :: from_os_str ( & input_resource_dirs ) {
23- for input_resource_dir in input_resource_dirs . split_str ( b":" ) {
24- if let Ok ( path ) = input_resource_dir . to_path ( ) {
25- paths . push ( path . to_owned ( ) ) ;
26- }
20+ if include_readonly
21+ && let Some ( input_resource_dirs) = std:: env:: var_os ( "BRIOCHE_INPUT_RESOURCE_DIRS" )
22+ {
23+ if let Some ( input_resource_dirs ) = < [ u8 ] > :: from_os_str ( & input_resource_dirs ) {
24+ for input_resource_dir in input_resource_dirs . split_str ( b":" ) {
25+ if let Ok ( path ) = input_resource_dir . to_path ( ) {
26+ paths . push ( path . to_owned ( ) ) ;
2727 }
2828 }
29+ }
2930
30- for input_resource_dir in std:: env:: split_paths ( & input_resource_dirs) {
31- paths. push ( input_resource_dir) ;
32- }
31+ for input_resource_dir in std:: env:: split_paths ( & input_resource_dirs) {
32+ paths. push ( input_resource_dir) ;
3333 }
3434 }
3535
Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " 1.87 "
2+ channel = " 1.88 "
33profile = " default"
44targets = [" x86_64-unknown-linux-musl" ]
You can’t perform that action at this time.
0 commit comments