Skip to content

Commit

Permalink
Doc improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon committed Mar 23, 2024
1 parent 1f60389 commit 09dbf35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/compilers/clang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,14 @@ export class ClangCompiler extends BaseCompiler {
return this.forceDwarf4UnlessOverridden(options);
}

// Cross-compiling for clang with -stdlib=libc++ is currently (at least up to 18.1.0) broken:
// Clang cross-compile with -stdlib=libc++ is currently (up to at least 18.1.0) broken:
// https://github.com/llvm/llvm-project/issues/57104
//
// To smoke-test future versions, check if this succeeds: https://godbolt.org/z/7dKrad7Wc
//
// Below is a workaround discussed in CE issue #5293. If the llvm issue is ever resolved it would be best
// to apply this only for clang versions up to the official resolution.

override filterUserOptions(userOptions: string[]): string[] {
if (
this.lang.id === 'c++' &&
Expand Down

0 comments on commit 09dbf35

Please sign in to comment.