about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-01-06Fix a bug that was caused by fixup reversingChayim Refael Friedman-14/+82
2025-01-06Merge pull request #18846 from Veykril/push-kmspklwynynuLukas Wirth-201/+180
minor: New clippy lints
2025-01-06Only keep label description in Forge docs许杰友 Jieyou Xu (Joe)-61/+1
2025-01-06minor: New clippy lintsLukas Wirth-201/+180
2025-01-06Add new `{x86_64,i686}-win7-windows-gnu` targetsTobias Bucher-2/+57
These are in symmetry with `{x86_64,i686}-win7-windows-msvc`.
2025-01-06Escape all `*` in rustc's SUMMARY.mdTobias Bucher-9/+9
2025-01-06fix: Fix non-cargo flychecks immediately clearing received diagnosticsLukas Wirth-3/+5
2025-01-06Move the has_errors check in rustdoc back to after TyCtxt is createdbjorn3-4/+4
2025-01-06Ensure generate-copyright is executed from the project root.Jonathan Pallant-1/+7
2025-01-06Merge pull request #18836 from Veykril/push-kksuoxxptvtyLukas Wirth-1/+6
fix: Be more permissive with completion resolve data
2025-01-06Add rustc-dev-guide to the list of repositories managed by josh (#2197)Jakub Beránek-1/+3
2025-01-06fix: Be more permissive with completion resolve dataLukas Wirth-1/+6
2025-01-06Merge pull request #18845 from Veykril/push-yyuolqomnkysLukas Wirth-53/+58
fix: Fix flycheck getting confused which package to check
2025-01-06Consolidate coverage test suite steps into a single stepZalathar-120/+101
2025-01-06fix: Fix flycheck getting confused which package to checkLukas Wirth-53/+58
2025-01-06Add support for wasm exception handling to Emscripten targetHood Chatham-0/+6
Gated behind an unstable `-Z emscripten-wasm-eh` flag
2025-01-06Merge pull request #18843 from Veykril/push-usuzxtzsnrptLukas Wirth-9/+24
fix: Handle newstyle `rustc_intrinsic` safety correctly
2025-01-06fix: Handle newstyle `rustc_intrinsic` safety correctlyLukas Wirth-9/+24
2025-01-06fix: Fix relative .cargo env vars not workingLukas Wirth-7/+30
2025-01-06chore: remove redundant words in commentcrystalstall-1/+1
Signed-off-by: crystalstall <crystalruby@qq.com>
2025-01-06Auto merge of #135085 - knickish:m68k_unknown_none, r=workingjubileebors-0/+111
add m68k-unknown-none-elf target r? `@workingjubilee` The existing `m68k-unknown-linux-gnu` target builds `std` by default, requires atomics, and has a base cpu with an fpu. A smaller/more embedded target is desirable both to have a baseline target for the ISA, as well to make debugging easier for working on the llvm backend. Currently this target is using the `M68010` as the minimum CPU due, but as missing features are merged into the `M68k` llvm backend I am hoping to lower this further. I have been able to build very small crates using a toolchain built against this target (together with a later version of `object`) using the configuration described in the target platform-support documentation, although getting anything of substantial complexity to build quickly hits errors in the llvm backend
2025-01-06Don't enable anyhow's `backtrace` feature in opt-distZalathar-1/+1
As of the stabilization of `std::backtrace` in Rust 1.65, this package flag has no effect other than to enable an unused dependency on the `backtrace` crate.
2025-01-05Auto merge of #135127 - Kobzol:rustc-dev-guide-sync, r=BoxyUwUbors-433/+1249
rustc-dev-guide subtree update This PR performs the first update of rustc-dev-guide code from its repository. r? `@BoxyUwU`
2025-01-06add josh-sync build dir to gitignore (#2196)Boxy-0/+2
2025-01-05Preparing for merge from rustcJakub Beránek-0/+1
2025-01-05Preparing for merge from rustcJakub Beránek-0/+1
2025-01-05Remove other maintainersknickish-2/+0
Co-authored-by: Jubilee <workingjubilee@gmail.com>
2025-01-05Split stuff out of representing types, and rewrite early/late bound chapter ↵Boxy-370/+433
(#2192)
2025-01-05Describe how to use rust-analyzer with `rmake.rs` (#2191)Stuart Cook-0/+40
2025-01-05fix commentTshepang Mbambo-2/+1
2025-01-05make paragraph more readableTshepang Mbambo-3/+5
2025-01-05repetition not neededTshepang Mbambo-5/+5
2025-01-05Document josh subtrees and update subtree repository list (#2182)Jakub Beránek-9/+21
2025-01-05Add tooling for performing Josh synces (#2183)Jakub Beránek-43/+728
2025-01-05comment out FIXMEs to not display them on UI (#2186)Onur Özkan-6/+20
2025-01-05Update tidybjorn3-6/+3
2025-01-05Auto merge of #135109 - rust-lang:cargo_update, r=tgross35bors-10/+11
Weekly `cargo update` Automation to keep dependencies in `Cargo.lock` current. The following is the output from `cargo update`: ```txt compiler & tools dependencies: Locking 4 packages to latest compatible versions Updating bstr v1.11.1 -> v1.11.3 Updating spdx v0.10.7 -> v0.10.8 Updating syn v2.0.93 -> v2.0.94 Updating tempfile v3.14.0 -> v3.15.0 note: pass `--verbose` to see 35 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 3 unchanged dependencies behind latest rustbook dependencies: Locking 5 packages to latest compatible versions Updating bstr v1.11.1 -> v1.11.3 Updating cc v1.2.6 -> v1.2.7 Updating syn v2.0.93 -> v2.0.94 Updating tempfile v3.14.0 -> v3.15.0 Updating winnow v0.6.20 -> v0.6.22 ```
2025-01-05Auto merge of #135074 - wzssyqa:mips-mti, r=oli-obkbors-0/+36
Target: Add mips mti baremetal support Do the same thing as gcc, which use the vendor `mti` to mark the toolchain as MIPS32r2 default. We support both big endian and little endian flavor: mips-mti-none-elf mipsel-mti-none-elf
2025-01-05Update src/doc/rustc/src/platform-support/mips-mti-none-elf.mdYunQiang Su-1/+1
Co-authored-by: Oli Scherer <github35764891676564198441@oli-obk.de>
2025-01-05Merge from rustcThe Miri Cronjob Bot-204/+583
2025-01-05Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-01-04Rollup merge of #134996 - bdbai:uwp-support, r=jieyouxu,ChrisDentonJubilee-5/+58
Add UWP (msvc) target support page - Added Platform Support page for `x86_64-uwp-windows-msvc`, `i686-uwp-windows-msvc`, `thumbv7a-uwp-windows-msvc` and `aarch64-uwp-windows-msvc` - Adding myself as a maintainer - Removing the ticks for `thumbv7a-pc-windows-msvc` and `thumbv7a-uwp-windows-msvc` as they do not currently build due to #134565 and https://github.com/rust-lang/backtrace-rs/pull/685 - Fixed a few minor issues to let most of the UWP targets compile - Happy new year to all! r? jieyouxu
2025-01-04Rollup merge of #134925 - DavisRayM:130982-deny-special-filecheck-prefixes, ↵Jubilee-0/+65
r=jieyouxu deny usage of special FileCheck prefixes as revision names Adds a check that ensures special FileCheck prefixes are not used as revision names. Fix #130982
2025-01-05cargo updategithub-actions-10/+11
compiler & tools dependencies: Locking 4 packages to latest compatible versions Updating bstr v1.11.1 -> v1.11.3 Updating spdx v0.10.7 -> v0.10.8 Updating syn v2.0.93 -> v2.0.94 Updating tempfile v3.14.0 -> v3.15.0 note: pass `--verbose` to see 35 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 3 unchanged dependencies behind latest rustbook dependencies: Locking 5 packages to latest compatible versions Updating bstr v1.11.1 -> v1.11.3 Updating cc v1.2.6 -> v1.2.7 Updating syn v2.0.93 -> v2.0.94 Updating tempfile v3.14.0 -> v3.15.0 Updating winnow v0.6.20 -> v0.6.22
2025-01-04Auto merge of #135101 - workingjubilee:rollup-owp3czl, r=workingjubileebors-12/+11
Rollup of 6 pull requests Successful merges: - #135046 (turn rustc_box into an intrinsic) - #135061 (crashes: add latest batch of tests) - #135070 (std: sync to dep versions of backtrace) - #135088 (Force code generation in assembly generation smoke-tests) - #135091 (Bump backtrace to 0.3.75) - #135094 (bootstrap: If dir_is_empty fails, show the non-existent directory path) r? `@ghost` `@rustbot` modify labels: rollup
2025-01-04Apply suggestions from workingjubilee's code reviewknickish-12/+11
Co-authored-by: Jubilee <workingjubilee@gmail.com>
2025-01-04Auto merge of #135096 - jieyouxu:fix-doc-submodule-handling, r=onur-ozkanbors-15/+23
bootstrap: correctly handle doc paths within submodules Fixes #135041 by passing the correct submodule path when requiring submodules. This PR changes `is_path_in_submodule` to `submodule_path_of`. `submodule_path_of` returns the path of the containing submodule when given a path nested inside a submodule we handle, and `None` otherwise. I tested this manually locally by unregistering the `src/tools/cargo` submodule, then running `./x doc src/tools/cargo/src/doc`. This command fails on master with ``` thread 'main' panicked at src/bootstrap/src/utils/helpers.rs:441:5: std::fs::read_dir(dir) failed with No such file or directory (os error 2) ``` since the require submodule fails as `src/tools/cargo/src/doc` is not a known submodule. Now we use the submodule path if such a nested-in-submodule-path is passed, and thus running this command with cargo submodule unregistered still succeeds: ``` Rustbook (x86_64-unknown-linux-gnu) - cargo Doc path: /home/joe/repos/rust/build/x86_64-unknown-linux-gnu/doc/cargo/index.html Build completed successfully in 0:00:11 ``` r? `@onur-ozkan`
2025-01-04Support the new `CoercePointee` deriveChayim Refael Friedman-64/+768
2025-01-04Merge pull request #18835 from Veykril/push-wnmwwoktmpytLukas Wirth-0/+85
Hide synthetic locals from completions
2025-01-04Rollup merge of #135094 - joshtriplett:bootstrap-show-nonexistent-dir, ↵Jubilee-1/+1
r=jieyouxu bootstrap: If dir_is_empty fails, show the non-existent directory path This should help when trying to debug issues.