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

fix(win): bugs with files in roots / bugs with resolver and unc shares #11155

Merged
merged 6 commits into from
May 21, 2024

Conversation

paperdave
Copy link
Member

What does this PR do?

Fixes #10281
Fixes the drive root issue, i cant find the number

small chance #10397 is also fixed

Copy link
Contributor

github-actions bot commented May 17, 2024

@paperdave, your commit has failing tests :(

💪 3 failing tests Darwin AARCH64

💻 3 failing tests Darwin x64 baseline

💻 5 failing tests Darwin x64

🐧🖥 2 failing tests Linux x64 baseline

🪟💻 14 failing tests Windows x64 baseline

🪟💻 10 failing tests Windows x64

View logs

@Jarred-Sumner
Copy link
Collaborator

does not

link?

image

@@ -736,7 +738,12 @@ pub fn normalizeStringGenericTZ(
}
if (path_[1] != ':') {
// UNC paths
@memcpy(buf[buf_i .. buf_i + 2], &comptime strings.literalBuf(T, sep_str ++ sep_str));
if (options.add_nt_prefix) {
@memcpy(buf[buf_i .. buf_i + 4], &comptime strings.literalBuf(T, "UNC" ++ sep_str));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paperdave did you mean to make this UNC\\?

Copy link
Member Author

@paperdave paperdave May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i did not. current is intentional

@Jarred-Sumner Jarred-Sumner merged commit 0457d6a into main May 21, 2024
47 of 53 checks passed
@Jarred-Sumner Jarred-Sumner deleted the dave/win/root-file branch May 21, 2024 20:51
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.

Internal Assertion Failure: Invalid cache key "\wsl.localhost"
2 participants