Skip to content

Add chdir shim#960

Merged
bors merged 2 commits into
rust-lang:masterfrom
pvdrz:chdir-shim
Sep 24, 2019
Merged

Add chdir shim#960
bors merged 2 commits into
rust-lang:masterfrom
pvdrz:chdir-shim

Conversation

@pvdrz

@pvdrz pvdrz commented Sep 24, 2019

Copy link
Copy Markdown
Contributor

@oli-obk oli-obk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please add a compile-fail test showing that we error for non-utf8 paths by invoking chdir directly from the test

Comment thread src/shims/env.rs Outdated
@pvdrz

pvdrz commented Sep 24, 2019

Copy link
Copy Markdown
Contributor Author

please add a compile-fail test showing that we error for non-utf8 paths by invoking chdir directly from the test

OK I added the test :)

Comment thread tests/compile-fail/chdir_invalid_path.rs Outdated
@oli-obk

oli-obk commented Sep 24, 2019

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Sep 24, 2019

Copy link
Copy Markdown
Contributor

📌 Commit 145a582 has been approved by oli-obk

@bors

bors commented Sep 24, 2019

Copy link
Copy Markdown
Contributor

⌛ Testing commit 145a582 with merge 402129c...

bors added a commit that referenced this pull request Sep 24, 2019
@bors

bors commented Sep 24, 2019

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-travis, status-appveyor
Approved by: oli-obk
Pushing 402129c to master...

@bors bors merged commit 145a582 into rust-lang:master Sep 24, 2019
Comment thread src/shims/env.rs
Comment thread tests/compile-fail/chdir_invalid_path.rs
Comment thread tests/run-pass/change_current_dir.rs
Comment thread tests/run-pass/change_current_dir.rs
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.

4 participants