[clang] [llvm] Conditionalize use of POSIX features missing on WASI/WebAssembly (PR #92677)
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 13:42:03 PDT 2024
AaronBallman wrote:
Comments in the config file isn't a harmful thing, but I'm also worried about folks who never see the config file. e.g., they're working in Path.inc on something, see `HAVE_PWD_H` in the code, and just make assumptions from there.
So perhaps a two-pronged approach: a comment in config.h for the cases where we don't expect a graceful fallback, and a similar comment around the guarded #include in source for the folks who won't look in config.h?
https://github.com/llvm/llvm-project/pull/92677
More information about the llvm-commits
mailing list