about summary refs log tree commit diff
path: root/config.example.toml
AgeCommit message (Collapse)AuthorLines
2023-12-21Rollup merge of #119124 - onur-ozkan:help-118861, r=Mark-SimulacrumMatthias Krüger-0/+1
don't build `rust-analyzer-proc-macro-srv` on def config Should be very easy to understand when reviewing commit-by-commit. Blocker for #118861
2023-12-19update `build.tools` in config.example.tomlonur-ozkan-0/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-12-18Comment out `change-id` in `config.example.toml`onur-ozkan-2/+2
This way, we only update CONFIG_CHANGE_HISTORY for major changes, which is much simpler (and updating example.toml doesn't make much sense) Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-12-10Add ChangeInfo recordJakub Beránek-1/+1
2023-12-10Update `config.example.toml`Jakub Beránek-3/+5
2023-12-05Add safe compilation optionsl00846161-0/+10
Add two options when building rust: strip and stack protector. If set `strip = true`, symbols will be stripped using `-Cstrip=symbols`. Also can set `stack-protector` and stack protectors will be used.
2023-11-24add change information for PR#117813onur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-11-21Add support for generating the EHCont sectionArlie Davis-0/+4
In the future Windows will enable Control-flow Enforcement Technology (CET aka Shadow Stacks). To protect the path where the context is updated during exception handling, the binary is required to enumerate valid unwind entrypoints in a dedicated section which is validated when the context is being set during exception handling. The required support for EHCONT has already been merged into LLVM, long ago. This change adds the Rust codegen option to enable it. Reference: * https://reviews.llvm.org/D40223 This also adds a new `ehcont-guard` option to the bootstrap config which enables EHCont Guard when building std.
2023-11-11merge `if-available` and `if-unchanged` for `download-ci-llvm`onur-ozkan-9/+6
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-11-08Fix issue #110087LuuuX-3/+7
Three tasks have been implemented here. Add a new `download-ci-llvm = if-unchange` option and enable if by default for `profile = codegen`. Include all build artifacts by traversing the llvm-project build output, Keep the downloadable llvm the same state as if you have just run a full source build. After selecting the codegen profile during ./x.py setup, the submodule will be automatically downloaded.
2023-10-31update config.example.tomlSparrowLii-4/+5
2023-10-31update bootstrap change historySparrowLii-1/+1
2023-10-23Improve android-ndk property interfacePeter Collingbourne-7/+4
PR #105716 added support for NDK r25b, and removed support for r15. Since the switch to r25b would have broken existing r15 users anyway, let's take the opportunity to make the interface more user friendly. Firstly move the android-ndk property to [build] instead of the targets. This is possible now that the NDK has obsoleted the concept of target-specific toolchains. Also make the property take the NDK root directory instead of the "toolchains/llvm/prebuilt/<host tag>" subdirectory.
2023-10-02Auto merge of #115898 - onur-ozkan:config-change-tracking, r=Mark-Simulacrumbors-5/+12
bootstrap major change detection implementation The use of `changelog-seen` and `bootstrap/CHANGELOG.md` has not been functional in any way for many years. We often do major/breaking changes but never update the changelog file or the `changelog-seen`. This is an alternative method for tracking major or breaking changes and informing developers when such changes occur. Example output when bootstrap detects a major change: ![image](https://github.com/rust-lang/rust/assets/39852038/ee802dfa-a02b-488b-a433-f853ce079b8a)
2023-10-01implement major change tracking for the bootstrap configurationonur-ozkan-5/+12
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-18Rollup merge of #115558 - tshepang:patch-4, r=Mark-SimulacrumMatthias Krüger-1/+0
issue has since been fixed
2023-09-18address review commentTshepang Mbambo-0/+1
See https://github.com/rust-lang/rust/pull/115558#issuecomment-1722601187
2023-09-10update `build.extended` comments in `config.example.toml`onur-ozkan-3/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-05issue has since been fixedTshepang Mbambo-2/+0
2023-08-14add a csky-unknown-linux-gnuabiv2 targetDirreke-1/+1
2023-08-13Rollup merge of #114069 - cuviper:profiler-path, r=Mark-SimulacrumGuillaume Gomez-2/+4
Allow using external builds of the compiler-rt profile lib This changes the bootstrap config `target.*.profiler` from a plain bool to also allow a string, which will be used as a path to the pre-built profiling runtime for that target. Then `profiler_builtins/build.rs` reads that in a `LLVM_PROFILER_RT_LIB` environment variable.
2023-07-26Fix spacing in target.*.profiler docsJosh Stone-1/+1
Co-authored-by: Joe ST <joe@fbstj.net>
2023-07-25Allow using external builds of the compiler-rt profile libJosh Stone-2/+4
This changes the bootstrap config `target.*.profiler` from a plain bool to also allow a string, which will be used as a path to the pre-built profiling runtime for that target. Then `profiler_builtins/build.rs` reads that in a `LLVM_PROFILER_RT_LIB` environment variable.
2023-07-15Move MinGW linker dist option to proper sectionMateusz Mikuła-4/+4
2023-07-09Use String or Int to set the opt levelhi-rustin-2/+12
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2023-06-12few fixes to rust rustdoc-gui tests on windowsklensy-0/+7
2023-05-05support enable rpath in each target independentlyWang Qilin-0/+4
2023-04-11Rollup merge of #110155 - DaniPopes:rest-typos, r=jyn514Michael Goulet-1/+1
Fix typos in librustdoc, tools and config files I used [`typos`](https://github.com/crate-ci/typos) to fix all typos, minus the ones present in #110153 and in #110154. Refs #110150
2023-04-11Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiserMichael Goulet-1/+1
Initial support for loongarch64-unknown-linux-gnu Hi, We hope to add a new port in rust for LoongArch. LoongArch intro LoongArch is a RISC style ISA which is independently designed by Loongson Technology in China. It is divided into two versions, the 32-bit version (LA32) and the 64-bit version (LA64). LA64 applications have application-level backward binary compatibility with LA32 applications. LoongArch is composed of a basic part (Loongson Base) and an expanded part. The expansion part includes Loongson Binary Translation (LBT), Loongson VirtualiZation (LVZ), Loongson SIMD EXtension (LSX) and Loongson Advanced SIMD EXtension(LASX). Currently the LA464 processor core supports LoongArch ISA and the Loongson 3A5000 processor integrates 4 64-bit LA464 cores. LA464 is a four-issue 64-bit high-performance processor core. It can be used as a single core for high-end embedded and desktop applications, or as a basic processor core to form an on-chip multi-core system for server and high-performance machine applications. Documentations: ISA: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html ABI: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html More docs can be found at: https://loongson.github.io/LoongArch-Documentation/README-EN.html Since last year, we have locally adapted two versions of rust, rust1.41 and rust1.57, and completed the test locally. I'm not sure if I'm submitting all the patches at once, so I split up the patches and here's one of the commits
2023-04-10Fix remaining typosDaniPopes-1/+1
2023-04-09Rollup merge of #110059 - gimbles:git-hash, r=ozkanonurYuki Okushi-1/+1
ignore_git → omit_git_hash Fixes #110020
2023-04-08Fix a typo in `config.example.toml`Krishna Ramasimha-1/+1
2023-04-08s/ignore_git/omit_git_hashGimbles-1/+1
2023-04-04Enable loongarch64 LLVM targetzhaixiaojuan-1/+1
2023-03-27More config.toml.example cleanupsJoshua Nelson-80/+91
- Link to more documentation - Move `changelog-seen` into the "Global Settings" section - Update incorrect comments on `llvm.link-shared` and `rust.debug-assertions` - Use the correct default in the commented-out example more often - Clarify that `docs` and `compiler-docs` only control the default, they're not a hard-off switch. - Document `-vvv` and `local-rebuild` - Minor improvements to doc-comments in config.toml.example This also sets `download-rustc = false`; that was already the default, but it will be helpful in case the default changes (https://jyn.dev/2023/01/12/Bootstrapping-Rust-in-2023.html).
2023-03-21Rollup merge of #109124 - ferrocene:pa-compression-mode, r=Mark-Simulacrumnils-0/+6
Add `dist.compression-profile` option to control compression speed PR #108534 reduced the size of compressed archives, but (as expected) it also resulted in way longer compression times and memory usage during compression. It's desirable to keep status quo (smaller archives but more CI usage), but it should also be configurable so that downstream users don't have to waste that much time on CI. As a data point, this resulted in doubling the time of Ferrocene's dist jobs, and required us to increase the RAM allocation for one of such jobs. This PR adds a new `config.toml` setting, `dist.compression-profile`. The values can be: * `fast`: equivalent to the gzip and xz preset of "1" * `balanced`: equivalent to the gzip and xz preset of "6" (the CLI defaults as far as I'm aware) * `best`: equivalent to the gzip present of "9", and our custom xz profile The default has also been moved back to `balanced`, to try and avoid the compression time regression for downstream users. I don't feel too strongly on the default, and I'm open to changing it. Also, for the `best` profile the XZ settings do not match the "9" preset used by the CLI, and it might be confusing. Should we create a `custom-rustc-ci`/`ultra` profile for that? r? ``@Mark-Simulacrum``
2023-03-21change default to fast for everyone but the user profilePietro Albini-1/+1
2023-03-15add `enable-warnings` flag for llvmozkanonur-0/+3
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-03-14add dist.compression-profile option to control compression speedPietro Albini-0/+6
2023-03-11Rename `config.toml.example` to `config.example.toml`Thom Chiovoloni-0/+805