Skip to content

Consider adding the absolute CFG_LIBDIR to the search paths for rustc #11068

Closed
@alexcrichton

Description

@alexcrichton

In #11045, we're probably going to start always having an absolute path for CFG_LIBDIR. This means that librustc has one extra location to start search for by default for the target libraries. This libdir is essentially the same thing as self_exe_path().pop() for rustc, but as #11063 noted other usage of librustc is hamstrung by having to specify this directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions