Skip to content

Workspace path expanded in output on Windows #73

@davidhewitt

Description

@davidhewitt

I've written a compile_fail test which produces slightly different output under Windows versus Linux. https://github.com/davidhewitt/pyo3/runs/725074238

As far as I can tell the diff is that in Linux a path reads $WORKSPACE whereas on Windows a full path is printed:

  • Linux: ::: $WORKSPACE/src/pyclass.rs:76:80
  • Windows: ::: D:/a/pyo3/pyo3/src/pyclass.rs:76:87

It's not clear to me whether this might actually be an inconsistency just in the compiler output on the two platforms rather than a trybuild issue.

Maybe there's a way I can work around this with some kind of wildcard in my stderr file? I couldn't see any mention of such a thing in the trybuild documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions