Skip to content

Investigate custom libdir setting #48

Closed
@ehuss

Description

@ehuss

Cargo assumes a specific sysroot layout (primarily here). However, rustc may be built in such a way that the lib directory name is different from the default of "lib". This is via install.libdir in config.toml. See find_libdir.

I was unable to find any targets built by rust-lang that set this parameter. Rumor is that some linux distributions may set it (to things like "lib32" or "lib64"), but I cannot find any active linux distribution that does that.

This needs investigation to understand the impact, and what needs to be done. AFAIK, rustc cannot be queried for this path, so there is no way to discover how it is compiled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementationImplementation exploration and tracking issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions