Skip to content

Commit dc3f1d7

Browse files
keith-packardcfriedt
authored andcommitted
lib/cpp: Allow REQUIRES_FULL_LIBCPP to be selected by applications
Add a prompt to the Kconfig symbol so that applications can select this in to guide C++ standard library selection towards configurations which provide a complete implementation. Signed-off-by: Keith Packard <keithp@keithp.com>
1 parent 303bcfd commit dc3f1d7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lib/cpp/Kconfig

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,12 @@ config STD_CPP2B
5757
endchoice
5858

5959
config REQUIRES_FULL_LIBCPP
60-
bool
60+
bool "Require complete C++ standard library"
6161
select REQUIRES_FULL_LIBC
6262
help
63-
Helper symbol to indicate that a full C++ standard library
64-
implementation is required.
65-
66-
Select this from a symbol that enables a feature requiring a full
67-
C++ standard library implementation.
63+
Indicates that a full C++ standard library is required, either by
64+
a subsystem or an application. This will also include a full C
65+
library implementation.
6866

6967
choice LIBCPP_IMPLEMENTATION
7068
prompt "C++ Standard Library Implementation"

0 commit comments

Comments
 (0)