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

In RootConfig::contains, check against canonicalized version of root path #818

Merged
merged 2 commits into from
Feb 13, 2019

Conversation

pnkfelix
Copy link
Member

In RootConfig::contains, check against canonicalized version of root path since OS may hand us data that uses the canonical form rather than the root as specified by the user.

This is a step towards a resolution of issue #734 but does not completely fix the problem there.

path since OS may hand us data that uses that rather than the root as
specified by the user.
@pnkfelix
Copy link
Member Author

r? @matklad

@matklad
Copy link
Member

matklad commented Feb 13, 2019

Looks like code formatting check has failed. You might want to run cargo format-hook in the root of the repository once to install a pre-commit hook to do rustfmt.

@matklad
Copy link
Member

matklad commented Feb 13, 2019

r=me with formatting fixed

@vipentti
Copy link
Contributor

NOTE: canonicalize may cause some problems on Windows. This may not be an issue in this case.

see #821

@matklad
Copy link
Member

matklad commented Feb 13, 2019

bors r+

bors bot added a commit that referenced this pull request Feb 13, 2019
818: In `RootConfig::contains`, check against canonicalized version of root path r=matklad a=pnkfelix

In `RootConfig::contains`, check against canonicalized version of root path since OS may hand us data that uses the canonical form rather than the root as specified by the user.

This is a step towards a resolution of issue #734 but does not completely fix the problem there.

Co-authored-by: Felix S. Klock II <[email protected]>
@bors
Copy link
Contributor

bors bot commented Feb 13, 2019

Build succeeded

@bors bors bot merged commit da300fd into rust-lang:master Feb 13, 2019
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