about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2025-01-06minor: New clippy lintsLukas Wirth-201/+180
2025-01-06fix: Fix non-cargo flychecks immediately clearing received diagnosticsLukas Wirth-3/+5
2025-01-06Ensure generate-copyright is executed from the project root.Jonathan Pallant-1/+4
2025-01-06Merge pull request #18836 from Veykril/push-kksuoxxptvtyLukas Wirth-1/+6
fix: Be more permissive with completion resolve data
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-06fix: Fix flycheck getting confused which package to checkLukas Wirth-53/+58
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-06Auto merge of #135085 - knickish:m68k_unknown_none, r=workingjubileebors-0/+1
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-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/+2
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-05Merge from rustcThe Miri Cronjob Bot-147/+364
2025-01-05Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
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-04Apply suggestions from workingjubilee's code reviewknickish-1/+0
Co-authored-by: Jubilee <workingjubilee@gmail.com>
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 #135070 - klensy:backtrace-deps, r=workingjubileeJubilee-2/+2
std: sync to dep versions of backtrace Minor versions from backtrace desynced with std (they still differs in patch numbers, but still better): https://github.com/rust-lang/backtrace-rs/blob/4d7906bb24ae91ee6587127020d360f5298f9e7e/Cargo.toml#L44-L48 There is hidden bug here, let's see if CI can find it. cc `@workingjubilee`
2025-01-04Rollup merge of #135046 - RalfJung:rustc_box_intrinsic, r=compiler-errorsJubilee-9/+8
turn rustc_box into an intrinsic I am not entirely sure why this was made a special magic attribute, but an intrinsic seems like a more natural way to add magic expressions to the language.
2025-01-04Hide synthetic locals from completionsLukas Wirth-0/+85
2025-01-04Auto merge of #135031 - RalfJung:intrinsics-without-body, r=oli-obkbors-27/+51
rustc_intrinsic: support functions without body We synthesize a HIR body `loop {}` but such bodyless intrinsics. Most of the diff is due to turning `ItemKind::Fn` into a brace (named-field) enum variant, because it carries a `bool`-typed field now. This is to remember whether the function has a body. MIR building panics to avoid ever translating the fake `loop {}` body, and the intrinsic logic uses the lack of a body to implicitly mark that intrinsic as must-be-overridden. I first tried actually having no body rather than generating the fake body, but there's a *lot* of code that assumes that all function items have HIR and MIR, so this didn't work very well. Then I noticed that even `rustc_intrinsic_must_be_overridden` intrinsics have MIR generated (they are filled with an `Unreachable` terminator) so I guess I am not the first to discover this. ;) r? `@oli-obk`
2025-01-04Merge pull request #4121 from RalfJung/josh-proxyRalf Jung-2/+2
bump josh-proxy
2025-01-04bump josh-proxyRalf Jung-2/+2
2025-01-04rustc_intrinsic: support functions without body; they are implicitly marked ↵Ralf Jung-1/+1
as must-be-overridden
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-27/+51
2025-01-04Auto merge of #135089 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 9 commits in d73d2caf9e41a39daf2a8d6ce60ec80bf354d2a7..fd784878cfa843e3e29a6654ecf564c62fae6735 2024-12-31 20:51:21 +0000 to 2025-01-03 20:06:26 +0000 - chore: bump gix-lock to remove thiserror@1 from `cargo` (rust-lang/cargo#15012) - refactor(manifest): Clean up field -&gt; env var handling (rust-lang/cargo#15008) - chore(deps): update rust crate thiserror to v2 (rust-lang/cargo#14998) - test(git): Clean up shallow fetch tests (rust-lang/cargo#15002) - fix(schema): Correct and update the JSON Schema (rust-lang/cargo#15000) - chore(deps): update rust crate itertools to 0.14.0 (rust-lang/cargo#14996) - fix: env table config can't trigger rebuild with `rerun-if-env-changed`. (rust-lang/cargo#14756) - chore(deps): update alpine docker tag to v3.21 (rust-lang/cargo#14995) - fix(package): check dirtiness of symlinks source files (rust-lang/cargo#14981)
2025-01-03Update cargoWeihang Lo-0/+0
2025-01-03Rollup merge of #135036 - jieyouxu:rmake-be-quiet, r=compiler-errorsMatthias Krüger-107/+235
run-make-support: adjust assertion printing, add some basic sanity checks cc ``@Noratrieb`` I think we may have unintentionally regressed this recently and double-printed (or printed even when the assertions didn't fail). This PR should condition the detail dumps only when the assertions fail. Added some basic sanity checks for the assertions helpers except for the directory comparisons. That particular helper is not robust against symlinks, and I intend to address it in a follow-up (issue is #135037). r? bootstrap (or compiler)
2025-01-03add m68k-unknown-none-elf targetkirk-0/+2
2025-01-03Merge pull request #18831 from lnicola/ci-rustc-testsLaurențiu Nicola-1/+1
Fix metrics workflow
2025-01-03Fix metrics workflowLaurențiu Nicola-1/+1
2025-01-03Merge pull request #18806 from LHolten/deduplicate-crate-graphLukas Wirth-35/+19299
fix: Deduplicate crate graph
2025-01-03Target: Add mips mti baremetal supportYunQiang Su-0/+2
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-03Merge pull request #18830 from alibektas/18814Lukas Wirth-2/+9
fix: 18814
2025-01-03fix: 18814Ali Bektas-2/+9
2025-01-03Merge pull request #18829 from Veykril/push-ouvwrxoovwkrLukas Wirth-7/+2
Disable rustc_test metrics again
2025-01-03tidyklensy-2/+2
2025-01-03Merge pull request #18828 from lnicola/edition-descriptionLaurențiu Nicola-0/+1
minor: Add description field to edition manifest
2025-01-03Disable rustc_test metrics againLukas Wirth-7/+2
2025-01-03Merge pull request #18827 from Veykril/push-zqsplmtwsxxkLukas Wirth-1/+4
minor: Honor `CARGO_TARGET_DIR` for cargo target dir config
2025-01-03Add description field to edition manifestLaurențiu Nicola-0/+1
2025-01-03minor: Honor `CARGO_TARGET_DIR` for cargo target dir configLukas Wirth-1/+4
2025-01-03Merge pull request #18826 from Veykril/push-qnsqormwlwqmLukas Wirth-36/+21
fix: Clear flycheck diagnostics per package properly
2025-01-03fix: Clear flycheck diagnostics per package properlyLukas Wirth-36/+21
2025-01-03run-make-support: tidy up assertion failure dumping许杰友 Jieyou Xu (Joe)-33/+58
Avoid double-dumping or dumping even when assertion is successful.