Skip to content

$PATH for running compiletest.exe is not correct on windows #1050

@brson

Description

@brson

This is the command being used to run compiletest.exe for stage1:

PATH="/usr/local/bin:$PATH:stage1/lib/rustc/i686-pc-mingw32/lib" stage1/bin/comp
iletest.exe --compile-lib-path stage1/lib --run-lib-path stage1/lib/rustc/i686-p
c-mingw32/lib --rustc-path stage1/bin/rustc.exe --stage-id stage1 --rustcflags "
-O"  --verbose  --src-base ../src/test/run-pass/ --build-base test/run-pass/ --m
ode run-pass

stage1/bin/comp is linked against libraries in stage1/lib not stage1/lib/rustc/etc. so this ends up not finding the expected symbols.

It happens to work for stage2 because once we get that far in the compilation process the symbols end up being the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcO-windowsOperating system: Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions