We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d57176 commit 968f30dCopy full SHA for 968f30d
asio-sys/build.rs
@@ -290,7 +290,13 @@ fn get_asio_dir() -> PathBuf {
290
// Move the contents of the inner directory to asio_dir
291
for entry in walkdir::WalkDir::new(&temp_dir).min_depth(1).max_depth(1) {
292
let entry = entry.unwrap();
293
- if entry.file_type().is_dir() && entry.file_name().to_string_lossy().starts_with("asio") {
+ if entry.file_type().is_dir()
294
+ && entry
295
+ .file_name()
296
+ .to_string_lossy()
297
+ .to_lowercase()
298
+ .starts_with("asio")
299
+ {
300
std::fs::rename(entry.path(), &asio_dir).expect("Failed to rename directory");
301
break;
302
}
0 commit comments