Skip to content

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

Merged
bors[bot] merged 2 commits intorust-lang:masterfrom
pnkfelix:add-canonicalized-alt-to-root-config
Feb 13, 2019
Merged

In RootConfig::contains, check against canonicalized version of root path#818
bors[bot] merged 2 commits intorust-lang:masterfrom
pnkfelix:add-canonicalized-alt-to-root-config

Conversation

@pnkfelix
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

r? @matklad

@matklad
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

matklad commented Feb 13, 2019

r=me with formatting fixed

@vipentti
Copy link
Copy Markdown
Contributor

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

see #821

@matklad
Copy link
Copy Markdown
Contributor

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 <pnkfelix@pnkfx.org>
@bors
Copy link
Copy Markdown
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