jyn
39667c5608
document how to setup RA for nvim automatically
2025-02-23 22:07:09 -05:00
许杰友 Jieyou Xu (Joe)
342ced97db
Merge pull request #2256 from torfsen/fix-examples-for-nightly-2025-02-13
2025-02-20 02:36:21 +08:00
Martin Liska
089af6704b
Bump mdbook-linkcheck2 dependency version
2025-02-16 13:21:34 +01:00
Noah Lev
34db7baf88
Merge pull request #2246 from marxin/CI-more-ofter
...
Run CI multiple times a day
2025-02-15 17:06:46 -05:00
Noah Lev
ba340ec086
Merge pull request #2254 from marxin/start-using-latest-linkcheck2
...
Start using latest release where -f checks all local links
2025-02-15 17:03:50 -05:00
Martin Liska
fcfabc1076
Fix CI schedule
2025-02-15 23:03:42 +01:00
Florian Brucker
dce265224a
Fix examples to work with nightly-2025-02-13
...
While there were comments indicating which nightly versions the examples
were tested with, those versions did not work for me: neither did the
examples compile, nor did they produce the expected output.
This commit fixes the compilation issues, using nightly-2025-02-13 for
all examples (previously the version differed between the examples) and,
in the case of the `rustc_driver` examples, also fixes the argument
passing: rustc ignores the first argument, so we need to pass the
filename as the second (otherwise we only get the help text printed).
Note that the `rustc-interface-getting-diagnostics.rs` example still
does not produce any output, which I assume is not how it is intended.
However, I don't know enough to fix it.
To avoid inconsistencies between the documented version and the actually
required version I've moved the version comment from the Markdown into
the Rust code where it hopefully won't be forgotten as easily.
Finally I've clarified in the examples' README that you also need to use
the proper nightly version when compiling the examples, not just when
running them.
2025-02-15 19:44:32 +01:00
许杰友 Jieyou Xu (Joe)
27566abd87
Merge pull request #2252 from chenyukang/fix-perf
...
Add note for perf issue
2025-02-14 17:56:04 +08:00
Martin Liska
6714f1d933
Start using latest release where -f checks all local links
2025-02-14 07:26:43 +01:00
Martin Liska
a21ffd87c3
Fix borked link
2025-02-14 07:23:10 +01:00
yukang
7d999a5e49
add notes for perf issue
2025-02-14 13:49:02 +08:00
jyn
28dfcd0598
document bootstrap logging
2025-02-12 21:03:34 -05:00
Martin Liska
b4791992a3
Run CI multiple times a day
2025-02-12 07:46:09 +01:00
The rustc-dev-guide Cronjob Bot
81f21f0cce
Merge from rustc
2025-02-10 04:02:38 +00:00
The rustc-dev-guide Cronjob Bot
c2ff52afbd
Preparing for merge from rustc
2025-02-10 04:02:33 +00:00
Urgau
d024cef057
Rollup merge of #136530 - Kobzol:x-perf, r=onur-ozkan
...
Implement `x perf` directly in bootstrap
Discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Turning.20.60x.20perf.60.20into.20a.20first.20class.20command ).
Implementing the command directly in bootstrap let's us correctly build the compiler toolchain based on input arguments (such as include rustdoc in the toolchain [only] when needed), and it also makes the CLI interface nicer.
r? ``@onur-ozkan``
2025-02-09 00:37:27 +01:00
Martin Liska
515bd9f70f
Remove reference to enum.Reveal
2025-02-07 09:03:22 +01:00
Michael Howell
11f64f1eb4
Update links to type schemas
...
What used to be in externs.js is now in rustdoc.d.ts.
2025-02-06 08:29:10 -07:00
MarcoIeni
941e82a4b8
improve CI cache docs
2025-02-06 14:59:43 +01:00
Martin Liska
299b78e2e3
Replace link with a https based one
2025-02-06 09:12:42 +01:00
Jakub Beránek
5b3e767ae8
Update rustc-dev-guide
2025-02-05 15:33:40 +01:00
许杰友 Jieyou Xu (Joe)
3145dd3021
Merge pull request #2243 from Kobzol/pull-cron
2025-02-04 16:57:19 +08:00
Jakub Beránek
3e5b413dc4
Make the rustc-pull workflow run less often
2025-02-03 23:41:48 +01:00
许杰友 Jieyou Xu (Joe)
15f48e721c
Merge pull request #2242 from DuskyElf/master
2025-02-04 04:30:57 +08:00
Tshepang Mbambo
99d2b3a996
overlong line
2025-02-03 22:07:10 +02:00
Rehmatpal Singh
56a5b59db2
Remove "Port run-make tests from Make to Rust" tracking issue from Recurring work
2025-02-04 01:26:15 +05:30
Askar Safin
0a21f1d0a2
tree-wide: parallel: Fully removed all Lrc, replaced with Arc
2025-02-03 13:25:57 +03:00
The rustc-dev-guide Cronjob Bot
5cf7dd0bbf
Merge from rustc
2025-02-03 04:02:12 +00:00
The rustc-dev-guide Cronjob Bot
d47b46df6a
Preparing for merge from rustc
2025-02-03 04:02:09 +00:00
bjorn3
6a566ee092
Replace ParseSess::set_dcx with DiagCtxt::set_emitter
...
Replacing the error emitter doesn't accidentally clear the error count.
2025-02-02 16:09:39 +00:00
Yuki Okushi
ac1c40a951
Merge pull request #2236 from rust-lang/rustc-pull
2025-02-02 17:31:01 +09:00
Yuki Okushi
3827ff0289
Apply suggestions from code review
2025-02-02 17:30:30 +09:00
nora
e406adac08
Merge pull request #2233 from chiichen/nix-shell-dev
...
Use a more convinient way of developing rustc on NixOS
2025-02-02 08:52:17 +01:00
Onur Özkan
8d06d790cf
Merge pull request #2235 from Kobzol/docker-tests-rewrite
...
Rewrite section on executing Docker tests
2025-02-02 09:32:12 +03:00
The rustc-dev-guide Cronjob Bot
95665307cd
Merge from rustc
2025-02-02 04:02:22 +00:00
The rustc-dev-guide Cronjob Bot
f09de67356
Preparing for merge from rustc
2025-02-02 04:02:19 +00:00
Jakub Beránek
48c7202b02
Reword submodule handling
2025-02-01 16:42:28 +01:00
Jakub Beránek
97edb7a7c2
Checkout repository sources in rustc-pull CI action
...
This is needed for the `gh` command to work.
2025-02-01 15:50:00 +01:00
bors
854f22563c
Auto merge of #136350 - matthiaskrgr:rollup-6eqfyvh, r=matthiaskrgr
...
Rollup of 9 pull requests
Successful merges:
- #134531 ([rustdoc] Add `--extract-doctests` command-line flag)
- #135860 (Compiler: Finalize dyn compatibility renaming)
- #135992 (Improve documentation when adding a new target)
- #136194 (Support clobber_abi in BPF inline assembly)
- #136325 (Delay a bug when indexing unsized slices)
- #136326 (Replace our `LLVMRustDIBuilderRef` with LLVM-C's `LLVMDIBuilderRef`)
- #136330 (Remove unnecessary hooks)
- #136336 (Overhaul `rustc_middle::util`)
- #136341 (Remove myself from vacation)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-01-31 20:16:46 +00:00
Jakub Beránek
179a2f8a53
Pass GITHUB_TOKEN to Zulip CI step
2025-01-31 17:01:38 +01:00
Matthias Krüger
f818842ce2
Rollup merge of #135992 - madsmtm:new-target-docs, r=jieyouxu
...
Improve documentation when adding a new target
https://github.com/rust-lang/rust/pull/133631#issuecomment-2607877936 shows that it can be a bit difficult process-wise to add a new target.
I've added a bit of text to the docs, suggesting that users add the target defintion/spec first, and later work on `std` support.
I also found that we have two places where we document how to add a new target. I've linked these for now, but they should probably be merged somehow in the future.
`@rustbot` label A-docs
r? compiler
CC `@workingjubilee` who's worked a lot on target specs IIRC.
2025-01-31 12:28:16 +01:00
bors
7f36543a48
Auto merge of #136332 - jhpratt:rollup-aa69d0e, r=jhpratt
...
Rollup of 9 pull requests
Successful merges:
- #132156 (When encountering unexpected closure return type, point at return type/expression)
- #133429 (Autodiff Upstreaming - rustc_codegen_ssa, rustc_middle)
- #136281 (`rustc_hir_analysis` cleanups)
- #136297 (Fix a typo in profile-guided-optimization.md)
- #136300 (atomic: extend compare_and_swap migration docs)
- #136310 (normalize `*.long-type.txt` paths for compare-mode tests)
- #136312 (Disable `overflow_delimited_expr` in edition 2024)
- #136313 (Filter out RPITITs when suggesting unconstrained assoc type on too many generics)
- #136323 (Fix a typo in conventions.md)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-01-31 09:42:28 +00:00
Ryan Cumming
ba5386aeed
Fix a typo in conventions.md
...
Introduced in #135950
2025-01-31 10:23:46 +11:00
Jakub Beránek
40713cb451
Run rustc-pull CI every day, don't notify when there is nothing to update
2025-01-30 20:00:39 +01:00
Jakub Beránek
a7d35e12e2
Rewrite section on executing Docker tests
2025-01-30 18:33:34 +01:00
Jakub Beránek
7306e2b10f
Distinguish between "nothing to pull" and "pull error" in josh-sync
2025-01-30 16:48:39 +01:00
Michael Goulet
08d7e9dfe5
Rework rustc_dump_vtable
2025-01-30 15:30:04 +00:00
bors
5a45ab9738
Auto merge of #136038 - compiler-errors:outlives, r=lcnr
...
Simplify and consolidate the way we handle construct `OutlivesEnvironment` for lexical region resolution
This is best reviewed commit-by-commit. I tried to consolidate the API for lexical region resolution *first*, then change the API when it was finally behind a single surface.
r? lcnr or reassign
2025-01-30 11:40:32 +00:00
chiichen
fd911ea65a
feat: modify developing with nix section
2025-01-30 18:03:27 +08:00
chiichen
00cb12a521
chore: discard padding white space
2025-01-30 18:02:58 +08:00