Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for verbatim paths on windows builds #612

Merged
merged 9 commits into from
May 20, 2024

Conversation

theKidOfArcrania
Copy link
Contributor

@theKidOfArcrania theKidOfArcrania commented May 15, 2024

This adds test building for windows targets if --target-dir gets set to a verbatim path. This is due to the fact that verbatim or verbatim unc paths have an additional requirement of having all path separators to be backslashes as opposed to be permissive of forward and back slashes.

This was made in response to #609 / #604.

@ChrisDenton
Copy link
Member

Terminology note: rust calls these "verbatim" paths. A UNC path is technically one in the form:

\\servername\sharename\

A bit more about this here: https://users.rust-lang.org/t/understanding-windows-paths/58583

@theKidOfArcrania theKidOfArcrania changed the title Add tests for UNC paths on windows builds Add tests for verbatim paths on windows builds May 15, 2024
@theKidOfArcrania
Copy link
Contributor Author

Terminology note: rust calls these "verbatim" paths. A UNC path is technically one in the form:

\\servername\sharename\

A bit more about this here: https://users.rust-lang.org/t/understanding-windows-paths/58583

noted

@theKidOfArcrania
Copy link
Contributor Author

theKidOfArcrania commented May 15, 2024

hmm... it looks the gnu toolchain does not support verbatim paths? Should we disable verbatim tests for the *-windows-gnu targets?

ci/run.sh Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
@theKidOfArcrania
Copy link
Contributor Author

Ok I think all the changes have been made and should be good to merge?

@Amanieu Amanieu enabled auto-merge May 20, 2024 23:10
@Amanieu Amanieu merged commit fa0f7e0 into rust-lang:master May 20, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants