about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-05-06 20:49:30 -0700
committerGitHub <noreply@github.com>2022-05-06 20:49:30 -0700
commit6226d10a1bd26d0bc8628c881100991cb3ed2f6c (patch)
tree0e63ffca139c12cf0d89555cb816f9e548e5f4c4 /library/std/src/sys/unix/stack_overflow.rs
parent4799baa70d0ff1780ee6dffb743d62c79235ace9 (diff)
parent3a800bf5c75fc9889178e401b0ab5fab87deb00d (diff)
downloadrust-6226d10a1bd26d0bc8628c881100991cb3ed2f6c.tar.gz
rust-6226d10a1bd26d0bc8628c881100991cb3ed2f6c.zip
Rollup merge of #96660 - jyn514:better-missing-path-error, r=Mark-Simulacrum
[bootstrap] Give a better error when trying to run a path with no registered step

Before:
```
thread 'main' panicked at 'error: no rules matched invalid', src/bootstrap/builder.rs:287:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

After:
```
error: no `check` rules matched 'invalid'
help: run `x.py check --help --verbose` to show a list of available paths
note: if you are adding a new Step to bootstrap itself, make sure you register it with `describe!`
```
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions