fixed buffer
This commit is contained in:
parent
c8c00793c0
commit
9c355f5579
3 changed files with 60 additions and 36 deletions
|
|
@ -5,9 +5,9 @@ authors = ["Tom Gowan <tomrgowan@gmail.com>"]
|
|||
build = "build.rs"
|
||||
|
||||
[target.'cfg(any(target_os = "windows"))'.build-dependencies]
|
||||
bindgen = "0.33.1"
|
||||
bindgen = "0.42.0"
|
||||
walkdir = "2"
|
||||
cc = "1.0.4"
|
||||
cc = "1.0.25"
|
||||
|
||||
[dependencies]
|
||||
lazy_static = "1.0.0"
|
||||
|
|
|
|||
|
|
@ -61,7 +61,10 @@ fn create_lib(cpal_asio_dir: &PathBuf) {
|
|||
let walk_a_dir = |dir_to_walk, paths: &mut Vec<PathBuf>| {
|
||||
for entry in WalkDir::new(&dir_to_walk).max_depth(1) {
|
||||
let entry = match entry {
|
||||
Err(_) => continue,
|
||||
Err(e) => {
|
||||
println!("error: {}", e);
|
||||
continue
|
||||
},
|
||||
Ok(entry) => entry,
|
||||
};
|
||||
match entry.path().extension().and_then(|s| s.to_str()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue