Skip to content

Fix building several modules as built-in #9

Closed

Description

@ojeda

Currently building several built-in modules does not work since shared crates are re-compiled (and therefore re-linked) for each module.

Activity

  1. changed the title [-]Fix several built-in modules[/-] [+]Fix building several modules as built-in[/+] on Sep 13, 2020
  2. ojeda commented on Sep 18, 2020

    @ojeda
    MemberAuthor

    To expand a bit on this: a quick workaround would be hiding symbols, but ideally we want to share the common code, even for loadable modules. The reason is that we want to be able to build kernels with Rust support built-in so that Rust loadable modules can be as small as possible.

    In fact, that will likely be the most common use case as soon as distro kernels start shipping with Rust modules. Until then, third-party modules would still need a way to embed the Rust support.

  3. added
    • kbuildRelated to building the kernel, `make`, `Kbuild`, `Kconfig` options...
    on Nov 28, 2020
  4. added 4 commits that reference this issue on Dec 9, 2020
    76a6ea7
    4a5f04e
    16f6e04
    ac19154
  5. 124 remaining items

  6. added a commit that references this issue on Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    • kbuildRelated to building the kernel, `make`, `Kbuild`, `Kconfig` options...

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions