Skip to content

Commit

Permalink
Rollup merge of rust-lang#109519 - bzEq:aix-llvm-c++, r=cuviper
Browse files Browse the repository at this point in the history
Link against libc++ on AIX

LLVM on AIX currently is utilizing runtimes in llvm-project, such as libc++, libc++abi and libunwind.
  • Loading branch information
matthiaskrgr authored Mar 24, 2023
2 parents 2270bde + 3a7977e commit 4378369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_llvm/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ fn main() {
} else if target.contains("darwin")
|| target.contains("freebsd")
|| target.contains("windows-gnullvm")
|| target.contains("aix")
{
"c++"
} else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
Expand Down

0 comments on commit 4378369

Please sign in to comment.