From 5ebe62ebed18201cb67e901105072ab5660de2ba Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 4 Dec 2025 17:23:17 +0100 Subject: [PATCH] rusticl: silence incorrect clippy error about re-implementing memcpy Part-of: --- src/gallium/frontends/rusticl/core/kernel.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/frontends/rusticl/core/kernel.rs b/src/gallium/frontends/rusticl/core/kernel.rs index 5132f5b8392..c2577299cfa 100644 --- a/src/gallium/frontends/rusticl/core/kernel.rs +++ b/src/gallium/frontends/rusticl/core/kernel.rs @@ -1441,6 +1441,8 @@ impl Kernel { ) { // We have to use the required workgroup size if specified. if self.work_group_size() != [0; 3] { + // This is not just a memcpy, clippy is wrong here + #[expect(clippy::manual_memcpy)] for i in 0..work_dim { block[i] = self.work_group_size()[i]; grid[i] /= block[i];