Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Dec 7, 2024
1 parent cfa762d commit 583587e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn run() -> Result<(), Box<dyn Error>> {
for entry in read_dir(llvm_config("--libdir")?)? {
if let Some(name) = entry?.path().file_name().and_then(OsStr::to_str) {
if name.starts_with("libMLIRCAPI") {
if let Some(name) = parse_archive_name(&name) {
if let Some(name) = parse_archive_name(name) {
println!("cargo:rustc-link-lib=static={name}");
}
}
Expand Down

0 comments on commit 583587e

Please sign in to comment.