Add support for shell argfiles#118680
Conversation
|
(rustbot has picked a reviewer for you, use r? to override) |
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
This comment has been minimized.
This comment has been minimized.
48a7b0b to
851ad4c
Compare
This comment has been minimized.
This comment has been minimized.
851ad4c to
824711f
Compare
|
The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging. |
824711f to
c03a2f3
Compare
This comment has been minimized.
This comment has been minimized.
c03a2f3 to
e86a302
Compare
This comment has been minimized.
This comment has been minimized.
|
Tidy is mad about |
You still need to fix tidy. Change the limits in |
e86a302 to
d952de3
Compare
This comment has been minimized.
This comment has been minimized.
d68ac50 to
3bf1ad5
Compare
|
Thanks @compiler-errors, should be good to go now |
Noratrieb
left a comment
There was a problem hiding this comment.
Another option would be to remove the unstable flag and gate this behind -Zunstable-options instead. I'm not sure what's better.
|
@rustbot author |
3bf1ad5 to
ffaf5ad
Compare
This comment has been minimized.
This comment has been minimized.
…er-errors Add support for shell argfiles Closes rust-lang/compiler-team#684
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#118680 (Add support for shell argfiles) - rust-lang#119151 (Hide foreign `#[doc(hidden)]` paths in import suggestions) - rust-lang#119350 (Imply outlives-bounds on lazy type aliases) - rust-lang#119354 (Make `negative_bounds` internal & fix some of its issues) - rust-lang#119506 (Use `resolutions(()).effective_visiblities` to avoid cycle errors in `report_object_error`) - rust-lang#119554 (Fix scoping for let chains in match guards) - rust-lang#119563 (Check yield terminator's resume type in borrowck) - rust-lang#119589 (cstore: Remove unnecessary locking from `CrateMetadata`) r? `@ghost` `@rustbot` modify labels: rollup
|
@bors r- |
- error: Failed to load argument file: Invalid shell-style arguments in $DIR/shell-argfiles-badquotes.args
+ error: Failed to load argument file: Invalid shell-style arguments in C:\a\rust\rust\tests\ui/shell-argfiles/shell-argfiles-badquotes.args |
|
Hmm looks like something funny is going on on windows. I'm attempting a repro. |
|
It looks like the underlying issue is that the In A quick search through the other tests in I'll see if I can canonicalize the path before emitting it in the shell argfiles diagnostic. If there's no easy way to do that, I'll take a crack at changing the behavior of |
|
@rustbot ready I have verified that this change fixes the failing windows test. |
|
An alternative to adding |
8357e7a to
684aa2c
Compare
|
@rustbot ready |
compiler-errors
left a comment
There was a problem hiding this comment.
This could have used revisions:
// revisions: windows nonwindows
//[windows] only-windows
//[windows] compile-flags: \back\slashes
//[nonwindows] ignore-windows
//[nonwindows] compile-flags: /fwd/slashes
|
but whatever @bors r+ |
|
I'd be happy to file a follow-up PR to clean the test up! And thanks for bearing with me while I continue to learn the ropes. ❤️ |
…llaumeGomez Rollup of 5 pull requests Successful merges: - rust-lang#118241 (Making `User<T>` and `User<[T]>` `Send`) - rust-lang#118645 (chore: Bump compiler_builtins) - rust-lang#118680 (Add support for shell argfiles) - rust-lang#119721 (`~const` trait and projection bounds do not imply their non-const counterparts) - rust-lang#119768 (core: panic: fix broken link) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#118680 - djkoloski:shell_argfiles, r=compiler-errors Add support for shell argfiles Closes rust-lang/compiler-team#684
Closes rust-lang/compiler-team#684