Skip to content

Commit a7b3ee5

Browse files
committed
rust: Kconfig: fix typo on optimization level
Reported-by: bjorn3 <bjorn3_gh@protonmail.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent e7b22cf commit a7b3ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Kconfig.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2703,7 +2703,7 @@ config RUST_OPT_LEVEL_SIMILAR_AS_CHOSEN_FOR_C
27032703

27042704
-O2 is currently mapped to -Copt-level=2
27052705
-O3 is currently mapped to -Copt-level=3
2706-
-Os is currently mapped to -Copt-level=z
2706+
-Os is currently mapped to -Copt-level=s
27072707

27082708
The mapping may change over time to follow the intended semantics
27092709
of the choice for C as sensibly as possible.

0 commit comments

Comments
 (0)