about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2023-12-09 09:43:27 -0500
committerjyn <github@jyn.dev>2023-12-09 09:46:16 -0500
commit2cf54e9f99f83e314256808b1e0753779d49e652 (patch)
tree85519a8158c8492f145f497ffb1bcc09e810de8f /compiler/rustc_pattern_analysis/src
parent2b399b52753eac351067e73f4ff0de829443b9a7 (diff)
downloadrust-2cf54e9f99f83e314256808b1e0753779d49e652.tar.gz
rust-2cf54e9f99f83e314256808b1e0753779d49e652.zip
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 `&`.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions