Skip to content

PATH variable grows each time compiler is run #17327

Closed
@brson

Description

@brson

Trying to turn on windows tests (#16457) I'm now hitting errors like

---- path::GenericPath::set_extension_0 stdout ----
    error: could not exec the linker `gcc`: OS Error 206: The filename or extension is too long.

    error: aborting due to previous error
    task 'path::GenericPath::set_extension_0' failed at 'Box<Any>', C:\bot\slave\auto-win32-32-opt\b\src\libsyntax\ast_util.rs:784

Windows hates long paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: WindowsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions