rust/src
Mara Bos 7d9ad6d949
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.
2020-11-08 13:36:09 +01:00
..
bootstrap Rollup merge of #78705 - Mark-Simulacrum:nicer-failure-compiletest, r=jyn514 2020-11-07 01:02:16 +09:00
build_helper Fix even more URLs 2020-11-05 20:11:29 +01:00
ci Add debug asserts to PR builder 2020-11-06 14:32:14 -05:00
doc Auto merge of #75778 - AndyGauge:75521-rustdoc-book-improvements, r=jyn514 2020-11-06 19:01:10 +00:00
etc lldb_batchmode: show more error information 2020-11-03 12:01:46 +01:00
librustdoc Auto merge of #75778 - AndyGauge:75521-rustdoc-book-improvements, r=jyn514 2020-11-06 19:01:10 +00:00
llvm-project@ee16174578 Bump LLVM for DeadArgElim fix 2020-10-22 18:37:03 -04:00
test Rollup merge of #78570 - sasurau4:test/check-pass-print-type-size, r=jyn514 2020-11-08 13:36:05 +01:00
tools Rollup merge of #78658 - casey:x, r=Mark-Simulacrum 2020-11-08 13:36:09 +01:00
README.md
stage0.txt Rollup merge of #77877 - scottmcm:fewer-try-trait-method-references, r=shepmaster 2020-10-19 18:20:20 +02:00
version Bump version to 1.49.0 2020-10-02 08:39:40 -04:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.