From a842e44f7e05a3b1a8ec87f06f93f3e8ab9f6526 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 29 Jul 2026 13:13:33 -0400 Subject: [PATCH 1/2] Try inline instead of inline(always) --- 0001-Use-inline-always-for-bitfield-test-conversions.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0001-Use-inline-always-for-bitfield-test-conversions.patch b/0001-Use-inline-always-for-bitfield-test-conversions.patch index 357b1cc..753ddd1 100644 --- a/0001-Use-inline-always-for-bitfield-test-conversions.patch +++ b/0001-Use-inline-always-for-bitfield-test-conversions.patch @@ -27,7 +27,7 @@ diff --git a/rust/kernel/bitfield.rs b/rust/kernel/bitfield.rs } impl From for Bounded { -+ #[inline(always)] ++ #[inline] fn from(mt: MemoryType) -> Bounded { Bounded::from_expr(mt as u64) } @@ -35,7 +35,7 @@ diff --git a/rust/kernel/bitfield.rs b/rust/kernel/bitfield.rs } impl From for Bounded { -+ #[inline(always)] ++ #[inline] fn from(p: Priority) -> Bounded { Bounded::from_expr(p as u16) } From 1b6603d57278197b146cbd95f91bb2ab82818e35 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Wed, 29 Jul 2026 14:12:56 -0400 Subject: [PATCH 2/2] Disable inline patch --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 947b089..6e83573 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -94,7 +94,7 @@ jobs: # - run: git -C linux apply ../ci/x86-boot-Use-std-gnu11-to-fix-build-with-GCC-15.patch # TODO: remove when fixed upstream. - - run: git -C linux apply ../ci/0001-Use-inline-always-for-bitfield-test-conversions.patch + # - run: git -C linux apply ../ci/0001-Use-inline-always-for-bitfield-test-conversions.patch # TODO: remove when fixed upstream. - run: git -C linux apply ../ci/0002-Path-qualify-zerocopy-extern-in-rusttestlib-kernel.patch