Commit graph

2651 commits

Author SHA1 Message Date
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
许杰友 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
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
Stuart Cook
48b3eca63e
Rollup merge of #136254 - BoxyUwU:rdg-push, r=Kobzol
Rustc dev guide subtree update

r? `@Kobzol`
2025-01-30 14:25:06 +11:00
Boxy
0b48908512
Rustc pull 2025-01-29 16:46:09 +00:00
许杰友 Jieyou Xu (Joe)
bec4359db9
Merge pull request #2227 from Joren-vanGoethem/master 2025-01-29 05:03:36 +00:00
许杰友 Jieyou Xu (Joe)
7fa9822b3d
Merge pull request #2231 from yegeunyang/#2069 2025-01-29 05:02:55 +00:00
yegeunyang
4260e3a5b8 Touch up a sentence 2025-01-28 22:56:52 -06:00
许杰友 Jieyou Xu (Joe)
d8cca31abf
Merge pull request #2232 from yegeunyang/#2114
Add a link to declare_lint! macro doc in diagnostics.md
2025-01-29 04:08:54 +00:00
yegeunyang
0127e6479f Add link to declare_lint! macro 2025-01-28 21:05:12 -06:00
yegeunyang
941ab8cd18 Add "Writing tests" section 2025-01-28 20:42:26 -06:00
Mohammad Omidvar
5dfe0f8cf4 Make crate AST mutation accessible for driver callback 2025-01-28 19:45:20 +00:00
Michael Goulet
48b7e38c06 Move outlives env computation into methods 2025-01-28 18:55:03 +00:00
Michael Howell
5861aa21d9 Add some extra pointers for rustdoc frontend devs 2025-01-28 11:04:26 -07:00
Boxy
815c5d4eee Merge from rustc 2025-01-28 11:57:19 +00:00
Boxy
62102ee041 Preparing for merge from rustc 2025-01-28 11:57:04 +00:00
Joren-vanGoethem
d63796f69a
Update about-this-guide.md 2025-01-28 07:43:16 +01:00
Jakub Beránek
2412289fc9
Fix rustc-pull CI's bash commands 2025-01-27 23:34:43 +01:00
Noah Lev
885641bab1
Merge pull request #2223 from marxin/CI-cache-restore-key
CI: use key-restore for cache GH action
2025-01-26 14:21:09 -08:00
Eric Huss
5210a8d1e9
Correct information on dylib compression
Compression of dylibs was removed in https://github.com/rust-lang/rust/pull/113695 (and decompression removed in https://github.com/rust-lang/rust/pull/132402).
2025-01-26 12:08:48 -08:00
许杰友 Jieyou Xu (Joe)
97efda63b3 rustc-dev-guide: update bootstrap tracing docs 2025-01-27 01:24:53 +08:00