[libcxx-commits] [libcxx] [libc++][NFC] Remove _LIBCPP_FREESTANDING (PR #176907)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 20 07:10:30 PST 2026
https://github.com/ldionne requested changes to this pull request.
> We will most likely never support `-ffreestanding`
I don't think that's correct, or at least this hasn't been officially discussed (and I certainly imagined that we would one day support it).
I'm not opposing the patch since the existence of `_LIBCPP_FREESTANDING` at the moment is somewhat confusing. However, I do oppose making a statement like we're never going to support it without having had a public discussion.
Instead, I would suggest that we document the (lack of) support for Freestanding in our documentation, making it clear what strategy we've been employing so far, but without eliminating the possibility that we'll one day support `-ffreestanding`.
https://github.com/llvm/llvm-project/pull/176907
More information about the libcxx-commits
mailing list