diff mbox series

[2/2] selftests: rust: config: disable GCC_PLUGINS

Message ID 20240802124536.2905797-2-anders.roxell@linaro.org (mailing list archive)
State Accepted
Commit 8afc0816f5f6213c2f40399317e2ecd43371729c
Headers show
Series [1/2] selftests: rust: config: add trailing newline | expand

Commit Message

Anders Roxell Aug. 2, 2024, 12:45 p.m. UTC
CONFIG_RUST depends on !CONFIG_GCC_PLUGINS. Disable CONFIG_GCC_PLUGINS
in rust/config file to make sure it doesn't get enabled.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 tools/testing/selftests/rust/config | 1 +
 1 file changed, 1 insertion(+)

Comments

Miguel Ojeda Aug. 10, 2024, 10:34 a.m. UTC | #1
On Fri, Aug 2, 2024 at 2:45 PM Anders Roxell <anders.roxell@linaro.org> wrote:
>
> CONFIG_RUST depends on !CONFIG_GCC_PLUGINS. Disable CONFIG_GCC_PLUGINS
> in rust/config file to make sure it doesn't get enabled.
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

Acked-by: Miguel Ojeda <ojeda@kernel.org>

When https://lore.kernel.org/rust-for-linux/20240731125615.3368813-1-neal@gompa.dev/
goes in, this could also be relaxed.

Thanks!

Cheers,
Miguel
Shuah Khan Aug. 11, 2024, 11:35 p.m. UTC | #2
On 8/10/24 04:34, Miguel Ojeda wrote:
> On Fri, Aug 2, 2024 at 2:45 PM Anders Roxell <anders.roxell@linaro.org> wrote:
>>
>> CONFIG_RUST depends on !CONFIG_GCC_PLUGINS. Disable CONFIG_GCC_PLUGINS
>> in rust/config file to make sure it doesn't get enabled.
>>
>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> 
> Acked-by: Miguel Ojeda <ojeda@kernel.org>
> 
> When https://lore.kernel.org/rust-for-linux/20240731125615.3368813-1-neal@gompa.dev/
> goes in, this could also be relaxed.
> 
> Thanks!
> 
> Cheers,
> Miguel

Applied to linux-kselftest next for Linux 6.12-rc1.

thanks,
-- Shuah
diff mbox series

Patch

diff --git a/tools/testing/selftests/rust/config b/tools/testing/selftests/rust/config
index fa06cebae232..5f942b5c8c17 100644
--- a/tools/testing/selftests/rust/config
+++ b/tools/testing/selftests/rust/config
@@ -1,3 +1,4 @@ 
+# CONFIG_GCC_PLUGINS is not set
 CONFIG_RUST=y
 CONFIG_SAMPLES=y
 CONFIG_SAMPLES_RUST=y