HACK: Disable kernel_user_helpers on armel
authorAdrian Bunk <bunk@debian.org>
Mon, 31 Oct 2022 13:19:34 +0000 (13:19 +0000)
committerFabian Gruenbichler <debian@fabian.gruenbichler.email>
Mon, 31 Oct 2022 13:19:34 +0000 (13:19 +0000)
Workaround to fix the build, should be removed when properly fixed in
https://github.com/rust-lang/compiler-builtins/issues/420

Gbp-Pq: Name u-hack-armel-no-kernel-user-helpers.patch

vendor/compiler_builtins/src/lib.rs

index 9ca72bc20f4e3048292d4adf4e62cbb4ba2ca64b..05624363f01df8e4c25f3be38fbeb48aae435cb3 100644 (file)
@@ -55,7 +55,7 @@ pub mod arm;
 
 #[cfg(all(
     kernel_user_helpers,
-    any(target_os = "linux", target_os = "android"),
+    any(target_os = "android"),
     target_arch = "arm"
 ))]
 pub mod arm_linux;