dschuff added a comment. The 2 common WebAssembly toolchain variants (Emscripten and wasi-sdk) use libcs that are derived from musl (a subset along with additions specific to their environments); they share the system-include configuration in `WebAssembly::AddClangSystemIncludeArgs()` in `clang/lib/Driver/Toolchains/WebAssembly.cpp`, which adds the ResourceDir before the Sysroot (and that I believe results in this include order). So we should maybe consider fixing that (something @aheejin and I should discuss with @sunfish and @sbc100 and the rest of the Emscripten and/or wasi folks).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159383/new/ https://reviews.llvm.org/D159383 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits