Skip to content

How to configure rust (standard library) source #98

Closed
@ghost

Description

rustc_src = $(rustc_sysroot)/lib/rustlib/src/rust

There are multiple issues I see here:

  • It should be possible for the user to configure the rust source directory independently of the rust sysroot
  • Currently only sources from the library/ subdirectory are used. If it stays like this in the forseeable future, I would like to change the rustc_src variable to a rust_lib_src variable, which points directly to the library/ subdirectory. For example my distribution has an own package rustLibSrc, which will decrease the amount of downloads needed.

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