@@ -41,25 +41,25 @@ time: 0.049; rss: 34MB expansion
41
41
<snip>
42
42
```
43
43
44
- There's a lot of them. However, you can think of this process in two big steps: first, ` rustc ` does
45
- all of its safety checks, makes sure your syntax is correct, all that stuff. Second, once it's satisfied
46
- that everything is in order, it produces the actual binary code that you end up executing.
44
+ There's a lot of them. However, you can think of this process in two big steps: first, ` rustc ` does
45
+ all of its safety checks, makes sure your syntax is correct, all that stuff. Second, once it's satisfied
46
+ that everything is in order, it produces the actual binary code that you end up executing.
47
47
48
- It turns out that that second step takes a lot of time. And most of the time, it's not neccesary. That is,
49
- when you're working on some Rust code, many developers will get into a workflow like this:
48
+ It turns out that that second step takes a lot of time. And most of the time, it's not neccesary. That is,
49
+ when you're working on some Rust code, many developers will get into a workflow like this:
50
50
51
51
1 . Write some code.
52
52
2 . Run ` cargo build ` to make sure it compiles.
53
53
3 . Repeat 1-2 as needed.
54
54
4 . Run ` cargo test ` to make sure your tests pass.
55
55
5 . GOTO 1.
56
56
57
- In step two, you never actually run your code. You're looking for feedback from the compiler, not to
58
- actually run the binary. ` cargo check ` supports exactly this use-case: it runs all of the compiler's
59
- checks, but doesn't produce the final binary.
57
+ In step two, you never actually run your code. You're looking for feedback from the compiler, not to
58
+ actually run the binary. ` cargo check ` supports exactly this use-case: it runs all of the compiler's
59
+ checks, but doesn't produce the final binary.
60
60
61
- So how much speedup do you actually get? Like most performance related questions, the answer is "it
62
- depends." Here are some very un-scientific benchmarks:
61
+ So how much speedup do you actually get? Like most performance related questions, the answer is "it
62
+ depends." Here are some very un-scientific benchmarks:
63
63
64
64
| | initial build | initial check | speedup | secondary build | secondary check | speedup |
65
65
| --------| ---------------| ---------------| ---------| -----------------| -----------------| ---------|
@@ -201,11 +201,6 @@ results in a significant improvement in these sorts of diagnostics.
201
201
[This now happens nearly everywhere]: https://github.com/rust-lang/rust/pull/38927
202
202
[some other related improvements]: https://github.com/rust-lang/rust/pull/38154
203
203
204
- Finally, ` Self` can now appear [in impl headers] and [in struct expressions].
205
-
206
- [in impl headers]: https://github.com/rust-lang/rust/pull/38920
207
- [in struct expressions]: https://github.com/rust-lang/rust/pull/39282
208
-
209
204
See the [detailed release notes][notes] for more.
210
205
211
206
# ### Library stabilizations
0 commit comments