diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-12-09 18:00:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-09 18:00:38 +0100 |
| commit | dd234696ed202d133eabbbeef588fde11020ea14 (patch) | |
| tree | f80903214ba17b28a45af134eee1ea9d926e6a6c /compiler/rustc_pattern_analysis/src | |
| parent | 034d73d6d7b1cbc654fea336ccc3e4170f7af043 (diff) | |
| parent | 2cf54e9f99f83e314256808b1e0753779d49e652 (diff) | |
| download | rust-dd234696ed202d133eabbbeef588fde11020ea14.tar.gz rust-dd234696ed202d133eabbbeef588fde11020ea14.zip | |
Rollup merge of #118782 - jyn514:powershell, r=ChrisDenton
use `&` instead of start-process in x.ps1
start-process has weird parsing rules and buggy behavior. we've already had to work around them several times, and the workarounds were not complete. i wonder who could have added it HMMMMMM
```
PS C:\Users\jyn\src\rust> git log --reverse -S Start-Process x.ps1
commit 775c3c0493e9a383a7f1c521b06d36f2e3d0d886
Author: Jynn Nelson <github@jyn.dev>
Date: Sun Jul 31 14:02:31 2022 -0500
Add `x.sh` and `x.ps1` shell scripts
```
the latest broken thing is trailing backslashes:
```
$ x.ps1 t .\tests\ui\error-emitter\
```
would be transformed into
```
['t', '.\\tests\\ui\\error-emitter"']
```
rather than trying to hack around that too, abandon start-process altogether and just use `&`.
r? `@ChrisDenton`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
