|
6 | 6 | macro_rules! lazy_static_include_array { |
7 | 7 | ( @i $name:ident: [$t:ident; $s:expr], $path:expr ) => { |
8 | 8 | { |
9 | | - let path = $crate::slash_formatter::concat_with_file_separator!(env!("CARGO_MANIFEST_DIR"), $path); |
| 9 | + let path = $crate::slash_formatter::concat_with_file_separator_debug_release!(env!("CARGO_MANIFEST_DIR"), $path); |
10 | 10 |
|
11 | 11 | let text = ::std::fs::read_to_string(path).unwrap(); |
12 | 12 |
|
@@ -71,7 +71,7 @@ macro_rules! lazy_static_include_array { |
71 | 71 | }; |
72 | 72 | ( @u $name:ident: [$t:ident; $s:expr], $path:expr ) => { |
73 | 73 | { |
74 | | - let path = $crate::slash_formatter::concat_with_file_separator!(env!("CARGO_MANIFEST_DIR"), $path); |
| 74 | + let path = $crate::slash_formatter::concat_with_file_separator_debug_release!(env!("CARGO_MANIFEST_DIR"), $path); |
75 | 75 |
|
76 | 76 | let text = ::std::fs::read_to_string(path).unwrap(); |
77 | 77 |
|
@@ -120,7 +120,7 @@ macro_rules! lazy_static_include_array { |
120 | 120 | }; |
121 | 121 | ( @f $name:ident: [$t:ident; $s:expr], $path:expr ) => { |
122 | 122 | { |
123 | | - let path = $crate::slash_formatter::concat_with_file_separator!(env!("CARGO_MANIFEST_DIR"), $path); |
| 123 | + let path = $crate::slash_formatter::concat_with_file_separator_debug_release!(env!("CARGO_MANIFEST_DIR"), $path); |
124 | 124 |
|
125 | 125 | let text = ::std::fs::read_to_string(path).unwrap(); |
126 | 126 |
|
@@ -200,7 +200,7 @@ macro_rules! lazy_static_include_array { |
200 | 200 | }; |
201 | 201 | ( @c $name:ident: [$t:ident; $s:expr], $path:expr ) => { |
202 | 202 | { |
203 | | - let path = $crate::slash_formatter::concat_with_file_separator!(env!("CARGO_MANIFEST_DIR"), $path); |
| 203 | + let path = $crate::slash_formatter::concat_with_file_separator_debug_release!(env!("CARGO_MANIFEST_DIR"), $path); |
204 | 204 |
|
205 | 205 | let text = ::std::fs::read_to_string(path).unwrap(); |
206 | 206 |
|
@@ -236,7 +236,7 @@ macro_rules! lazy_static_include_array { |
236 | 236 | }; |
237 | 237 | ( @b $name:ident: [$t:ident; $s:expr], $path:expr ) => { |
238 | 238 | { |
239 | | - let path = $crate::slash_formatter::concat_with_file_separator!(env!("CARGO_MANIFEST_DIR"), $path); |
| 239 | + let path = $crate::slash_formatter::concat_with_file_separator_debug_release!(env!("CARGO_MANIFEST_DIR"), $path); |
240 | 240 |
|
241 | 241 | let text = ::std::fs::read_to_string(path).unwrap(); |
242 | 242 |
|
@@ -274,7 +274,7 @@ macro_rules! lazy_static_include_array { |
274 | 274 | { |
275 | 275 | use ::std::mem::{forget, transmute}; |
276 | 276 |
|
277 | | - let path = $crate::slash_formatter::concat_with_file_separator!(env!("CARGO_MANIFEST_DIR"), $path); |
| 277 | + let path = $crate::slash_formatter::concat_with_file_separator_debug_release!(env!("CARGO_MANIFEST_DIR"), $path); |
278 | 278 |
|
279 | 279 | let text = ::std::fs::read_to_string(path).unwrap(); |
280 | 280 |
|
|
0 commit comments