File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ index d0ee33a487be9..17f8369198873 100644
2626 -Zunstable-options --extern pin_init --extern kernel \
2727 --crate-type rlib -L $(objtree)/rust/ \
2828 --crate-name $(basename $(notdir $@)) \
29- diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn
29+ diff --git a/scripts/Makefile.warn b/scripts/Makefile.warn
3030index dca175fffcabe..7b359603c1bd7 100644
31- --- a/scripts/Makefile.extrawarn
32- +++ b/scripts/Makefile.extrawarn
31+ --- a/scripts/Makefile.warn
32+ +++ b/scripts/Makefile.warn
3333@@ -23,6 +23,7 @@ KBUILD_CFLAGS += -Wmissing-prototypes
3434
3535 ifneq ($(CONFIG_FRAME_WARN),0)
3636 KBUILD_CFLAGS += -Wframe-larger-than=$(CONFIG_FRAME_WARN)
3737+ KBUILD_RUSTFLAGS += -Wklint::stack-frame-too-large
3838 endif
3939
40- KBUILD_CPPFLAGS -$(CONFIG_WERROR ) += -Werror
40+ KBUILD_CFLAGS -$(CONFIG_CC_NO_ARRAY_BOUNDS ) += -Wno-array-bounds
You can’t perform that action at this time.
0 commit comments