Skip to content

Conversation

@bernard-wagner
Copy link
Contributor

Motivation

Noticed that the CI for Windows builds fails for integration tests using IPC provider.

Solution

Handle \\.\pipe\ paths correctly on Windows.

Need to revert changes to CI before merging, just there for review.

fn resolve_path(path: &Path) -> Result<PathBuf, ()> {
let path_str = path.to_str().expect("Path should be a valid string");

if path_str.starts_with(r"\\.\pipe\") {
Copy link
Member

Choose a reason for hiding this comment

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

is this always the case?

Copy link
Contributor Author

@bernard-wagner bernard-wagner Sep 14, 2023

Choose a reason for hiding this comment

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

@mattsse mattsse merged commit d78309d into foundry-rs:master Sep 14, 2023
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.

2 participants