about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2025-02-11Rollup merge of #136832 - ehuss:fix-platform-table, r=compiler-errorsJacob Pratt-1/+1
Fix platform support table for i686-unknown-uefi This text was placed in the wrong column.
2025-02-11compiler/rustc_data_structures/src/sync.rs: remove atomics, but not AtomicU64!Askar Safin-1/+0
2025-02-11compiler/rustc_data_structures/src/sync.rs: delete WeakAskar Safin-1/+0
2025-02-11compiler/rustc_data_structures/src/sync.rs: delete MappedLockGuardAskar Safin-1/+0
It seems it is left-over after some refactoring
2025-02-10Fix platform support table for i686-unknown-uefiEric Huss-1/+1
This text was placed in the wrong column.
2025-02-10fix i686-unknown-hurd-gnu x87 footnoteRalf Jung-1/+1
2025-02-10Update booksrustbot-0/+0
2025-02-10Update platform-support.mdJeremy Soller-1/+1
2025-02-10Add cygwin target.王宇逸-0/+41
Co-authored-by: Ookiineko <chiisaineko@protonmail.com> Co-authored-by: nora <48135649+Noratrieb@users.noreply.github.com> Co-authored-by: Jubilee <workingjubilee@gmail.com>
2025-02-10Auto merge of #134740 - Flakebi:amdgpu-target, r=workingjubileebors-0/+114
Add amdgpu target Add amdgpu target to rustc and enable the LLVM target. Fix compiling `core` with the amdgpu: The amdgpu backend makes heavy use of different address spaces. This leads to situations, where a pointer in one addrspace needs to be casted to a pointer in a different addrspace. `bitcast` is invalid for this case, `addrspacecast` needs to be used. Fix compilation failures that created bitcasts for such cases by creating pointer casts (which creates an `addrspacecast` under the hood) instead. MCP: https://github.com/rust-lang/compiler-team/issues/823 Tracking issue: #135024 Kinda related to the original amdgpu tracking issue #51575 (though that one has been closed for a while).
2025-02-10Merge from rustcThe rustc-dev-guide Cronjob Bot-60/+58
2025-02-10Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-02-09Fix mistake in x86_64-unknown-freebsd platform descriptionEric Huss-1/+1
2025-02-09Rollup merge of #136530 - Kobzol:x-perf, r=onur-ozkanUrgau-3/+1
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-08Rollup merge of #136700 - RalfJung:hurd, r=NoratriebMatthias Krüger-1/+1
i686-unknown-hurd-gnu: bump baseline CPU to Pentium 4 See https://github.com/rust-lang/rust/issues/136495 for context. ``@sthibaul`` (the only listed target maintainer) said they would be [fine](https://github.com/rust-lang/rust/issues/136495#issuecomment-2638355845) with this change.
2025-02-07i686-unknown-hurd-gnu: bump baseline CPU to Pentium 4Ralf Jung-1/+1
2025-02-07Replace i686-unknown-redox target with i586-unknown-redoxJeremy Soller-3/+3
2025-02-07Remove reference to enum.RevealMartin Liska-4/+2
2025-02-06remove unstable book entry for `feature(trait_upcasting)`Waffle Lapkin-26/+0
2025-02-06Update links to type schemasMichael Howell-4/+4
What used to be in externs.js is now in rustdoc.d.ts.
2025-02-06improve CI cache docsMarcoIeni-4/+20
2025-02-06Auto merge of #136471 - safinaskar:parallel, r=SparrowLiibors-6/+5
tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc` tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc` This is continuation of https://github.com/rust-lang/rust/pull/132282 . I'm pretty sure I did everything right. In particular, I searched all occurrences of `Lrc` in submodules and made sure that they don't need replacement. There are other possibilities, through. We can define `enum Lrc<T> { Rc(Rc<T>), Arc(Arc<T>) }`. Or we can make `Lrc` a union and on every clone we can read from special thread-local variable. Or we can add a generic parameter to `Lrc` and, yes, this parameter will be everywhere across all codebase. So, if you think we should take some alternative approach, then don't merge this PR. But if it is decided to stick with `Arc`, then, please, merge. cc "Parallel Rustc Front-end" ( https://github.com/rust-lang/rust/issues/113349 ) r? SparrowLii `@rustbot` label WG-compiler-parallel
2025-02-06Replace link with a https based oneMartin Liska-1/+1
2025-02-05Rollup merge of #136558 - madsmtm:apple-host-tooling, r=jieyouxuJubilee-0/+12
Document minimum supported host tooling on macOS In particular we support macOS 10.12 (same as for binaries produced by `rustc`) and Xcode 9.2 (the highest Xcode version that runs on macOS 10.12.6). I have this installed on a MacBook Pro from 2013 that sits below my desk, and am occasionally testing it. I am documenting this now because it was unclear in https://github.com/rust-lang/rust/issues/136523. (I'm not inherently against bumping these one day, but that's a separate discussion, let's at least document what we support right now). `@rustbot` label O-macos
2025-02-05Update rustc-dev-guideJakub Beránek-3/+1
2025-02-05Rollup merge of #136405 - aDotInTheVoid:unstable-doc, r=notriddleLeón Orell Valerian Liehr-5/+11
rustdoc-book: Clean up section on `--output-format` Followup to #134531. Tracking issues #76578 and #134529 I guess. r? ``@GuillaumeGomez``
2025-02-04Document minimum supported host tooling on macOSMads Marquart-0/+12
2025-02-04Rollup merge of #136167 - pitaj:new_range, r=NadrierilJacob Pratt-0/+9
Implement unstable `new_range` feature Switches `a..b`, `a..`, and `a..=b` to resolve to the new range types. For rust-lang/rfcs#3550 Tracking issue #123741 also adds the re-export that was missed in the original implementation of `new_range_api`
2025-02-04Merge pull request #2243 from Kobzol/pull-cron许杰友 Jieyou Xu (Joe)-2/+2
2025-02-03Make the rustc-pull workflow run less oftenJakub Beránek-2/+2
2025-02-04Merge pull request #2242 from DuskyElf/master许杰友 Jieyou Xu (Joe)-1/+0
2025-02-03Rollup merge of #136498 - rustbot:docs-update, r=ehussMatthias Krüger-0/+0
Update books ## rust-lang/book 2 commits in fa312a343fbff01bc6cef393e326817f70719813..e2fa4316c5a7c0d2499c5d6b799adcfad6ef7a45 2025-02-03 15:02:07 UTC to 2025-02-01 17:33:39 UTC - Add missing word in ch17-04-streams.md (rust-lang/book#4218) - Fix typo in ch5.3 and in CONTRIBUTING.md (rust-lang/book#4216) ## rust-lang/edition-guide 2 commits in 4ed5a1a4a2a7ecc2e529a5baaef04f7bc7917eda..f56aecc3b036dff16404b525a83b00f911b9bbea 2025-02-03 17:14:16 UTC to 2025-01-31 17:44:00 UTC - Rustc{En,De}codable has been removed (rust-lang/edition-guide#353) - Remove rustfmt-overflow-delimited-expr (rust-lang/edition-guide#357) ## rust-lang/nomicon 3 commits in bc2298865544695c63454fc1f9f98a3dc22e9948..336f75835a6c0514852cc65aba9a698b699b13c8 2025-02-02 10:06:30 UTC to 2025-02-02 08:35:20 UTC - Improve grammar in exotic-sizes (rust-lang/nomicon#452) - other-reprs: Add details for n!=1 repr(packed) (rust-lang/nomicon#460) - Use `()` instead of `[u8; 0]` in opaque type (rust-lang/nomicon#456) ## rust-lang/reference 3 commits in 93b921c7d3213d38d920f7f905a3bec093d2217d..4249fb411dd27f945e2881eb0378044b94cee06f 2025-01-31 03:43:07 UTC to 2025-01-29 04:17:34 UTC - Add Spec Identifier Syntax to expressions.md and subchapters (rust-lang/reference#1591) - Exclude the test summary from the search index (rust-lang/reference#1723) - Spec inline assembly tests (rust-lang/reference#1648) ## rust-lang/rust-by-example 1 commits in 054259ed1bf01cdee4309ee764c7e103f6df3de5..743766929f1e53e72fab74394ae259bbfb4a7619 2025-02-02 19:53:31 UTC to 2025-02-02 19:53:31 UTC - Spanish translation to 1:2100 (rust-lang/rust-by-example#1910)
2025-02-03overlong lineTshepang Mbambo-2/+4
2025-02-04Remove "Port run-make tests from Make to Rust" tracking issue from Recurring ↵Rehmatpal Singh-1/+0
work
2025-02-03platform-support: document CPU baseline for x86-32 targetsRalf Jung-20/+20
2025-02-03Update booksrustbot-0/+0
2025-02-03platform-support docs: fix x87 errata footnotesRalf Jung-5/+5
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-6/+5
2025-02-03Merge from rustcThe rustc-dev-guide Cronjob Bot-4/+4
2025-02-03Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-02-02Replace ParseSess::set_dcx with DiagCtxt::set_emitterbjorn3-4/+4
Replacing the error emitter doesn't accidentally clear the error count.
2025-02-02Merge pull request #2236 from rust-lang/rustc-pullYuki Okushi-60/+160
2025-02-02Apply suggestions from code reviewYuki Okushi-2/+2
2025-02-02Merge pull request #2233 from chiichen/nix-shell-devnora-26/+19
Use a more convinient way of developing rustc on NixOS
2025-02-02Merge pull request #2235 from Kobzol/docker-tests-rewriteOnur Özkan-33/+32
Rewrite section on executing Docker tests
2025-02-02Merge from rustcThe rustc-dev-guide Cronjob Bot-59/+159
2025-02-02Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-02-01rustdoc-book: Clean up section on `--output-format`Alona Enraght-Moony-5/+11
2025-02-01Reword submodule handlingJakub Beránek-1/+1
2025-02-01Checkout repository sources in rustc-pull CI actionJakub Beránek-0/+1
This is needed for the `gh` command to work.