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

Test cases proving RUSTC_WRAPPER can be a relative path #6638

Merged
merged 1 commit into from
Feb 14, 2019

Conversation

dwijnand
Copy link
Member

@dwijnand dwijnand commented Feb 5, 2019

Test cases for #4865

@dwijnand
Copy link
Member Author

I'd love to not need to use env::current_dir(), but I couldn't find a way. Also I need to add a test for this.

@alexcrichton
Copy link
Member

Seems plausible to me! This seems a bit deep though within Cargo for where this is handled, could it perhaps be handled at an outer layer where this wrapper is initially set?

@dwijnand
Copy link
Member Author

Hmm, maybe! I'll give it a shot.

@dwijnand dwijnand force-pushed the support-relative-RUSTC_WRAPPER branch 2 times, most recently from 58f1067 to 052a176 Compare February 12, 2019 05:47
@dwijnand
Copy link
Member Author

Review by @ehuss, perhaps?

@alexcrichton
Copy link
Member

It looks like relative paths are already handled here, so perhaps it could be debugged why that's not working?

@dwijnand dwijnand force-pushed the support-relative-RUSTC_WRAPPER branch from 052a176 to 8c26860 Compare February 14, 2019 19:16
@dwijnand dwijnand changed the title Allow RUSTC_WRAPPER to be a relative path Test cases proving RUSTC_WRAPPER can be a relative path Feb 14, 2019
@dwijnand
Copy link
Member Author

Turns out it was working...

@alexcrichton
Copy link
Member

@bors: r+

Heh well that's a surprise!

@bors
Copy link
Collaborator

bors commented Feb 14, 2019

📌 Commit 8c26860 has been approved by alexcrichton

bors added a commit that referenced this pull request Feb 14, 2019
…crichton

Test cases proving RUSTC_WRAPPER can be a relative path

Test cases for #4865
@bors
Copy link
Collaborator

bors commented Feb 14, 2019

⌛ Testing commit 8c26860 with merge 55895e7...

@bors
Copy link
Collaborator

bors commented Feb 14, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: alexcrichton
Pushing 55895e7 to master...

@bors bors merged commit 8c26860 into rust-lang:master Feb 14, 2019
@dwijnand dwijnand deleted the support-relative-RUSTC_WRAPPER branch February 14, 2019 21:04
bors added a commit to rust-lang/rust that referenced this pull request Feb 21, 2019
Update cargo

9 commits in 865cb70106a6b1171a500ff68f93ab52eea56e72..b33ce7fc9092962b0657b4c25354984b5e5c47e4
2019-02-10 15:49:37 +0000 to 2019-02-19 18:42:50 +0000
- Don't retry invalid credentials from git credential helpers (rust-lang/cargo#6681)
- Fix some typos in resolver tests (rust-lang/cargo#6682)
- Add an unstable option to build proc macros for both the host and the target (rust-lang/cargo#6547)
- Test cases proving RUSTC_WRAPPER can be a relative path (rust-lang/cargo#6638)
- Add support for Azure DevOps (rust-lang/cargo#6264)
- Update docs for removed `patch` restriction. (rust-lang/cargo#6663)
- Fix incorrect help message (rust-lang/cargo#6555)
- Stabilize Alternative Registries (rust-lang/cargo#6654)
- Having a [patch] section when publishing is not an error (rust-lang/cargo#6535)
@ehuss ehuss added this to the 1.34.0 milestone Feb 6, 2022
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