Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 703f234

Browse files
committed
FROMLIST: rust: don't select CONSTRUCTORS
This was originally part of commit 4b9a68f2e59a0 ("rust: add support for static synchronisation primitives") from the old Rust branch, which used module constructors to initialize globals containing various synchronisation primitives with pin-init. That commit has never been upstreamed, but the `select CONSTRUCTORS` statement ended up being included in the patch that initially added Rust support to the Linux Kernel. We are not using module constructors, so let's remove the select. Bug: 328029474 Link: https://lore.kernel.org/r/[email protected] Change-Id: I8380b421a4e1a2b3b5334b47f3fafbc630376c05 Signed-off-by: Alice Ryhl <[email protected]>
1 parent c5f9e2f commit 703f234

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

init/Kconfig

-1
Original file line numberDiff line numberDiff line change
@@ -1889,7 +1889,6 @@ config RUST
18891889
depends on !GCC_PLUGINS
18901890
depends on !RANDSTRUCT
18911891
depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
1892-
select CONSTRUCTORS
18931892
help
18941893
Enables Rust support in the kernel.
18951894

0 commit comments

Comments
 (0)