1# This file's format is documented at
2# https://forge.rust-lang.org/triagebot/pr-assignment.html#configuration
3
4
5# ------------------------------------------------------------------------------
6# Labels
7# ------------------------------------------------------------------------------
8
9[relabel]
10allow-unauthenticated = [
11 "A-*",
12 "B-*",
13 "C-*",
14 "D-*",
15 "E-*",
16 "F-*",
17 "I-*",
18 "L-*",
19 "NLL-*",
20 "O-*",
21 "PG-*",
22 "S-*",
23 "T-*",
24 "WG-*",
25 "-Z*",
26 "beta-nominated",
27 "CI-spurious-*",
28 "const-hack",
29 "llvm-*",
30 "needs-fcp",
31 "relnotes",
32 "release-blog-post",
33 "requires-*",
34 "regression-*",
35 "rla-*",
36 "perf-*",
37 "AsyncAwait-OnDeck",
38 "needs-triage",
39 "has-merge-commits",
40]
41
42[relabel.to-stable]
43add-labels = ["regression-from-stable-to-stable"]
44rem-labels = ["regression-from-stable-to-beta", "regression-from-stable-to-nightly"]
45
46[relabel.to-beta]
47add-labels = ["regression-from-stable-to-beta"]
48rem-labels = ["regression-from-stable-to-stable", "regression-from-stable-to-nightly"]
49
50[review-submitted]
51# This label is added when a "request changes" review is submitted.
52reviewed_label = "S-waiting-on-author"
53# These labels are removed when a "request changes" review is submitted.
54review_labels = ["S-waiting-on-review"]
55
56[review-requested]
57# Those labels are removed when PR author requests a review from an assignee
58remove_labels = ["S-waiting-on-author"]
59# Those labels are added when PR author requests a review from an assignee
60add_labels = ["S-waiting-on-review"]
61
62# [backport.*] sections autonominate pull requests for a backport
63# see: https://forge.rust-lang.org/triagebot/backport.html
64
65[backport.t-compiler-beta-backport]
66# The pull request MUST have one of these labels
67required-pr-labels = ["T-compiler"]
68# The regression MUST have this label
69required-issue-label = "regression-from-stable-to-beta"
70# if the above conditions matches, the PR will receive these labels
71add-labels = ["beta-nominated"]
72
73
74# ------------------------------------------------------------------------------
75# Ping groups
76# ------------------------------------------------------------------------------
77
78[ping.windows]
79message = """\
80Hey Windows Group! This issue has been identified as a good "Windows candidate".
81In case it's useful, here are some [instructions] for tackling these sorts of
82issues. Maybe take a look?
83Thanks! <3
84
85[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html
86"""
87label = "O-windows"
88
89[ping.arm]
90message = """\
91Hey ARM Group! This issue has been identified as a good "ARM candidate".
92In case it's useful, here are some [instructions] for tackling these sorts of
93issues. Maybe take a look?
94Thanks! <3
95
96[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/arm.html
97"""
98label = "O-ARM"
99
100[ping.loongarch]
101message = """\
102Hey LoongArch Group! This issue has been identified as a good "LoongArch candidate".
103In case it's useful, here are some [instructions] for tackling these sorts of
104issues. Maybe take a look?
105Thanks! <3
106
107[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/loongarch.html
108"""
109label = "O-loongarch"
110
111[ping.risc-v]
112message = """\
113Hey RISC-V Group! This issue has been identified as a good "RISC-V candidate".
114In case it's useful, here are some [instructions] for tackling these sorts of
115issues. Maybe take a look?
116Thanks! <3
117
118[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/risc-v.html
119"""
120label = "O-riscv"
121
122[ping.fuchsia]
123message = """\
124Hey friends of Fuchsia! This issue could use some guidance on how this should be
125resolved/implemented on Fuchsia. Could one of you weigh in?
126"""
127label = "O-fuchsia"
128
129[ping.apple]
130alias = ["macos", "ios", "tvos", "watchos", "visionos"]
131message = """\
132Hey Apple notification group! This issue or PR could use some Apple-specific
133guidance. Could one of you weigh in? Thanks <3
134
135(In case it's useful, here are some [instructions] for tackling these sorts of
136issues).
137
138[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/apple.html
139"""
140label = "O-apple"
141
142# This ping group is meant for situations where a rustc/stdlib change breaks RfL.
143# In that case, we want to notify the RfL group.
144[ping.rust-for-linux]
145alias = ["rfl"]
146message = """\
147Hey Rust for Linux group! It looks like something broke the Rust for Linux integration.
148Could you try to take a look?
149In case it's useful, here are some [instructions] for tackling these sorts of issues.
150
151[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/rust-for-linux.html
152"""
153label = "A-rust-for-linux"
154
155[ping.wasm]
156alias = ["webassembly"]
157message = """\
158Hey WASM notification group! This issue or PR could use some WebAssembly-specific
159guidance. Could one of you weigh in? Thanks <3
160
161(In case it's useful, here are some [instructions] for tackling these sorts of
162issues).
163
164[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/wasm.html
165"""
166label = "O-wasm"
167
168[ping.wasi]
169message = """\
170Hey WASI notification group! This issue or PR could use some WASI-specific guidance.
171Could one of you weigh in? Thanks <3
172
173(In case it's useful, here are some [instructions] for tackling these sorts of
174issues).
175
176[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/wasi.html
177"""
178label = "O-wasi"
179
180[ping.emscripten]
181message = """\
182Hey Emscripten notification group! This issue or PR could use some Emscripten-specific
183guidance. Could one of you weigh in? Thanks <3
184
185(In case it's useful, here are some [instructions] for tackling these sorts of
186issues).
187
188[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/emscripten.html
189"""
190label = "O-emscripten"
191
192[ping.relnotes-interest-group]
193message = """\
194Hi relnotes-interest-group, this issue/PR could use some help in reviewing /
195adjusting release notes. Could you take a look if available? Thanks <3
196"""
197
198[ping.gpu-target]
199message = """\
200Hi GPU experts, this issue/PR could use some guidance on how this should be
201resolved/implemented. Could you take a look if available? Thanks <3
202"""
203
204# ------------------------------------------------------------------------------
205# Autolabels
206# ------------------------------------------------------------------------------
207
208[prioritize]
209label = "I-prioritize"
210
211[autolabel."S-waiting-on-review"]
212new_pr = true
213
214[autolabel."S-waiting-on-author"]
215new_draft = true
216
217[autolabel."needs-triage"]
218new_issue = true
219exclude_labels = [
220 "C-tracking-issue",
221 "A-diagnostics",
222]
223
224[autolabel."I-prioritize"]
225trigger_labels = [
226 "regression-untriaged",
227 "regression-from-stable-to-stable",
228 "regression-from-stable-to-beta",
229 "regression-from-stable-to-nightly",
230 "I-unsound",
231 "I-miscompile",
232]
233exclude_labels = [
234 "P-*",
235 "T-infra",
236 "T-release",
237 "requires-nightly",
238 "F-*",
239]
240
241[autolabel."T-rustdoc"]
242trigger_files = [
243 # Source code
244 "src/librustdoc",
245 "src/tools/rustdoc",
246 "src/rustdoc-json-types",
247
248 # Tests
249 "tests/rustdoc-html",
250 "tests/rustdoc-ui",
251 "tests/rustdoc-gui",
252 "tests/rustdoc-js/",
253 "tests/rustdoc-js-std",
254 "tests/rustdoc-json",
255
256 # Internal tooling
257 "src/etc/htmldocck.py",
258 "src/tools/jsondocck",
259 "src/tools/jsondoclint",
260 "src/tools/rustdoc-js",
261 "src/tools/rustdoc-themes",
262
263 # Docs
264 "src/doc/rustdoc.md",
265 "src/doc/rustdoc/",
266]
267exclude_labels = [
268 "T-*",
269]
270trigger_labels = [
271 "A-rustdoc-json",
272 "A-rustdoc-type-layout",
273 "A-rustdoc-scrape-examples",
274 "A-link-to-definition",
275 "A-cross-crate-reexports",
276 "A-intra-doc-links",
277 "A-doc-alias",
278]
279
280[autolabel."A-rustdoc-json"]
281trigger_files = [
282 "src/librustdoc/json/",
283 "src/rustdoc-json-types",
284 "tests/rustdoc-json",
285 "src/tools/jsondocck",
286 "src/tools/jsondoclint",
287]
288
289[autolabel."A-attributes"]
290trigger_files = [
291 "compiler/rustc_codegen_ssa/src/codegen_attrs.rs",
292 "compiler/rustc_passes/src/check_attr.rs",
293 "compiler/rustc_attr_parsing",
294 "compiler/rustc_hir/src/attrs",
295]
296
297[autolabel."A-compiler-builtins"]
298trigger_files = [
299 "library/compiler-builtins",
300]
301
302[autolabel."F-autodiff"]
303trigger_files = [
304 "src/tools/enzyme",
305 "src/doc/unstable-book/src/compiler-flags/autodiff.md",
306 "compiler/rustc_ast/src/expand/autodiff_attrs.rs",
307 "compiler/rustc_codegen_llvm/src/builder/autodiff.rs",
308 "compiler/rustc_codegen_llvm/src/llvm/enzyme_ffi.rs",
309]
310
311[autolabel."F-explicit_tail_calls"]
312trigger_files = [
313 "tests/ui/explicit-tail-calls",
314]
315
316[autolabel."T-rustdoc-frontend"]
317trigger_labels = [
318 "A-rustdoc-search",
319 "A-rustdoc-ui",
320 "A-rustdoc-js",
321]
322trigger_files = [
323 "src/librustdoc/html/",
324 "tests/rustdoc-html/",
325 "tests/rustdoc-gui/",
326 "tests/rustdoc-js/",
327 "tests/rustdoc-js-std/",
328 # note: tests/rustdoc-ui tests the CLI, not the web frontend
329]
330
331[autolabel."A-rustdoc-search"]
332trigger_files = [
333 "src/librustdoc/html/static/js/search.js",
334 "tests/rustdoc-js/",
335 "tests/rustdoc-js-std",
336]
337trigger_labels = [
338 "A-type-based-search",
339]
340
341[autolabel."A-rustdoc-js"]
342trigger_files = [
343 "src/librustdoc/html/static/js/",
344 "src/librustdoc/html/static/css/",
345 "tests/rustdoc-js/",
346 "tests/rustdoc-js-std/",
347]
348
349[autolabel."T-compiler"]
350trigger_files = [
351 # Source code
352 "compiler",
353
354 # Tests
355 "tests/assembly-llvm",
356 "tests/auxiliary",
357 "tests/codegen-llvm",
358 "tests/codegen-units",
359 "tests/COMPILER_TESTS.md",
360 "tests/coverage",
361 "tests/coverage-run-rustdoc",
362 "tests/crashes",
363 "tests/debuginfo",
364 "tests/incremental",
365 "tests/mir-opt",
366 "tests/pretty",
367 "tests/run-make",
368 "tests/run-make-cargo",
369 "tests/ui",
370 "tests/ui-fulldeps",
371]
372exclude_labels = [
373 "T-*",
374]
375trigger_labels = [
376 "D-*",
377 "A-diagnostics",
378]
379
380[autolabel."A-diagnostics"]
381trigger_labels = [
382 "D-*",
383]
384
385[autolabel."A-lints"]
386trigger_labels = [
387 "L-*",
388]
389
390[autolabel."T-libs"]
391trigger_files = [
392 "library/alloc",
393 "library/compiler-builtins",
394 "library/core",
395 "library/panic_abort",
396 "library/panic_unwind",
397 "library/std",
398 "library/stdarch",
399 "library/test",
400]
401exclude_labels = [
402 "T-*",
403]
404
405[autolabel."O-android"]
406trigger_files = [
407 "library/std/src/os/android"
408]
409
410[autolabel."O-apple"]
411trigger_files = [
412 "library/std/src/os/darwin",
413 "library/std/src/sys/platform_version/darwin",
414 "library/std/src/sys/sync/thread_parking/darwin.rs",
415 "compiler/rustc_target/src/spec/base/apple",
416]
417
418[autolabel."O-fuchsia"]
419trigger_files = [
420 "library/std/src/os/fuchsia"
421]
422
423[autolabel."O-hermit"]
424trigger_files = [
425 "library/std/src/sys/pal/hermit",
426 "library/std/src/os/hermit"
427]
428
429[autolabel."O-ios"]
430trigger_files = [
431 "library/std/src/os/ios"
432]
433
434[autolabel."O-itron"]
435trigger_files = [
436 "library/std/src/sys/pal/itron"
437]
438
439[autolabel."O-linux"]
440trigger_files = [
441 "library/std/src/os/linux"
442]
443
444[autolabel."O-macos"]
445trigger_files = [
446 "library/std/src/os/macos",
447]
448
449[autolabel."O-netbsd"]
450trigger_files = [
451 "library/std/src/os/netbsd"
452]
453
454[autolabel."O-redox"]
455trigger_files = [
456 "library/std/src/os/redox"
457]
458
459[autolabel."O-SGX"]
460trigger_files = [
461 "library/std/src/sys/pal/sgx",
462 "library/std/src/os/fortanix_sgx"
463]
464
465[autolabel."O-solaris"]
466trigger_files = [
467 "library/std/src/os/solaris"
468]
469
470[autolabel."O-solid"]
471trigger_files = [
472 "library/std/src/sys/pal/solid",
473 "library/std/src/os/solid"
474]
475
476[autolabel."O-unix"]
477trigger_files = [
478 "library/std/src/sys/pal/unix",
479 "library/std/src/os/unix"
480]
481
482[autolabel."O-wasi"]
483trigger_files = [
484 "library/std/src/sys/pal/wasi",
485 "library/std/src/os/wasi"
486]
487
488[autolabel."O-wasm"]
489trigger_files = [
490 "library/std/src/sys/pal/wasm",
491 "library/std/src/os/wasi",
492 "library/std/src/os/wasip2"
493]
494
495[autolabel."O-windows"]
496trigger_files = [
497 "library/std/src/sys/pal/windows",
498 "library/std/src/os/windows"
499]
500
501[autolabel."T-bootstrap"]
502trigger_files = [
503 "Cargo.toml",
504 "configure",
505 "bootstrap.example.toml",
506 "src/bootstrap",
507 "src/build_helper",
508 "src/tools/build-manifest",
509 "src/tools/rust-installer",
510 "src/tools/x",
511 "src/stage0",
512 "src/tools/compiletest",
513 "src/tools/tidy",
514 "src/tools/rustdoc-gui-test",
515 "src/tools/libcxx-version",
516 "x.py",
517 "x",
518 "x.ps1"
519]
520
521[autolabel."A-bootstrap-stamp"]
522trigger_files = [
523 "src/bootstrap/src/utils/build_stamp.rs",
524]
525
526[autolabel."T-infra"]
527trigger_files = [
528 ".github/workflows",
529 "src/ci",
530 "src/tools/bump-stage0",
531 "src/tools/cargotest",
532 "src/tools/tier-check",
533]
534
535[autolabel."T-style"]
536trigger_files = [
537 "src/doc/style-guide",
538]
539
540[autolabel."A-translation"]
541trigger_files = [
542 "compiler/rustc_error_messages",
543 "compiler/rustc_errors/src/formatting.rs",
544 "compiler/rustc_macros/src/diagnostics"
545]
546
547[autolabel."A-query-system"]
548trigger_files = [
549 "compiler/rustc_query_impl",
550 "compiler/rustc_macros/src/query.rs"
551]
552
553[autolabel."A-testsuite"]
554trigger_files = [
555 "src/bootstrap/src/core/build_steps/test.rs",
556 "src/ci",
557 "src/tools/cargotest",
558 "src/tools/compiletest",
559 "src/tools/miropt-test-tools",
560 "src/tools/remote-test-server",
561 "src/tools/remote-test-client",
562 "src/tools/rustdoc-gui-test",
563]
564
565[autolabel."A-tidy"]
566trigger_files = [
567 "src/tools/tidy",
568]
569
570[autolabel."A-meta"]
571trigger_files = [
572 "triagebot.toml",
573 "rustfmt.toml",
574 "LICENSES",
575 "COPYRIGHT",
576 "LICENSE-APACHE",
577 "LICENSE-MIT",
578 "CODE_OF_CONDUCT.md",
579 "README.md",
580 "CONTRIBUTING.md",
581 "INSTALL.md",
582 "REUSE.toml",
583 ".mailmap",
584 ".git-blame-ignore-revs",
585 ".editorconfig"
586]
587
588[autolabel."T-release"]
589trigger_files = [
590 "RELEASES.md",
591 "src/stage0",
592 "src/version"
593]
594
595[autolabel."WG-trait-system-refactor"]
596trigger_files = [
597 "compiler/rustc_next_trait_solver",
598 "compiler/rustc_trait_selection/src/solve",
599 "compiler/rustc_type_ir/src/solve",
600 "tests/ui/traits/next-solver",
601]
602
603[autolabel."PG-exploit-mitigations"]
604trigger_files = [
605 "compiler/rustc_sanitizers",
606 "src/doc/rustc/src/exploit-mitigations.md",
607 "src/doc/unstable-book/src/compiler-flags/branch-protection.md",
608 "src/doc/unstable-book/src/compiler-flags/cf-protection.md",
609 "src/doc/unstable-book/src/compiler-flags/control-flow-guard.md",
610 "src/doc/unstable-book/src/compiler-flags/sanitizer.md",
611 "src/doc/unstable-book/src/language-features/cfg-sanitize.md",
612 "src/doc/unstable-book/src/language-features/cfi-encoding.md",
613 "src/doc/unstable-book/src/language-features/sanitize.md",
614 "tests/codegen-llvm/sanitizer",
615 "tests/codegen-llvm/split-lto-unit.rs",
616 "tests/codegen-llvm/stack-probes-inline.rs",
617 "tests/codegen-llvm/stack-protector.rs",
618 "tests/ui/sanitizer",
619 "tests/ui/stack-protector"
620]
621
622[autolabel."A-run-make"]
623trigger_files = [
624 "tests/run-make",
625 "tests/run-make-cargo",
626 "src/tools/run-make-support"
627]
628
629[autolabel."A-compiletest"]
630trigger_files = [
631 "src/tools/compiletest"
632]
633
634[autolabel."A-test-infra-minicore"]
635trigger_files = [
636 "tests/auxiliary/minicore.rs",
637]
638
639[autolabel."A-rustc-dev-guide"]
640trigger_files = [
641 "src/doc/rustc-dev-guide",
642]
643
644[autolabel."A-LLVM"]
645trigger_files = [
646 "src/llvm-project",
647 "compiler/rustc_llvm",
648 "compiler/rustc_codegen_llvm",
649]
650
651[autolabel."T-clippy"]
652trigger_files = [
653 "src/tools/clippy",
654]
655
656[autolabel."A-CI"]
657trigger_files = [
658 ".github/workflows",
659 "src/ci",
660]
661
662[autolabel."T-rust-analyzer"]
663trigger_files = [
664 "src/tools/rust-analyzer",
665]
666
667[autolabel."T-rustfmt"]
668trigger_files = [
669 "src/tools/rustfmt",
670]
671
672# ------------------------------------------------------------------------------
673# Prioritization and team nominations
674# ------------------------------------------------------------------------------
675
676[notify-zulip."I-prioritize"]
677zulip_stream = 245100 # #t-compiler/prioritization/alerts
678topic = "#{number} {title}"
679message_on_add = """\
680Issue #{number} has been requested for prioritization.
681
682# [Procedure](https://forge.rust-lang.org/compiler/prioritization.html)
683- Priority?
684- Regression?
685- Notify people/groups?
686- Needs `I-{team}-nominated`?
687"""
688message_on_remove = "Issue #{number}'s prioritization request has been removed."
689message_on_close = "Issue #{number} has been closed while requested for prioritization."
690message_on_reopen = "Issue #{number} has been reopened."
691
692[notify-zulip."I-types-nominated"]
693zulip_stream = 326866 # #T-types/nominated
694topic = "#{number}: {title}"
695message_on_add = """\
696@*T-types* issue #{number} "{title}" has been nominated for team discussion.
697"""
698message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
699message_on_close = "Issue #{number} has been closed. Thanks for participating!"
700message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
701
702
703# ------------------------------------------------------------------------------
704# Zulip notifications
705# ------------------------------------------------------------------------------
706
707[notify-zulip."beta-nominated".rustdoc]
708required_labels = ["T-rustdoc"]
709zulip_stream = 266220 # #t-rustdoc
710topic = "beta-nominated: #{number}"
711# Zulip polls may not be preceded by any other text and pings & short links inside
712# the title of a poll don't get recognized. Therefore we need to send two messages.
713message_on_add = [
714 """\
715@*T-rustdoc* PR #{number} "{title}" has been nominated for beta backport.
716""",
717 """\
718/poll Approve beta backport of #{number}?
719approve
720decline
721don't know
722""",
723]
724message_on_remove = "PR #{number}'s beta-nomination has been removed."
725message_on_close = "PR #{number} has been closed. Thanks for participating!"
726message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
727
728[notify-zulip."beta-accepted".rustdoc]
729required_labels = ["T-rustdoc"]
730zulip_stream = 266220 # #t-rustdoc
731# Put it in the same thread as beta-nominated.
732topic = "beta-nominated: #{number}"
733message_on_add = "PR #{number} has been **accepted** for beta backport."
734message_on_remove = "PR #{number}'s beta-acceptance has been **removed**."
735message_on_close = "PR #{number} has been closed. Thanks for participating!"
736message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
737
738[notify-zulip."stable-nominated".rustdoc]
739required_labels = ["T-rustdoc"]
740zulip_stream = 266220 # #t-rustdoc
741topic = "stable-nominated: #{number}"
742# Zulip polls may not be preceded by any other text and pings & short links inside
743# the title of a poll don't get recognized. Therefore we need to send two messages.
744message_on_add = [
745 """\
746@*T-rustdoc* PR #{number} "{title}" has been nominated for stable backport.
747""",
748 """\
749/poll Approve stable backport of #{number}?
750approve
751approve (but does not justify new dot release on its own)
752decline
753don't know
754""",
755]
756message_on_remove = "PR #{number}'s stable-nomination has been removed."
757message_on_close = "PR #{number} has been closed. Thanks for participating!"
758message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
759
760[notify-zulip."stable-accepted".rustdoc]
761required_labels = ["T-rustdoc"]
762zulip_stream = 266220 # #t-rustdoc
763# Put it in the same thread as stable-nominated.
764topic = "stable-nominated: #{number}"
765message_on_add = "PR #{number} has been **accepted** for stable backport."
766message_on_remove = "PR #{number}'s stable-acceptance has been **removed**."
767message_on_close = "PR #{number} has been closed. Thanks for participating!"
768message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
769
770
771[notify-zulip."beta-nominated".compiler]
772required_labels = ["T-compiler"]
773zulip_stream = 474880 # #t-compiler/backports
774topic = "#{number}: beta-nominated"
775message_on_add = [
776 """\
777PR #{number} "{title}" fixes a regression and has been nominated for backport.
778{recipients}, what do you think about it?
779This topic will help T-compiler getting context about it.
780
781Tip: to approve or decline from this Zulip thread, use:
782@_**triagebot** backport approve beta #{number}
783@_**triagebot** backport decline beta #{number}
784""",
785 """\
786/poll Should #{number} be beta backported?
787approve
788decline
789don't know
790""",
791]
792message_on_remove = "PR #{number}'s beta-nomination has been removed."
793
794[notify-zulip."beta-accepted".compiler]
795required_labels = ["T-compiler"]
796zulip_stream = 474880 # #t-compiler/backports
797# Put it in the same Zulip topic as beta-nominated.
798topic = "#{number}: beta-nominated"
799message_on_add = "PR #{number} has been **accepted** for **beta** backport."
800
801[notify-zulip."stable-nominated".compiler]
802required_labels = ["T-compiler"]
803zulip_stream = 474880 # #t-compiler/backports
804topic = "#{number}: stable-nominated"
805message_on_add = [
806 """\
807PR #{number} "{title}" fixes a regression and has been nominated for backport.
808{recipients}, what do you think about it?
809This topic will help T-compiler getting context about it.
810
811Tip: to approve or decline from this Zulip thread, use:
812@_**triagebot** backport approve stable #{number}
813@_**triagebot** backport decline stable #{number}
814""",
815 """\
816/poll Approve stable backport of #{number}?
817approve
818approve (but does not justify new dot release on its own)
819decline
820don't know
821""",
822]
823message_on_remove = "PR #{number}'s stable-nomination has been removed."
824
825[notify-zulip."stable-accepted".compiler]
826required_labels = ["T-compiler"]
827zulip_stream = 474880 # #t-compiler/backports
828# Put it in the same thread as stable-nominated.
829topic = "#{number}: stable-nominated"
830message_on_add = "PR #{number} has been **accepted** for **stable** backport."
831
832[notify-zulip."beta-nominated".libs]
833required_labels = ["T-libs"]
834zulip_stream = 542373 # #t-libs/backports
835topic = "#{number}: beta-nominated"
836message_on_add = [
837 """\
838@*T-libs* PR #{number} "{title}" has been nominated for beta backport.
839""",
840 """\
841/poll Should #{number} be beta backported?
842approve
843decline
844don't know
845""",
846]
847message_on_remove = "PR #{number}'s beta-nomination has been removed."
848
849[notify-zulip."beta-accepted".libs]
850required_labels = ["T-libs"]
851zulip_stream = 542373 # #t-libs/backports
852# Put it in the same Zulip topic as beta-nominated.
853topic = "#{number}: beta-nominated"
854message_on_add = "PR #{number} has been **accepted** for **beta** backport."
855
856[notify-zulip."stable-nominated".libs]
857required_labels = ["T-libs"]
858zulip_stream = 542373 # #t-libs/backports
859topic = "#{number}: stable-nominated"
860message_on_add = [
861 """\
862@**channel** PR #{number} "{title}" has been nominated for stable backport.
863""",
864 """\
865/poll Approve stable backport of #{number}?
866approve
867approve (but does not justify new dot release on its own)
868decline
869don't know
870""",
871]
872message_on_remove = "PR #{number}'s stable-nomination has been removed."
873
874[notify-zulip."stable-accepted".libs]
875required_labels = ["T-libs"]
876zulip_stream = 542373 # #t-libs/backports
877# Put it in the same thread as stable-nominated.
878topic = "#{number}: stable-nominated"
879message_on_add = "PR #{number} has been **accepted** for **stable** backport."
880
881
882[notify-zulip."beta-nominated".bootstrap]
883required_labels = ["T-bootstrap"]
884zulip_stream = 507486 # #t-infra/bootstrap/backports
885topic = "#{number}: beta-nominated"
886message_on_add = [
887 """\
888@*T-bootstrap* PR #{number} "{title}" has been nominated for beta backport.
889""",
890 """\
891/poll Approve beta backport of #{number}?
892approve
893decline
894don't know
895""",
896]
897message_on_remove = "PR #{number}'s beta-nomination has been removed."
898
899[notify-zulip."beta-accepted".bootstrap]
900required_labels = ["T-bootstrap"]
901zulip_stream = 507486 # #t-infra/bootstrap/backports
902# Put it in the same thread as beta-nominated.
903topic = "#{number}: beta-nominated"
904message_on_add = "PR #{number} has been **accepted** for **beta** backport."
905
906[notify-zulip."stable-nominated".bootstrap]
907required_labels = ["T-bootstrap"]
908zulip_stream = 507486 # #t-infra/bootstrap/backports
909topic = "#{number}: stable-nominated"
910message_on_add = [
911 """\
912@*T-bootstrap* PR #{number} "{title}" has been nominated for stable backport.
913""",
914 """\
915/poll Approve stable backport of #{number}?
916approve
917approve (but does not justify new dot release on its own)
918decline
919don't know
920""",
921]
922message_on_remove = "PR #{number}'s stable-nomination has been removed."
923
924[notify-zulip."stable-accepted".bootstrap]
925required_labels = ["T-bootstrap"]
926zulip_stream = 507486 # #t-infra/bootstrap/backports
927# Put it in the same thread as stable-nominated.
928topic = "#{number}: stable-nominated"
929message_on_add = "PR #{number} has been **accepted** for **stable** backport."
930
931
932[notify-zulip."A-edition-2021"]
933required_labels = ["C-bug"]
934zulip_stream = 268952 # #edition
935topic = "Edition Bugs"
936message_on_add = """\
937Issue #{number} "{title}" has been added (previous edition 2021).
938"""
939
940[notify-zulip."A-edition-2024"]
941required_labels = ["C-bug"]
942zulip_stream = 268952 # #edition
943topic = "Edition Bugs"
944message_on_add = """\
945Issue #{number} "{title}" has been added.
946"""
947
948
949# ------------------------------------------------------------------------------
950# Mentions
951# ------------------------------------------------------------------------------
952
953[mentions."compiler/rustc_codegen_cranelift"]
954message = "The Cranelift subtree was changed"
955cc = ["@bjorn3"]
956
957[mentions."compiler/rustc_codegen_gcc"]
958message = "The GCC codegen subtree was changed"
959cc = ["@antoyo", "@GuillaumeGomez"]
960
961[mentions."compiler/rustc_const_eval/src/"]
962message = "Some changes occurred to the CTFE machinery"
963cc = ["@RalfJung", "@oli-obk", "@lcnr"]
964
965[mentions."compiler/rustc_const_eval/src/check_consts"]
966message = "Some changes occurred to constck"
967cc = ["@fee1-dead"]
968
969[mentions."compiler/rustc_const_eval/src/interpret"]
970message = "Some changes occurred to the CTFE / Miri interpreter"
971cc = ["@rust-lang/miri"]
972
973[mentions."compiler/rustc_trait_selection/src/error_reporting/infer/need_type_info.rs"]
974message = "Some changes occurred in need_type_info.rs"
975cc = ["@lcnr"]
976
977[mentions."compiler/rustc_middle/src/ty/relate.rs"]
978message = "changes to the core type system"
979cc = ["@lcnr"]
980
981[mentions."compiler/rustc_infer/src/infer/relate"]
982message = "changes to the core type system"
983cc = ["@lcnr"]
984
985[mentions."compiler/rustc_hir_typeck/src/fn_ctxt/inspect_obligations.rs"]
986message = "changes to `inspect_obligations.rs`"
987cc = ["@lcnr"]
988
989[mentions."compiler/rustc_middle/src/mir/interpret"]
990message = "Some changes occurred to the CTFE / Miri interpreter"
991cc = ["@rust-lang/miri", "@RalfJung", "@oli-obk", "@lcnr"]
992
993[mentions."compiler/rustc_mir_transform/src/"]
994message = "Some changes occurred to MIR optimizations"
995cc = ["@rust-lang/wg-mir-opt"]
996
997[mentions."compiler/rustc_trait_selection/src/traits/wf.rs"]
998message = "changes to the core type system"
999cc = ["@lcnr"]
1000
1001[mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
1002message = "Some changes occurred in `const_evaluatable.rs`"
1003cc = ["@BoxyUwU"]
1004
1005[mentions."compiler/rustc_middle/src/ty/abstract_const.rs"]
1006message = "Some changes occurred in `abstract_const.rs`"
1007cc = ["@BoxyUwU"]
1008
1009[mentions."compiler/rustc_ty_utils/src/consts.rs"]
1010message = "Some changes occurred in `rustc_ty_utils::consts.rs`"
1011cc = ["@BoxyUwU"]
1012
1013[mentions."compiler/rustc_trait_selection/src/solve/"]
1014message = "Some changes occurred to the core trait solver"
1015cc = ["@rust-lang/initiative-trait-system-refactor"]
1016
1017[mentions."compiler/rustc_trait_selection/src/traits/engine.rs"]
1018message = """
1019Some changes occurred in engine.rs, potentially modifying the public API \
1020of `ObligationCtxt`.
1021"""
1022cc = ["@lcnr"]
1023
1024[mentions."compiler/rustc_hir_analysis/src/hir_ty_lowering"]
1025message = "HIR ty lowering was modified"
1026cc = ["@fmease"]
1027
1028[mentions."compiler/rustc_parse"]
1029message = """
1030The parser was modified, potentially altering the grammar of (stable) Rust
1031which would be a breaking change.
1032"""
1033cc = ["@fmease"]
1034
1035[mentions."library/core/src/mem/type_info.rs"]
1036message = """
1037The reflection data structures are tied exactly to the implementation
1038in the compiler. Make sure to also adjust `rustc_const_eval/src/const_eval/type_info.rs`
1039"""
1040cc = ["@oli-obk"]
1041
1042[mentions."compiler/rustc_error_codes/src/lib.rs"]
1043message = "Some changes occurred in diagnostic error codes"
1044cc = ["@GuillaumeGomez"]
1045
1046[mentions."compiler/rustc_mir_build/src/builder/matches"]
1047message = "Some changes occurred in match lowering"
1048cc = ["@Nadrieril"]
1049
1050[mentions."compiler/rustc_mir_build/src/thir/pattern"]
1051message = "Some changes occurred in match checking"
1052cc = ["@Nadrieril"]
1053
1054[mentions."compiler/rustc_pattern_analysis"]
1055message = "Some changes occurred in exhaustiveness checking"
1056cc = ["@Nadrieril"]
1057
1058[mentions."compiler/rustc_session/src/config/cfg.rs"]
1059message = "Some changes occurred in cfg and check-cfg configuration"
1060cc = ["@Urgau"]
1061
1062[mentions."compiler/rustc_attr_parsing/src/check_cfg.rs"]
1063message = "Some changes occurred in check-cfg diagnostics"
1064cc = ["@Urgau"]
1065
1066[mentions."library/compiler-builtins"]
1067message = """
1068`compiler-builtins` is developed in its own repository. If possible, consider \
1069making this change to \
1070[rust-lang/compiler-builtins](https://github.com/rust-lang/compiler-builtins) \
1071instead.
1072"""
1073cc = ["@tgross35"]
1074
1075[mentions."library/stdarch"]
1076message = """
1077`stdarch` is developed in its own repository. If possible, consider \
1078making this change to \
1079[rust-lang/stdarch](https://github.com/rust-lang/stdarch) \
1080instead.
1081"""
1082cc = ["@Amanieu", "@folkertdev", "@sayantn"]
1083
1084[mentions."library/std_detect"]
1085message = "Some changes occurred in `std_detect`"
1086cc = ["@Amanieu", "@folkertdev", "@sayantn"]
1087
1088[mentions."library/core/src/intrinsics/simd/mod.rs"]
1089message = """
1090Some changes occurred to the platform-builtins intrinsics. Make sure the
1091LLVM backend as well as portable-simd gets adapted for the changes.
1092"""
1093cc = ["@antoyo", "@GuillaumeGomez", "@bjorn3", "@calebzulawski", "@programmerjake"]
1094
1095[mentions."library/core/src/intrinsics"]
1096message = """
1097Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter
1098gets adapted for the changes, if necessary.
1099"""
1100cc = ["@rust-lang/miri", "@RalfJung", "@oli-obk", "@lcnr"]
1101
1102[mentions."library/core/src/num/imp/{dec2flt,flt2dec}"]
1103message = "Some changes occurred in float parsing"
1104cc = ["@tgross35"]
1105
1106[mentions."library/core/src/fmt/num.rs"]
1107message = "Some changes occurred in integer formatting"
1108cc = ["@tgross35"]
1109
1110[mentions."library/portable-simd"]
1111message = """
1112Portable SIMD is developed in its own repository. If possible, consider \
1113making this change to [rust-lang/portable-simd](https://github.com/rust-lang/portable-simd) \
1114instead.
1115"""
1116cc = ["@calebzulawski", "@programmerjake"]
1117
1118[mentions."library/core/src/unicode/unicode_data.rs"]
1119message = """
1120`library/core/src/unicode/unicode_data.rs` is generated by the \
1121`src/tools/unicode-table-generator` tool.
1122
1123If you want to modify `unicode_data.rs`, please modify the tool then regenerate the library \
1124source file via `./x run src/tools/unicode-table-generator` instead of editing \
1125`unicode_data.rs` manually.
1126"""
1127
1128[mentions."src/librustdoc/html/static"]
1129message = "Some changes occurred in HTML/CSS/JS."
1130cc = [
1131 "@GuillaumeGomez",
1132 "@lolbinarycat",
1133]
1134
1135[mentions."tests/rustdoc-gui/"]
1136message = "Some changes occurred in GUI tests."
1137cc = ["@GuillaumeGomez"]
1138
1139[mentions."src/rustdoc-json-types"]
1140message = """
1141rustdoc-json-types is a **public** (although nightly-only) API. \
1142If possible, consider changing `src/librustdoc/json/conversions.rs`; \
1143otherwise, make sure you bump the `FORMAT_VERSION` constant.
1144"""
1145cc = [
1146 "@CraftSpider",
1147 "@aDotInTheVoid",
1148 "@Enselic",
1149 "@obi1kenobi",
1150]
1151
1152[mentions."src/tools/cargo"]
1153cc = ["@ehuss"]
1154
1155[mentions."src/tools/clippy"]
1156message = "The Clippy subtree was changed"
1157cc = ["@rust-lang/clippy"]
1158
1159[mentions."src/tools/compiletest"]
1160cc = ["@jieyouxu"]
1161
1162[mentions."src/tools/compiletest/src/directives"]
1163message = """
1164`compiletest` directives have been modified. Please add or update docs for the
1165new or modified directive in `src/doc/rustc-dev-guide/`.
1166"""
1167
1168[mentions."src/tools/miri"]
1169message = "The Miri subtree was changed"
1170cc = ["@rust-lang/miri"]
1171
1172[mentions."src/tools/run-make-support"]
1173message = "The run-make-support library was changed"
1174cc = ["@jieyouxu"]
1175
1176[mentions."src/tools/rust-analyzer"]
1177message = """
1178rust-analyzer is developed in its own repository. If possible, consider making \
1179this change to [rust-lang/rust-analyzer] instead.
1180
1181[rust-lang/rust-analyzer]: https://github.com/rust-lang/rust-analyzer
1182"""
1183cc = ["@rust-lang/rust-analyzer"]
1184
1185[mentions."src/tools/rustfmt"]
1186message = "The Rustfmt subtree was changed"
1187cc = ["@rust-lang/rustfmt"]
1188
1189[mentions."compiler/rustc_middle/src/mir/syntax.rs"]
1190message = "This PR changes MIR"
1191cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@vakaras"]
1192
1193[mentions."compiler/rustc_error_messages"]
1194message = "`rustc_error_messages` was changed"
1195cc = ["@TaKO8Ki"]
1196
1197[mentions."compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs"]
1198message = "`rustc_errors::annotate_snippet_emitter_writer` was changed"
1199cc = ["@Muscraft"]
1200
1201[mentions."compiler/rustc_errors/src/emitter.rs"]
1202message = "`rustc_errors::emitter` was changed"
1203cc = ["@Muscraft"]
1204
1205[mentions."compiler/rustc_errors/src/formatting.rs"]
1206message = "`rustc_errors::formatting` was changed"
1207cc = ["@TaKO8Ki", "@JonathanBrouwer"]
1208
1209[mentions."compiler/rustc_macros/src/diagnostics"]
1210message = "`rustc_macros::diagnostics` was changed"
1211cc = ["@TaKO8Ki", "@JonathanBrouwer"]
1212
1213[mentions."compiler/rustc_public"]
1214message = "This PR changes rustc_public"
1215cc = ["@oli-obk", "@celinval", "@ouz-a", "@makai410"]
1216
1217[mentions."compiler/rustc_target/src/spec"]
1218message = """
1219These commits modify **compiler targets**.
1220(See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
1221"""
1222
1223[mentions."src/doc/style-guide"]
1224cc = ["@rust-lang/style"]
1225
1226[mentions."Cargo.lock"]
1227message = """
1228These commits modify the `Cargo.lock` file. Unintentional changes to `Cargo.lock` can be introduced when switching branches and rebasing PRs.
1229
1230If this was unintentional then you should revert the changes before this PR is merged.
1231Otherwise, you can ignore this comment.
1232"""
1233
1234[mentions."library/Cargo.lock"]
1235message = """
1236These commits modify the `library/Cargo.lock` file. Unintentional changes to `library/Cargo.lock` can be introduced when switching branches and rebasing PRs.
1237
1238If this was unintentional then you should revert the changes before this PR is merged.
1239Otherwise, you can ignore this comment.
1240"""
1241
1242[mentions."src/tools/x"]
1243message = "`src/tools/x` was changed. Bump version of Cargo.toml in `src/tools/x` so tidy will suggest installing the new version."
1244
1245[mentions."src/tools/tidy/src/deps.rs"]
1246message = "The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging."
1247cc = ["@davidtwco", "@wesleywiser"]
1248
1249[mentions."src/tools/tidy/src/extra_checks"]
1250message = "`tidy` extra checks were modified."
1251cc = ["@lolbinarycat"]
1252
1253[mentions."src/bootstrap/src/core/config"]
1254message = """
1255This PR modifies `src/bootstrap/src/core/config`.
1256
1257If appropriate, please update `CONFIG_CHANGE_HISTORY` in `src/bootstrap/src/utils/change_tracker.rs`.
1258"""
1259[mentions."src/bootstrap/defaults"]
1260message = """
1261This PR modifies `src/bootstrap/defaults`.
1262
1263If appropriate, please update `CONFIG_CHANGE_HISTORY` in `src/bootstrap/src/utils/change_tracker.rs`.
1264"""
1265[mentions."bootstrap.example.toml"]
1266message = """
1267This PR modifies `bootstrap.example.toml`.
1268
1269If appropriate, please update `CONFIG_CHANGE_HISTORY` in `src/bootstrap/src/utils/change_tracker.rs`.
1270"""
1271
1272[mentions."src/bootstrap/src/core/build_steps/llvm.rs"]
1273message = "This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp."
1274
1275[mentions."src/bootstrap/src/core/build_steps/gcc.rs"]
1276message = "This PR changes how GCC is built. Consider updating src/bootstrap/download-ci-gcc-stamp."
1277
1278[mentions."tests/crashes"]
1279message = "This PR changes a file inside `tests/crashes`. If a crash was fixed, please move into the corresponding `ui` subdir and add 'Fixes #<issueNr>' to the PR description to autoclose the issue upon merge."
1280
1281[mentions."tests/rustdoc-json"]
1282message = """
1283These commits modify `tests/rustdoc-json`.
1284rustdoc-json is a **public** (but unstable) interface.
1285
1286Please ensure that if you've changed the output:
1287- It's intentional.
1288- The `FORMAT_VERSION` in `src/librustdoc-json-types` is bumped if necessary.
1289"""
1290cc = ["@aDotInTheVoid", "@obi1kenobi"]
1291
1292[mentions."tests/ui/derives/deriving-all-codegen.stdout"]
1293message = "Changes to the code generated for builtin derived traits."
1294cc = ["@nnethercote"]
1295
1296[mentions."tests/ui/stats/input-stats.stderr"]
1297message = "Changes to the size of AST and/or HIR nodes."
1298cc = ["@nnethercote"]
1299
1300[mentions."tests/ui/issues"]
1301message = """
1302This PR modifies `tests/ui/issues/`. If this PR is adding new tests to `tests/ui/issues/`,
1303please refrain from doing so, and instead add it to more descriptive subdirectories.
1304"""
1305
1306[mentions."compiler/rustc_sanitizers"]
1307cc = ["@rcvalle"]
1308
1309[mentions."src/doc/rustc/src/exploit-mitigations.md"]
1310cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1311
1312[mentions."src/doc/unstable-book/src/compiler-flags/branch-protection.md"]
1313cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1314
1315[mentions."src/doc/unstable-book/src/compiler-flags/cf-protection.md"]
1316cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1317
1318[mentions."src/doc/unstable-book/src/compiler-flags/control-flow-guard.md"]
1319cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1320
1321[mentions."src/doc/unstable-book/src/compiler-flags/sanitizer.md"]
1322cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1323
1324[mentions."src/doc/unstable-book/src/language-features/cfg-sanitize.md"]
1325cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1326
1327[mentions."src/doc/unstable-book/src/language-features/cfi-encoding.md"]
1328cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1329
1330[mentions."src/doc/unstable-book/src/language-features/sanitize.md"]
1331cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1332
1333[mentions."src/doc/rustc/src/check-cfg.md"]
1334cc = ["@Urgau"]
1335
1336[mentions."src/doc/rustc/src/check-cfg"]
1337cc = ["@Urgau"]
1338
1339[mentions."src/doc/rustc/src/platform-support"]
1340cc = ["@Noratrieb"]
1341
1342[mentions."tests/codegen-llvm/sanitizer"]
1343cc = ["@rcvalle"]
1344
1345[mentions."tests/codegen-llvm/split-lto-unit.rs"]
1346cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1347
1348[mentions."tests/codegen-llvm/stack-probes-inline.rs"]
1349cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1350
1351[mentions."tests/codegen-llvm/stack-protector.rs"]
1352cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1353
1354[mentions."tests/debuginfo/basic-stepping.rs"]
1355cc = ["@Enselic"]
1356
1357[mentions."tests/ui/sanitizer"]
1358cc = ["@rcvalle"]
1359
1360[mentions."tests/ui/stack-protector"]
1361cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1362
1363[mentions."compiler/rustc_middle/src/mir/coverage.rs"]
1364message = "Some changes occurred in coverage instrumentation."
1365cc = ["@Zalathar"]
1366
1367[mentions."compiler/rustc_mir_build/src/builder/coverageinfo.rs"]
1368message = "Some changes occurred in coverage instrumentation."
1369cc = ["@Zalathar"]
1370
1371[mentions."compiler/rustc_mir_transform/src/coverage"]
1372message = "Some changes occurred in coverage instrumentation."
1373cc = ["@Zalathar"]
1374
1375[mentions."compiler/rustc_codegen_llvm/src/coverageinfo"]
1376message = "Some changes occurred in coverage instrumentation."
1377cc = ["@Zalathar"]
1378
1379[mentions."compiler/rustc_codegen_ssa/src/mir/coverageinfo.rs"]
1380message = "Some changes occurred in coverage instrumentation."
1381cc = ["@Zalathar"]
1382
1383[mentions."tests/coverage"]
1384message = "Some changes occurred in coverage tests."
1385cc = ["@Zalathar"]
1386
1387[mentions."src/tools/opt-dist"]
1388cc = ["@kobzol"]
1389
1390[mentions."tests/ui-fulldeps/lexer/unicode-version.run.stdout"]
1391message = """If the Unicode version changes are intentional,
1392it should also be updated in the reference at
1393https://github.com/rust-lang/reference/blob/HEAD/src/identifiers.md.
1394"""
1395cc = ["@ehuss"]
1396
1397[mentions."src/doc/rustc-dev-guide"]
1398message = "The rustc-dev-guide subtree was changed. If this PR *only* touches the dev guide consider submitting a PR directly to [rust-lang/rustc-dev-guide](https://github.com/rust-lang/rustc-dev-guide/pulls) otherwise thank you for updating the dev guide with your changes."
1399cc = ["@BoxyUwU", "@tshepang"]
1400
1401[mentions."compiler/rustc_passes/src/check_attr.rs"]
1402cc = ["@jdonszelmann", "@JonathanBrouwer"]
1403[mentions."compiler/rustc_attr_parsing"]
1404cc = ["@jdonszelmann", "@JonathanBrouwer"]
1405[mentions."compiler/rustc_hir/src/attrs"]
1406cc = ["@jdonszelmann", "@JonathanBrouwer"]
1407
1408[mentions."src/tools/enzyme"]
1409cc = ["@ZuseZ4"]
1410[mentions."src/doc/unstable-book/src/compiler-flags/autodiff.md"]
1411cc = ["@ZuseZ4"]
1412[mentions."compiler/rustc_ast/src/expand/autodiff_attrs.rs"]
1413cc = ["@ZuseZ4"]
1414[mentions."compiler/rustc_ast/src/expand/typetree.rs"]
1415cc = ["@ZuseZ4"]
1416[mentions."compiler/rustc_builtin_macros/src/autodiff.rs"]
1417cc = ["@ZuseZ4"]
1418[mentions."compiler/rustc_codegen_llvm/src/builder/autodiff.rs"]
1419cc = ["@ZuseZ4"]
1420[mentions."compiler/rustc_codegen_llvm/src/llvm/enzyme_ffi.rs"]
1421cc = ["@ZuseZ4"]
1422
1423[mentions."library/core/src/fmt/rt.rs"]
1424cc = ["@m-ou-se"]
1425[mentions."compiler/rustc_ast_lowering/src/format.rs"]
1426cc = ["@m-ou-se"]
1427
1428[mentions."src/ci/github-actions/jobs.yml"]
1429message = """
1430> [!WARNING]
1431>
1432> If you are changing how CI LLVM is built or linked, make sure to bump
1433> `src/bootstrap/download-ci-llvm-stamp`.
1434"""
1435cc = ["@jieyouxu"]
1436
1437# Content-based mentions
1438
1439[mentions."#[miri::intrinsic_fallback_is_spec]"]
1440type = "content"
1441message = """
1442⚠️ `#[miri::intrinsic_fallback_is_spec]` must only be used if the function actively checks for all UB cases,
1443and explores the possible non-determinism of the intrinsic.
1444"""
1445cc = ["@rust-lang/miri"]
1446
1447[mentions."#[rustc_allow_const_fn_unstable"]
1448type = "content"
1449message = """
1450⚠️ `#[rustc_allow_const_fn_unstable]` needs careful audit to avoid accidentally exposing unstable
1451implementation details on stable.
1452"""
1453cc = ["@rust-lang/wg-const-eval"]
1454
1455[mentions."#[rustc_intrinsic_const_stable_indirect]"]
1456type = "content"
1457message = """
1458⚠️ `#[rustc_intrinsic_const_stable_indirect]` controls whether intrinsics can be exposed to stable const
1459code; adding it needs t-lang approval.
1460"""
1461cc = ["@rust-lang/wg-const-eval"]
1462
1463[mentions."compiler/rustc_attr_parsing/src/attributes/diagnostic"]
1464message = "Some changes occurred to diagnostic attributes."
1465cc = ["@mejrs"]
1466[mentions."compiler/rustc_hir/src/attrs/diagnostic.rs"]
1467message = "Some changes occurred to diagnostic attributes."
1468cc = ["@mejrs"]
1469
1470# ------------------------------------------------------------------------------
1471# PR assignments
1472# ------------------------------------------------------------------------------
1473
1474[assign]
1475warn_non_default_branch.enable = true
1476contributing_url = "https://rustc-dev-guide.rust-lang.org/getting-started.html"
1477
1478[[assign.warn_non_default_branch.exceptions]]
1479title = "[beta"
1480branch = "beta"
1481
1482[[assign.warn_non_default_branch.exceptions]]
1483title = "[stable"
1484branch = "stable"
1485
1486[assign.adhoc_groups]
1487compiler_leads = [
1488 "@davidtwco",
1489 "@wesleywiser",
1490]
1491libs = [
1492 "@Mark-Simulacrum",
1493 "@workingjubilee",
1494 "@jhpratt",
1495 "@tgross35",
1496 "@thomcc",
1497 "@joboet",
1498 "@nia-e",
1499 "@LawnGnome",
1500 "@clarfonthey",
1501]
1502infra-ci = [
1503 "@Mark-Simulacrum",
1504 "@Kobzol",
1505 "@marcoieni",
1506 "@jdno",
1507 "@jieyouxu",
1508]
1509docs = [
1510 "@ehuss",
1511 "@GuillaumeGomez",
1512]
1513codegen = [
1514 "@dianqk",
1515 "@madsmtm",
1516 "@saethlin",
1517 "@workingjubilee",
1518 "@WaffleLapkin",
1519]
1520query-system = [
1521 "@oli-obk",
1522]
1523incremental = [
1524 "@wesleywiser",
1525]
1526diagnostics = [
1527 "@davidtwco",
1528 "@oli-obk",
1529 "@chenyukang",
1530 "@TaKO8Ki"
1531]
1532parser = [
1533 "@davidtwco",
1534 "@nnethercote",
1535 "@petrochenkov",
1536 "@spastorino",
1537]
1538lexer = [
1539 "@nnethercote",
1540 "@petrochenkov",
1541 "@chenyukang",
1542]
1543arena = [
1544 "@nnethercote",
1545 "@spastorino",
1546]
1547mir = [
1548 "@oli-obk",
1549 "@matthewjasper",
1550 "@saethlin",
1551]
1552mir-opt = [
1553 "@oli-obk",
1554 "@wesleywiser",
1555 "@saethlin",
1556]
1557borrowck = [
1558 "@davidtwco",
1559 "@matthewjasper"
1560]
1561ast_lowering = [
1562 "@spastorino",
1563]
1564debuginfo = [
1565 "@davidtwco"
1566]
1567fallback = [
1568 "@Mark-Simulacrum",
1569 "@jieyouxu",
1570]
1571style-team = [
1572 "@calebcartwright",
1573 "@joshtriplett",
1574 "@traviscross",
1575]
1576compiletest = [
1577 "@jieyouxu",
1578]
1579dep-bumps = [
1580 "@clubby789",
1581]
1582
1583[assign.owners]
1584"/.github/workflows" = ["infra-ci"]
1585"/Cargo.lock" = ["@Mark-Simulacrum"]
1586"/Cargo.toml" = ["@Mark-Simulacrum"]
1587"/compiler" = ["compiler"]
1588"/compiler/rustc_abi" = ["compiler", "codegen"]
1589"/compiler/rustc_arena" = ["compiler", "arena"]
1590"/compiler/rustc_ast" = ["compiler", "parser"]
1591"/compiler/rustc_ast_lowering" = ["compiler", "ast_lowering"]
1592"/compiler/rustc_data_structures/src/stable_hash.rs" = ["compiler", "incremental"]
1593"/compiler/rustc_hir_analysis" = ["compiler", "types"]
1594"/compiler/rustc_incremental" = ["compiler", "incremental"]
1595"/compiler/rustc_borrowck" = ["compiler", "borrowck"]
1596"/compiler/rustc_lexer" = ["compiler", "lexer"]
1597"/compiler/rustc_llvm" = ["@cuviper"]
1598"/compiler/rustc_codegen_llvm/src/debuginfo" = ["compiler", "debuginfo"]
1599"/compiler/rustc_codegen_ssa" = ["compiler", "codegen"]
1600"/compiler/rustc_middle/src/dep_graph" = ["compiler", "incremental", "query-system"]
1601"/compiler/rustc_middle/src/ich.rs" = ["compiler", "incremental", "query-system"]
1602"/compiler/rustc_middle/src/mir" = ["compiler", "mir"]
1603"/compiler/rustc_middle/src/traits" = ["compiler", "types"]
1604"/compiler/rustc_middle/src/query" = ["compiler", "query-system"]
1605"/compiler/rustc_middle/src/ty" = ["compiler", "types"]
1606"/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"]
1607"/compiler/rustc_mir_build/src/builder" = ["compiler", "mir"]
1608"/compiler/rustc_mir_transform" = ["compiler", "mir", "mir-opt"]
1609"/compiler/rustc_public_bridge" = ["project-stable-mir"]
1610"/compiler/rustc_parse" = ["compiler", "parser"]
1611"/compiler/rustc_parse/src/lexer" = ["compiler", "lexer"]
1612"/compiler/rustc_query_impl" = ["compiler", "query-system"]
1613"/compiler/rustc_trait_selection" = ["compiler", "types"]
1614"/compiler/rustc_traits" = ["compiler", "types"]
1615"/compiler/rustc_type_ir" = ["compiler", "types"]
1616"/compiler/rustc_public" = ["project-stable-mir"]
1617"/library/alloc" = ["libs"]
1618"/library/alloctests" = ["libs"]
1619"/library/core" = ["libs"]
1620"/library/coretests" = ["libs"]
1621"/library/panic_abort" = ["libs"]
1622"/library/panic_unwind" = ["libs"]
1623"/library/proc_macro" = ["@petrochenkov"]
1624"/library/std" = ["libs", "@ChrisDenton"]
1625"/library/std/src/sys/pal/windows" = ["@ChrisDenton"]
1626"/library/stdarch" = ["libs"]
1627"/library/std_detect" = ["libs"]
1628"/library/test" = ["libs"]
1629"/src/bootstrap" = ["bootstrap"]
1630"/src/ci" = ["infra-ci"]
1631"/src/doc" = ["docs"]
1632"/src/doc/book" = ["@ehuss"]
1633"/src/doc/edition-guide" = ["@ehuss"]
1634"/src/doc/embedded-book" = ["@ehuss"]
1635"/src/doc/nomicon" = ["@ehuss"]
1636"/src/doc/reference" = ["@ehuss"]
1637"/src/doc/rust-by-example" = ["@ehuss"]
1638"/src/doc/rustc" = ["compiler", "@ehuss"]
1639"/src/doc/rustc-dev-guide" = ["compiler"]
1640"/src/doc/rustdoc" = ["rustdoc"]
1641"/src/doc/style-guide" = ["style-team"]
1642"/src/doc/unstable-book" = ["compiler"]
1643"/src/etc" = ["@Mark-Simulacrum"]
1644"/src/librustdoc" = ["rustdoc"]
1645"/src/llvm-project" = ["@cuviper"]
1646"/src/rustdoc-json-types" = ["rustdoc"]
1647"/src/stage0" = ["bootstrap"]
1648"/tests/assembly-llvm" = ["compiler"]
1649"/tests/auxiliary" = ["compiler"]
1650"/tests/codegen-llvm" = ["compiler"]
1651"/tests/codegen-units" = ["compiler"]
1652"/tests/COMPILER_TESTS.md" = ["compiler"]
1653"/tests/coverage-run-rustdoc" = ["compiler"]
1654"/tests/coverage" = ["compiler"]
1655"/tests/crashes" = ["compiler"]
1656"/tests/debuginfo" = ["compiler"]
1657"/tests/incremental" = ["compiler"]
1658"/tests/mir-opt" = ["compiler"]
1659"/tests/pretty" = ["compiler"]
1660"/tests/run-make" = ["compiler"]
1661"/tests/run-make-cargo" = ["compiler"]
1662"/tests/rustdoc-html" = ["rustdoc"]
1663"/tests/rustdoc-gui" = ["rustdoc"]
1664"/tests/rustdoc-js-std" = ["rustdoc"]
1665"/tests/rustdoc-js/" = ["rustdoc"]
1666"/tests/rustdoc-json" = ["@aDotInTheVoid"]
1667"/tests/rustdoc-ui" = ["rustdoc"]
1668"/tests/ui" = ["compiler"]
1669"/tests/ui-fulldeps" = ["compiler"]
1670"/src/tools/build-manifest" = ["bootstrap"]
1671"/src/tools/cargo" = ["@ehuss"]
1672"/src/tools/compiletest" = ["bootstrap", "@wesleywiser", "@oli-obk", "@jieyouxu"]
1673"/src/tools/linkchecker" = ["@ehuss"]
1674"/src/tools/opt-dist" = ["@kobzol"]
1675"/src/tools/run-make-support" = ["@jieyouxu"]
1676"/src/tools/rust-installer" = ["bootstrap"]
1677"/src/tools/rustbook" = ["@ehuss"]
1678"/src/tools/rustdoc" = ["rustdoc"]
1679"/src/tools/rustdoc-js" = ["rustdoc"]
1680"/src/tools/rustdoc-themes" = ["rustdoc"]
1681"/src/tools/rustfmt" = ["rustfmt", "rustfmt-contributors"]
1682"/src/tools/tidy" = ["bootstrap"]
1683"/src/tools/x" = ["bootstrap"]
1684"/src/tools/rustdoc-gui-test" = ["bootstrap"]
1685"/src/tools/libcxx-version" = ["bootstrap"]
1686
1687# Enable review queue tracking
1688# Documentation at: https://forge.rust-lang.org/triagebot/review-queue-tracking.html
1689[assign.review_prefs]
1690
1691[pr-tracking]
1692
1693
1694# ------------------------------------------------------------------------------
1695# Misc
1696# ------------------------------------------------------------------------------
1697
1698[no-merges]
1699exclude_titles = ["Rollup of", "subtree update", "Subtree update"]
1700labels = ["has-merge-commits", "S-waiting-on-author"]
1701
1702[github-releases]
1703format = "rustc"
1704project-name = "Rust"
1705changelog-path = "RELEASES.md"
1706changelog-branch = "main"
1707
1708[shortcut]
1709
1710# Enable issue transfers within the org
1711# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
1712[transfer]
1713
1714# Enable `@rustbot note` functionality
1715# Documentation at: https://forge.rust-lang.org/triagebot/note.html
1716[note]
1717
1718[behind-upstream]
1719days-threshold = 28
1720
1721# Canonicalize issue numbers to avoid closing the wrong issue
1722# when commits are included in subtrees, as well as warning links in commits.
1723# Documentation at: https://forge.rust-lang.org/triagebot/issue-links.html
1724[issue-links]
1725
1726# Allow members to formally register concerns (`@rustbot concern my concern`)
1727# Documentation at: https://forge.rust-lang.org/triagebot/concern.html
1728[concern]
1729labels = ["S-waiting-on-concerns"]
1730
1731# Enable comments linking to triagebot range-diff when a PR is rebased
1732# onto a different base commit
1733# Documentation at: https://forge.rust-lang.org/triagebot/range-diff.html
1734[range-diff]
1735
1736# Adds at the end of a review body a link to view the changes that happened
1737# since the review
1738# Documentation at: https://forge.rust-lang.org/triagebot/review-changes-since.html
1739[review-changes-since]
1740
1741# Adds a "View all comments" link on the issue/PR body that shows all the comments of it
1742# Documentation at: https://forge.rust-lang.org/triagebot/view-all-comments-link.html
1743[view-all-comments-link]