Files
rust/src
bors 25749ad66d Auto merge of #49321 - ishitatsuyuki:compile-pass, r=alexcrichton
Introduce compile-pass

r? @alexcrichton

The plan is to move things that cannot fail (no assert, unwrap, etc) out so we don't have to run them, and in the long term we can also stop running LLVM for them.

Out of 3215 tests...

```
Language            Files        Lines         Code     Comments       Blanks
Rust                 3215       119254        64688        35135        19431
```

16% of them has an empty main (which is already moved in this PR).

```
grep -rnPzl 'fn main\(\)\s*{\s*}' | xargs rg --files-without-match cfg | wc -l
547
```

And only 50% of the tests contains assertions:

```
rg -e assert -e unwrap -e expect -e panic -l | wc -l
1600
```

The remainder is likely able to get moved, but they need check by a human so I didn't touch them in PR.

cc @rust-lang/compiler

* [ ] Update documentation
2018-04-25 14:52:30 +00:00
..
2018-04-12 14:49:03 +09:00
2018-04-23 11:38:13 +02:00
2018-04-22 00:30:48 +02:00
2018-04-22 10:08:49 -07:00
2018-04-22 10:08:49 -07:00
2018-04-15 20:53:03 +02:00
2018-04-15 20:53:03 +02:00
2018-04-23 13:28:15 -04:00
2018-04-23 23:55:36 +02:00
2018-04-16 23:37:11 +02:00
2018-04-19 23:47:28 +02:00
2018-04-25 18:18:03 +09:00
2018-04-23 11:38:13 +02:00
2018-04-04 22:23:33 +02:00

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

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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

Their is also useful content in the following READMEs, which are gradually being moved over to the guide: