Lines Matching defs:KBUILD_RUSTFLAGS
568 KBUILD_RUSTFLAGS := $(rust_common_flags) \
613 export KBUILD_RUSTFLAGS RUSTFLAGS_KERNEL RUSTFLAGS_MODULE
821 KBUILD_RUSTFLAGS += -Copt-level=2
824 KBUILD_RUSTFLAGS += -Copt-level=s
829 KBUILD_RUSTFLAGS += -Cdebug-assertions=$(if $(CONFIG_RUST_DEBUG_ASSERTIONS),y,n)
830 KBUILD_RUSTFLAGS += -Coverflow-checks=$(if $(CONFIG_RUST_OVERFLOW_CHECKS),y,n)
854 KBUILD_RUSTFLAGS-$(CONFIG_WERROR) += -Dwarnings
855 KBUILD_RUSTFLAGS += $(KBUILD_RUSTFLAGS-y)
859 KBUILD_RUSTFLAGS += -Cforce-frame-pointers=y
1032 KBUILD_RUSTFLAGS += $(KRUSTFLAGS)