Skip to content

Commit

Permalink
Be explicit about the type for lib root names.
Browse files Browse the repository at this point in the history
Else the build fails when there are no requested features.
  • Loading branch information
andriyDev committed May 1, 2023
1 parent d44e190 commit a83b8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ fn lib_names() -> Vec<String> {
#[cfg(feature = "detour_tile_cache")]
root_names.push("DetourTileCache");
if is_debug() {
root_names.iter().map(|root| root.to_string() + "-d").collect()
root_names.iter().map(|root: &&str| root.to_string() + "-d").collect()
} else {
root_names.iter().map(|root| root.to_string()).collect()
root_names.iter().map(|root: &&str| root.to_string()).collect()
}
}

Expand Down

0 comments on commit a83b8a9

Please sign in to comment.