[libcxx-commits] [libcxx] [libc++] Reintroduce LIBCXX_ENABLE_FSTREAM for independent fstream support (PR #193453)

Brian Cain via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 22 06:55:55 PDT 2026


androm3da wrote:

> I continue to not be convinced there can be no filesystem if files can be opened.

I guess the crux might be whether we think it's possible/appropriate to support a constrained environment like what's provided by baremetal + semihosting.

https://developer.arm.com/documentation/dui0471/e/semihosting/semihosting-operations

Does a libc++ with support for `<fstream>` but not the C++17 `std::filesystem` capability make sense?

Is the semihosting spec "wrong" for omitting `statvfs` and the like, or just constrained to a "reasonable" subset of filesystem operations?

https://github.com/llvm/llvm-project/pull/193453


More information about the libcxx-commits mailing list