Skip to content

Commit bc43870

Browse files
committed
---
yaml --- r: 274313 b: refs/heads/stable c: 6fd728d h: refs/heads/master i: 274311: 2ce0c42
1 parent 4cae71e commit bc43870

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: dc6ed63655b6698828b363e49d6bd9df76633334
32+
refs/heads/stable: 6fd728db6d062a18887b4a0ee5af9aa6215593ce
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/CONTRIBUTING.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ $ RUST_BACKTRACE=1 rustc ...
8181
## The Build System
8282

8383
The build system for Rust is complex. It covers bootstrapping the compiler,
84-
running tests, building documentation and more. Unless you are familiar with
85-
Makefiles, I wouldn't suggest trying to understand everything going on in
86-
Rust's setup - there's a lot there, and you can get lost trying to understand
87-
it all.
84+
running tests, building documentation and more.
8885

89-
If Makefiles are your thing, though, all the configuration lives in
90-
[the `mk` directory][mkdir] in the project root.
86+
If Makefiles are your thing, all the configuration lives in
87+
[the `mk` directory][mkdir] in the project root. Is can be hard to follow
88+
in places, as it uses some advanced Make features which make for some
89+
challenging reading. If you have questions on the build system internals, try
90+
asking in [`#rust-internals`][pound-rust-internals].
9191

9292
[mkdir]: https://github.com/rust-lang/rust/tree/master/mk/
9393

@@ -106,9 +106,12 @@ There are large number of options accepted by this script to alter the
106106
configuration used later in the build process. Some options to note:
107107

108108
- `--enable-debug` - Build a debug version of the compiler (disables optimizations)
109+
- `--enable-optimize` - Enable optimizations (can be used with `--enable-debug`
110+
to make a debug build with optimizations)
109111
- `--disable-valgrind-rpass` - Don't run tests with valgrind
110-
- `--enable-clang` - Prefer clang to gcc for building dependencies (ie LLVM)
112+
- `--enable-clang` - Prefer clang to gcc for building dependencies (e.g., LLVM)
111113
- `--enable-ccache` - Invoke clang/gcc with ccache to re-use object files between builds
114+
- `--enable-compiler-docs` - Build compiler documentation
112115

113116
To see a full list of options, run `./configure --help`.
114117

@@ -131,6 +134,7 @@ Some common make targets are:
131134
rpass test with the stage1 compiler (this will be quicker than running the
132135
command above as we only build the stage1 compiler, not the entire thing).
133136
You can also leave off the `-rpass` to run all stage1 test types.
137+
- `make check-stage1-coretest` - Run stage1 tests in `libcore`.
134138

135139
## Pull Requests
136140

0 commit comments

Comments
 (0)