Lines Matching refs:KBUILD_RUSTFLAGS
556 KBUILD_RUSTFLAGS := $(rust_common_flags) \
596 export KBUILD_RUSTFLAGS RUSTFLAGS_KERNEL RUSTFLAGS_MODULE
803 KBUILD_RUSTFLAGS += -Copt-level=2
806 KBUILD_RUSTFLAGS += -Copt-level=s
811 KBUILD_RUSTFLAGS += -Cdebug-assertions=$(if $(CONFIG_RUST_DEBUG_ASSERTIONS),y,n)
812 KBUILD_RUSTFLAGS += -Coverflow-checks=$(if $(CONFIG_RUST_OVERFLOW_CHECKS),y,n)
836 KBUILD_RUSTFLAGS-$(CONFIG_WERROR) += -Dwarnings
837 KBUILD_RUSTFLAGS += $(KBUILD_RUSTFLAGS-y)
841 KBUILD_RUSTFLAGS += -Cforce-frame-pointers=y
929 KBUILD_RUSTFLAGS += -Zsanitizer=shadow-call-stack
961 KBUILD_RUSTFLAGS += $(RUSTC_FLAGS_CFI)
1033 KBUILD_RUSTFLAGS += $(KRUSTFLAGS)