-
Notifications
You must be signed in to change notification settings - Fork 543
Rustc pull #2263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Rustc pull #2263
Changes from all commits
Commits
Show all changes
116 commits
Select commit
Hold shift + click to select a range
68c4d98
Auto merge of #134740 - Flakebi:amdgpu-target, r=workingjubilee
bors 95a3793
Auto merge of #135701 - calebzulawski:sync-from-portable-simd-2025-01…
bors 20edddc
Auto merge of #133092 - madsmtm:bootstrap-deployment-target, r=Mark-S…
bors 844a47a
compiler/rustc_data_structures/src/sync.rs: delete MappedLockGuard
safinaskar efa3dae
compiler/rustc_data_structures/src/sync.rs: delete Weak
safinaskar f0bcb73
compiler/rustc_data_structures/src/sync.rs: remove atomics, but not A…
safinaskar eeec2f4
src/doc/rustc-dev-guide/src/parallel-rustc.md: remove Arc and Rc (it …
safinaskar f9bb3ce
Auto merge of #136571 - marcoieni:ubuntu-24-large-runners, r=Mark-Sim…
bors 66e5b92
dev-guide: Link to t-lang procedures for new features
madsmtm d2f697f
Auto merge of #136586 - Kobzol:lto-rustdoc-fix-stage-1, r=onur-ozkan
bors 5cb9ff1
document the directive
tshepang d2f5709
Auto merge of #136605 - lsunsi:update-rustc-hash, r=lqd
bors 981f1a3
Rollup merge of #136698 - jackpot51:i586-redox, r=RalfJung
GuillaumeGomez ccc23b7
Rollup merge of #136875 - BoxyUwU:rdg-push, r=jieyouxu
GuillaumeGomez c6481c9
Rollup merge of #136900 - workingjubilee:format-externabi-directly, r…
GuillaumeGomez 9d518bd
Rollup merge of #136913 - Kobzol:kobzol-rotation, r=Kobzol
GuillaumeGomez b179734
Rollup merge of #136915 - eyelash:float-precision, r=workingjubilee
GuillaumeGomez 6c9b3a9
Auto merge of #136918 - GuillaumeGomez:rollup-f6h21gg, r=GuillaumeGomez
bors a071c7c
Auto merge of #135336 - tshepang:patch-5, r=jieyouxu
bors a7a3e9c
Rollup merge of #136758 - workingjubilee:specify-opt-level-for-tests,…
GuillaumeGomez 07edc20
Rollup merge of #136761 - workingjubilee:specify-opt-level-for-codege…
GuillaumeGomez 9693073
Rollup merge of #136784 - yotamofek:pr/rustdoc-remove-buffer-take2, r…
GuillaumeGomez c19d31b
Rollup merge of #136838 - compiler-errors:escaping-unsize, r=fmease
GuillaumeGomez 9f6af1a
Rollup merge of #136848 - Shourya742:2025-02-11-add-docs-and-ut-for-u…
GuillaumeGomez b54679e
Rollup merge of #136871 - madsmtm:link-to-lang-procedures, r=scottmcm
GuillaumeGomez 6ab35de
Rollup merge of #136890 - saethlin:swap_nonoverlapping, r=RalfJung
GuillaumeGomez 2c75af1
Rollup merge of #136901 - workingjubilee:stabilize-externabi-hashing-…
GuillaumeGomez 4af2bc9
Rollup merge of #136907 - workingjubilee:middle-errors-cleanup, r=com…
GuillaumeGomez d3a3e2e
Rollup merge of #136916 - onur-ozkan:fix-cc2ar, r=jieyouxu
GuillaumeGomez eafa11c
Auto merge of #136943 - GuillaumeGomez:rollup-amtd3mq, r=GuillaumeGomez
bors d279d48
Auto merge of #135994 - 1c3t3a:rename-unsafe-ptr, r=oli-obk
bors db57a5f
intern valtrees
c8b6df4
Auto merge of #136535 - marcoieni:free-runners-remove-more-dirs, r=Ma…
bors 8fb4785
Rollup merge of #134999 - Berrysoft:dev/new-cygwin-target, r=chenyuka…
jhpratt ae56be9
Rollup merge of #136858 - safinaskar:parallel-cleanup-2025-02-11-07-5…
jhpratt b492c43
Rollup merge of #136881 - dpaoliello:cleanllvm3, r=Zalathar
jhpratt d82596b
Rollup merge of #136888 - compiler-errors:never-read, r=Nadrieril
jhpratt 663e60d
Rollup merge of #136948 - workingjubilee:split-off-extern-system-vara…
jhpratt 8c82450
Rollup merge of #136949 - ehuss:wasm-bench-time, r=jhpratt
jhpratt 8b45f4a
Auto merge of #136965 - jhpratt:rollup-bsnqvmf, r=jhpratt
bors 470a207
Document bootstrap profiling
Kobzol 812566d
Auto merge of #136593 - lukas-code:ty-value-perf, r=oli-obk
bors 892a0ee
Auto merge of #134633 - GrigorenkoPV:get_disjoint_mut, r=cuviper
bors c1b73a1
Rollup merge of #136460 - real-eren:simplify-rustc_span-analyze, r=No…
workingjubilee 906924a
Rollup merge of #136904 - pitaj:range-into_bounds, r=tgross35
workingjubilee d4127c5
Rollup merge of #136908 - mustartt:aix-mutex-destory-einval, r=joboet
workingjubilee 2ddb2f8
Rollup merge of #136924 - Kobzol:bootstrap-tracing, r=jieyouxu
workingjubilee 0180b07
Rollup merge of #136951 - compiler-errors:clause-binder, r=lqd
workingjubilee 723592e
Rollup merge of #136981 - marcoieni:no-largedisk-loongarch, r=Kobzol
workingjubilee 4aa8118
Rollup merge of #136992 - ehuss:update-backtrace, r=workingjubilee
workingjubilee 9297af1
Rollup merge of #136993 - dpaoliello:cleanllvm4, r=workingjubilee
workingjubilee 12d7eea
Auto merge of #137010 - workingjubilee:rollup-g00c07v, r=workingjubilee
bors 0af7bd7
Auto merge of #136735 - scottmcm:transmute-nonnull, r=oli-obk
bors a0e5486
Auto merge of #136575 - scottmcm:nsuw-math, r=nikic
bors c61aa8f
Auto merge of #136324 - GrigorenkoPV:erf, r=tgross35
bors f32fc55
rustc-dev-guide: document `{ignore,only}-rustc_abi-x86-sse2`
jieyouxu 9524993
Rollup merge of #136490 - Skepfyr:no-field-rest-pattern-attrs, r=comp…
matthiaskrgr 0e3bbb6
Rollup merge of #137074 - jieyouxu:rustc_abi, r=onur-ozkan
matthiaskrgr 408ea84
Rollup merge of #137076 - aDotInTheVoid:pingme-pingme-pingme, r=jieyouxu
matthiaskrgr f9dc140
Auto merge of #137093 - matthiaskrgr:rollup-72j7mut, r=matthiaskrgr
bors b1ea202
Auto merge of #137078 - bjorn3:sync_cg_clif-2025-02-15, r=bjorn3
bors 141a8a1
rustc-dev-guide: document `COMPILER` and `COMPILER_FOR` tracing targets
jieyouxu e45d87f
Auto merge of #136363 - notriddle:notriddle/unresolved-link-unused-re…
bors b81c7f0
Auto merge of #136914 - marcoieni:arm-ubuntu-24, r=jdno
bors 35c8087
Move some `Map` methods onto `TyCtxt`.
nnethercote 3175304
Rollup merge of #136466 - nnethercote:start-removing-Map, r=cjgillot
matthiaskrgr b70f268
Rollup merge of #136671 - nnethercote:middle-limits, r=Nadrieril
matthiaskrgr 12ee993
Rollup merge of #136817 - dianne:clean-and-comment-pat-migration, r=N…
matthiaskrgr 194f551
Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton
matthiaskrgr 7a3e6f5
Rollup merge of #137080 - jieyouxu:more-tracing, r=onur-ozkan
matthiaskrgr 14ba171
Rollup merge of #137101 - GrigorenkoPV:str-inherent-lint, r=Urgau
matthiaskrgr ffcce13
Rollup merge of #137140 - Noratrieb:const-move, r=jieyouxu,compiler-e…
matthiaskrgr 8cc662a
Rollup merge of #137095 - saethlin:use-hash64-for-hashes, r=workingju…
matthiaskrgr fea2408
Rollup merge of #137100 - fmease:hirtylow-rm-clauses-wrapper, r=compi…
matthiaskrgr a328495
Rollup merge of #137105 - zachs18:cow-derefpure-restrict, r=Nadrieril
matthiaskrgr b6b204e
Auto merge of #137163 - matthiaskrgr:rollup-ovgfkns, r=matthiaskrgr
bors 98b2bf9
Auto merge of #137164 - matthiaskrgr:rollup-dj5826k, r=matthiaskrgr
bors e124f2d
Auto merge of #135763 - nikic:llvm-20, r=cuviper
bors 019264f
Add Zed to dev guide suggested workflows page
ChaiTRex 654035f
Auto merge of #133852 - x17jiri:cold_path, r=saethlin
bors 209dd46
docs(dev): Remove reference to features_untracked
epage 1520629
docs(dev): Access features as functions, not members
epage 97b80c8
add rustc-dev doc about bootstrap tools
onur-ozkan c4d5fa6
Rollup merge of #127793 - ChaiTRex:zed_support, r=Kobzol
matthiaskrgr ec4ad2e
Rollup merge of #136301 - hkBst:patch-33, r=thomcc
matthiaskrgr 4190629
Rollup merge of #136347 - allevo:patch-1, r=Amanieu
matthiaskrgr d407238
Rollup merge of #136794 - cberner:stabilize, r=joshtriplett
matthiaskrgr ca2580a
Rollup merge of #137094 - RalfJung:softfloat-means-no-simd, r=tgross35
matthiaskrgr 9d7d3f9
Rollup merge of #137227 - epage:features_untracked, r=compiler-errors
matthiaskrgr 9e86176
Rollup merge of #137232 - estebank:from-residual-note, r=petrochenkov
matthiaskrgr 523648b
Rollup merge of #137251 - Zalathar:holes-visitor, r=jieyouxu
matthiaskrgr 34aa5c2
Auto merge of #137284 - matthiaskrgr:rollup-deuhk46, r=matthiaskrgr
bors c92f8bf
Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=…
matthiaskrgr d7f562f
Rollup merge of #136690 - Voultapher:use-more-explicit-and-reliable-p…
matthiaskrgr e310db8
Rollup merge of #136815 - ChrisDenton:fix-mingw-ci, r=Kobzol
matthiaskrgr e99e074
Rollup merge of #136923 - samueltardieu:push-vxxqvqwspssv, r=davidtwco
matthiaskrgr 9435186
Rollup merge of #137155 - thaliaarchi:wtf8-organize, r=ChrisDenton
matthiaskrgr fc2f886
Auto merge of #137290 - matthiaskrgr:rollup-a7xdbi4, r=matthiaskrgr
bors f20e0e7
Auto merge of #137023 - Kobzol:bump-sccache, r=marcoieni
bors bce0daa
Auto merge of #137058 - scottmcm:trunc-unchecked, r=nikic
bors 0ffe41c
Auto merge of #136771 - scottmcm:poke-slice-iter-next, r=joboet
bors cb81eac
Auto merge of #137192 - kornelski:windows-tls-lto, r=ChrisDenton
bors 9c8ff35
Auto merge of #133436 - nnethercote:rm-NtVis-NtTy, r=petrochenkov
bors 3f70a2f
Auto merge of #137189 - Kobzol:update-host-llvm, r=nikic
bors 27dffea
Auto merge of #137215 - onur-ozkan:rustc-tool-build-stages, r=jieyoux…
bors b12f947
Rollup merge of #135354 - Walnut356:msvc_lldb, r=wesleywiser
jhpratt 22a7c27
Rollup merge of #136826 - xizheyin:issue-136737, r=thomcc
jhpratt db0701d
Rollup merge of #137423 - Urgau:imprv-pretty-hir, r=compiler-errors
jhpratt c0a94c1
Auto merge of #137466 - jhpratt:rollup-spyi02y, r=jhpratt
bors 56b3b27
Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrum
bors 716d5d3
Auto merge of #137225 - RalfJung:vectorcall, r=nnethercote
bors 0da5fce
Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcm
bors 7805a6d
Auto merge of #137285 - yotamofek:pr/rustdoc/pulldown-escaping, r=Gui…
bors d528dad
Auto merge of #133832 - madsmtm:apple-symbols.o, r=DianQK
bors 5bda7ef
Preparing for merge from rustc
BoxyUwU 3a4c5b0
Merge from rustc
BoxyUwU File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
124cc92199ffa924f6b4c7cc819a85b65e0c3984 | ||
4ecd70ddd1039a3954056c1071e40278048476fa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Writing tools in Bootstrap | ||
|
||
There are three types of tools you can write in bootstrap: | ||
|
||
- **`Mode::ToolBootstrap`** | ||
Use this for tools that don’t need anything from the in-tree compiler and can run with the stage0 `rustc`. | ||
The output is placed in the "stage0-bootstrap-tools" directory. This mode is for general-purpose tools built | ||
entirely with the stage0 compiler, including target libraries and only works for stage 0. | ||
|
||
- **`Mode::ToolStd`** | ||
Use this for tools that rely on the locally built std. The output goes into the "stageN-tools" directory. | ||
This mode is rarely used, mainly for `compiletest` which requires `libtest`. | ||
|
||
- **`Mode::ToolRustc`** | ||
Use this for tools that depend on both the locally built `rustc` and the target `std`. This is more complex than | ||
the other modes because the tool must be built with the same compiler used for `rustc` and placed in the "stageN-tools" | ||
directory. When you choose `Mode::ToolRustc`, `ToolBuild` implementation takes care of this automatically. | ||
If you need to use the builder’s compiler for something specific, you can get it from `ToolBuildResult`, which is | ||
returned by the tool's [`Step`]. | ||
|
||
Regardless of the tool type you must return `ToolBuildResult` from the tool’s [`Step`] implementation and use `ToolBuild` inside it. | ||
|
||
[`Step`]: https://doc.rust-lang.org/nightly/nightly-rustc/bootstrap/core/builder/trait.Step.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was the merge conflict