]> Gentwo Git Trees - linux/.git/commit
rust: Add -fno-isolate-erroneous-paths-dereference to bindgen_skip_c_flags
authorXi Ruoyao <xry111@xry111.site>
Sun, 9 Nov 2025 08:01:50 +0000 (16:01 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 10 Nov 2025 00:37:06 +0000 (08:37 +0800)
commitfe4b3a34e9a9654d98d274218dac0270779db0ae
treee35b903e878666a7a37b160f2197474f7a8dc395
parente9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c
rust: Add -fno-isolate-erroneous-paths-dereference to bindgen_skip_c_flags

It's used to work around an objtool issue since commit abb2a5572264
("LoongArch: Add cflag -fno-isolate-erroneous-paths-dereference"), but
it's then passed to bindgen and cause an error because Clang does not
have this option.

Fixes: abb2a5572264 ("LoongArch: Add cflag -fno-isolate-erroneous-paths-dereference")
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Tested-by: Mingcong Bai <jeffbai@aosc.io>
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
rust/Makefile