diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2025-04-19 15:09:32 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-19 15:09:32 +0000 |
| commit | 237064a0c47a35be7e876503f35eb5957d96cf71 (patch) | |
| tree | a04827195e910e817c930147569a86e9117dee56 /tests/rustdoc-js-std/string-from_ut.js | |
| parent | a7c39b68616668a45f0afd62849a1da7c8ad2516 (diff) | |
| parent | ac7d1be031ac08cc0910efa3ec2f4186d7943792 (diff) | |
| download | rust-237064a0c47a35be7e876503f35eb5957d96cf71.tar.gz rust-237064a0c47a35be7e876503f35eb5957d96cf71.zip | |
Rollup merge of #138934 - onur-ozkan:extended-config-profiles, r=Kobzol
support config extensions _Copied from the `rustc-dev-guide` addition:_ >When working on different tasks, you might need to switch between different bootstrap >configurations. >Sometimes you may want to keep an old configuration for future use. But saving raw config >values in >random files and manually copying and pasting them can quickly become messy, especially if >you have a >long history of different configurations. > >To simplify managing multiple configurations, you can create config extensions. > >For example, you can create a simple config file named `cross.toml`: > >```toml >[build] >build = "x86_64-unknown-linux-gnu" >host = ["i686-unknown-linux-gnu"] >target = ["i686-unknown-linux-gnu"] > > >[llvm] >download-ci-llvm = false > >[target.x86_64-unknown-linux-gnu] >llvm-config = "/path/to/llvm-19/bin/llvm-config" >``` > >Then, include this in your `bootstrap.toml`: > >```toml >include = ["cross.toml"] >``` > >You can also include extensions within extensions recursively. > >**Note:** In the `include` field, the overriding logic follows a right-to-left order. For example, in `include = ["a.toml", "b.toml"]`, extension `b.toml` overrides `a.toml`. Also, parent extensions always overrides the inner ones. try-job: x86_64-mingw-2
Diffstat (limited to 'tests/rustdoc-js-std/string-from_ut.js')
0 files changed, 0 insertions, 0 deletions
