Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheConner committed Jun 10, 2023
1 parent 63fae26 commit 677ea14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindgen/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,8 @@ fn rust_to_clang_target(rust_target: &str) -> String {
return clang_target;
} else if rust_target.starts_with("riscv32imac-") {
let mut clang_target = "riscv32-".to_owned();
clang_target.push_str(rust_target.strip_prefix("riscv32imac-").unwrap());
clang_target
.push_str(rust_target.strip_prefix("riscv32imac-").unwrap());
return clang_target;
}
rust_target.to_owned()
Expand Down

0 comments on commit 677ea14

Please sign in to comment.