From 8c9688fff4446a1b0f5fe9a9be0c50084726cc4d Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Wed, 2 Jul 2025 00:33:19 +0100 Subject: CLI cleanups; fix the FreeBSD build --- nihil.std/nihil.std.ccm | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'nihil.std') diff --git a/nihil.std/nihil.std.ccm b/nihil.std/nihil.std.ccm index 80ca3c9..d0a20b1 100644 --- a/nihil.std/nihil.std.ccm +++ b/nihil.std/nihil.std.ccm @@ -1,4 +1,5 @@ // This source code is released into the public domain. + module; // Export the parts of std that nihil uses. This is technically undefined behaviour since we're @@ -165,6 +166,7 @@ using std::uint64_t; // using std::exit; using std::quick_exit; +using std::abort; // using std::FILE; @@ -196,11 +198,35 @@ using std::filesystem::exists; } // +using std::basic_format_context; +using std::format_context; +using std::wformat_context; +using std::basic_format_args; +using std::format_args; +using std::wformat_args; +using std::basic_format_string; +using std::format_string; +using std::wformat_string; +using std::runtime_format; using std::format; -using std::formatter; using std::format_to; +using std::vformat; +using std::vformat_to; using std::format_to_n; -using std::runtime_format; +using std::format_to_n_result; +using std::formatted_size; +using std::formatter; +using std::formattable; +using std::basic_format_parse_context; +using std::format_parse_context; +using std::wformat_parse_context; +using std::format_kind; +using std::range_format; +using std::range_formatter; +using std::basic_format_arg; +using std::visit_format_arg; +using std::make_format_args; +using std::make_wformat_args; using std::format_error; // @@ -289,6 +315,8 @@ using std::optional; // using std::print; using std::println; +using std::vprint_nonunicode; +using std::vprint_unicode; // using std::default_random_engine; -- cgit v1.2.3