We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21d879 commit 183da69Copy full SHA for 183da69
crates/cargo-gpu/src/config.rs
@@ -185,10 +185,17 @@ mod test {
185
let shader_crate_path = update_cargo_output_dir();
186
187
let args = Config::clap_command_with_cargo_config(&shader_crate_path, vec![]).unwrap();
188
- assert_eq!(
189
- args.build_args.output_dir,
190
- std::path::Path::new("/the/moon")
191
- );
+ if cfg!(target_os = "windows") {
+ assert_eq!(
+ args.build_args.output_dir,
+ std::path::Path::new("C:/the/moon")
192
+ );
193
+ } else {
194
195
196
+ std::path::Path::new("/the/moon")
197
198
+ }
199
}
200
201
#[test_log::test]
0 commit comments