about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-11-08 13:36:09 +0100
committerGitHub <noreply@github.com>2020-11-08 13:36:09 +0100
commit7d9ad6d949f57b3e00a5f0c76e712886e9f5fb87 (patch)
treea2b6f7314f67077a57efba01ae57c8b0d73540f9 /src/test/codegen/src-hash-algorithm
parenteef9951e443a051495bd4758d6265a95f01aa5b9 (diff)
parent5fc22f1431e209610040d92ba671966ab2781f0b (diff)
downloadrust-7d9ad6d949f57b3e00a5f0c76e712886e9f5fb87.tar.gz
rust-7d9ad6d949f57b3e00a5f0c76e712886e9f5fb87.zip
Rollup merge of #78658 - casey:x, r=Mark-Simulacrum
Add a tool to run `x.py` from any subdirectory

This adds a binary called `x` in `src/tools/x`. All it does is check the current directory and its ancestors for a file called `x.py`, and if it finds one, runs it.

By installing x, you can easily run `x.py` from any subdirectory, and only need to type `x`.

It can be installed with `cargo install --path src/tools/x`

This is a copy of a [binary I've been using myself when working on rust](https://github.com/casey/bootstrap), currently published to crates.io as `bootstrap`.

It could be changed to avoid indirecting through `x.py`, and instead call the bootstrap module directly. However, this seemed like the simplest thing possible, and won't break if the details of how the bootstrap module is invoked change.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions