-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add sample defaults for config.toml #76628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# About bootstrap defaults | ||
|
||
These defaults are intended to be a good starting point for working with x.py, | ||
with the understanding that no one set of defaults make sense for everyone. | ||
|
||
They are still experimental, and we'd appreciate your help improving them! | ||
If you use a setting that's not in these defaults that you think others would benefit from, please [file an issue] or make a PR with the changes. | ||
Similarly, if one of these defaults doesn't match what you use personally, | ||
please open an issue to get it changed. | ||
|
||
[file an issue]: https://github.com/rust-lang/rust/issues/new/choose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# These defaults are meant for contributors to the compiler who modify codegen or LLVM | ||
[llvm] | ||
# This enables debug-assertions in LLVM, | ||
# catching logic errors in codegen much earlier in the process. | ||
assertions = true | ||
|
||
[rust] | ||
# This enables `RUSTC_LOG=debug`, avoiding confusing situations | ||
# where adding `debug!()` appears to do nothing. | ||
# However, it makes running the compiler slightly slower. | ||
debug-logging = true | ||
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | ||
incremental = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# These defaults are meant for contributors to the compiler who do not modify codegen or LLVM | ||
[rust] | ||
# This enables `RUSTC_LOG=debug`, avoiding confusing situations | ||
# where adding `debug!()` appears to do nothing. | ||
# However, it makes running the compiler slightly slower. | ||
debug-logging = true | ||
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | ||
incremental = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# These defaults are meant for contributors to the standard library and documentation. | ||
[build] | ||
# When building the standard library, you almost never want to build the compiler itself. | ||
build-stage = 0 | ||
test-stage = 0 | ||
bench-stage = 0 | ||
|
||
[rust] | ||
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | ||
incremental = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# These defaults are meant for users and distro maintainers building from source, without intending to make multiple changes. | ||
[build] | ||
# When compiling from source, you almost always want a full stage 2 build, | ||
# which has all the latest optimizations from nightly. | ||
build-stage = 2 | ||
test-stage = 2 | ||
doc-stage = 2 | ||
# When compiling from source, you usually want all tools. | ||
extended = true |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.