about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-01-12run_make_support: add `#![warn(unreachable_pub)]`Urgau-0/+1
2025-01-12Auto merge of #135402 - matthiaskrgr:rollup-cz7hs13, r=matthiaskrgrbors-3/+34
Rollup of 6 pull requests Successful merges: - #129259 (Add inherent versions of MaybeUninit methods for slices) - #135374 (Suggest typo fix when trait path expression is typo'ed) - #135377 (Make MIR cleanup for functions with impossible predicates into a real MIR pass) - #135378 (Remove a bunch of diagnostic stashing that doesn't do anything) - #135397 (compiletest: add erroneous variant to `string_enum`s conversions error) - #135398 (add more crash tests) r? `@ghost` `@rustbot` modify labels: rollup
2025-01-12Deny `clippy::four_forward_slashes` in library (no occurrences)Josh Triplett-0/+1
2025-01-12internal: Compute inlay hint tooltips lazilyLukas Wirth-16/+47
2025-01-12Deny `clippy::to_string_in_format_args` (no occurrences)Josh Triplett-0/+2
2025-01-12Deny `clippy::single_char_add_str` (no occurrences)Josh Triplett-0/+2
2025-01-12Deny `clippy::same_item_push` (no occurrences)Josh Triplett-0/+2
2025-01-12Deny `clippy::print_literal` (no occurrences)Josh Triplett-0/+2
2025-01-12Deny `clippy::needless_bool` and `clippy::needless_bool_assign` (no occurrences)Josh Triplett-0/+4
2025-01-12Deny `clippy::non_minimal_cfg` (no occurrences)Josh Triplett-0/+2
2025-01-12Deny `clippy::char_lit_as_u8` (no occurrences)Josh Triplett-1/+5
2025-01-12Deny `clippy:;four_forward_slashes` and fix the only occurrenceJosh Triplett-0/+1
2025-01-12Deny `clippy::format_in_format_args` and fix the only occurrenceJosh Triplett-1/+5
2025-01-12Fix text edits for discriminant hintsLukas Wirth-2/+33
2025-01-12internal: Compute inlay hint text edits lazilyLukas Wirth-56/+118
2025-01-12fix: Fix `ref` text edit for binding mode hintsLukas Wirth-2/+27
2025-01-12Auto merge of #135262 - mrkajetanp:ci-aarch64-dist-reland, r=Kobzolbors-95/+134
ci: Move dist-aarch64-linux to an aarch64 runner Move the dist-aarch64-linux CI job to an aarch64 runner instead of cross-compiling it from an x86 one. This will make it possible to perform optimisations such as LTO, PGO and BOLT later on. r? `@Kobzol` Reland of #133809 now that the higher page sizes are fixed. try-job: dist-aarch64-linux try-job: dist-x86_64-linux try-job: dist-i686-linux
2025-01-12Rollup merge of #135389 - jieyouxu:fix-stage0-rustdoc-rmake, r=onur-ozkanMatthias Krüger-3/+11
compiletest: include stage0-sysroot libstd dylib in recipe dylib search path To fix some of the failures in `COMPILETEST_FORCE_STAGE0=1 ./x test run-make --stage 0`. Specifically, ``` COMPILETEST_FORCE_STAGE0=1 ./x test tests/run-make/rustdoc-default-output/ --stage 0 ``` should now pass. Fixes #135373. (As in, make *some* of the `run-make` tests pass, other `run-make` tests fail for various reasons against stage0, and generally `run-make` tests are not guaranteed to pass at stage 0.) cc `@lolbinarycat` r? bootstrap
2025-01-12Rollup merge of #135375 - lolbinarycat:bootstrap-allow-stage0-rustdoc-js, ↵Matthias Krüger-1/+4
r=jieyouxu allow rustdoc-js tests to be run at stage0 this mirrors the behavior of rustdoc-js-std tests. previously this required COMPILETEST_FORCE_STAGE0.
2025-01-12add error message to `string_enum!`s string conversionsRémy Rakic-4/+4
2025-01-12add test for `string_enum`Rémy Rakic-0/+31
2025-01-12update doc-comment of `BuildStamp::add_stamp`onur-ozkan-1/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12rename run_js_doc_test to run_rustdoc_js_testbinarycat-4/+4
2025-01-12rename `done_stamp` to `lld_stamp`onur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12rustc-dev-guide: update outdated LLVM stamp filenameonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12add change entry for renamingsonur-ozkan-0/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12avoid magical `AsRef<Path>` implementationonur-ozkan-29/+37
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12refactor `with_stamp` as `add_stamp` for incrementalityonur-ozkan-14/+13
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12extend sanitizers stamp calculationonur-ozkan-7/+13
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12run git only inside the current directoryonur-ozkan-0/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12migrate lld build stamponur-ozkan-5/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12apply minor improvements on build_stamponur-ozkan-1/+4
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12migrate `program_out_of_date` to `BuildStamp::is_up_to_date`onur-ozkan-46/+20
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12add coverage for `BuildStamp::with_prefix`onur-ozkan-0/+16
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12fix an invalid prefix usage on enzymeonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12fix compiler errorsonur-ozkan-2/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12migrate `generate_smart_stamp_hash`onur-ozkan-55/+55
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12add test coverage for `build_stamp` implementationonur-ozkan-0/+47
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12document `build_stamp` implementationonur-ozkan-6/+18
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12migrate `Builder::clear_if_dirty`onur-ozkan-30/+29
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12migrate helper stamp functionsonur-ozkan-141/+79
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12migrate `HashStamp` to `BuildStamp`onur-ozkan-66/+29
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12use `BuildStamp` instead of std paths and stringsonur-ozkan-69/+86
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12implement `BuildStamp` that is stricter impl for build stampsonur-ozkan-2/+78
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-12run-make-support: don't use lossy on `TARGET_RPATH_DIR`许杰友 Jieyou Xu (Joe)-2/+1
2025-01-12compiletest: include stage0-sysroot libstd dylib in recipe dylib search path许杰友 Jieyou Xu (Joe)-1/+10
To fix some of the failures in `COMPILETEST_FORCE_STAGE0=1 ./x test run-make --stage 0`.
2025-01-11rename 'js-doc-test' to 'rustdoc-js' in compiletestbinarycat-7/+7
2025-01-11don't use a string constantbinarycat-6/+5
2025-01-11doc comment for get_template_argsWalnut-12/+13
2025-01-12cargo updategithub-actions-52/+131
compiler & tools dependencies: Locking 27 packages to latest compatible versions Updating bitflags v2.6.0 -> v2.7.0 Updating clap v4.5.23 -> v4.5.26 Updating clap_builder v4.5.23 -> v4.5.26 Updating clap_complete v4.5.40 -> v4.5.42 Updating clap_derive v4.5.18 -> v4.5.24 Updating handlebars v6.2.0 -> v6.3.0 Updating libz-sys v1.1.20 -> v1.1.21 Updating linux-raw-sys v0.4.14 -> v0.4.15 Updating phf v0.11.2 -> v0.11.3 Updating phf_codegen v0.11.2 -> v0.11.3 Updating phf_generator v0.11.2 -> v0.11.3 Updating phf_shared v0.11.2 -> v0.11.3 Updating pin-project-lite v0.2.15 -> v0.2.16 Updating proc-macro2 v1.0.92 -> v1.0.93 Updating rustix v0.38.42 -> v0.38.43 Updating serde_json v1.0.134 -> v1.0.135 Adding siphasher v1.0.1 Updating syn v2.0.94 -> v2.0.96 Updating thiserror v2.0.9 -> v2.0.11 Updating thiserror-impl v2.0.9 -> v2.0.11 Updating tokio v1.42.0 -> v1.43.0 Updating uuid v1.11.0 -> v1.11.1 Updating wasm-encoder v0.222.0 -> v0.223.0 Adding wasmparser v0.223.0 Updating wast v222.0.0 -> v223.0.0 Updating wat v1.222.0 -> v1.223.0 Updating xattr v1.3.1 -> v1.4.0 note: pass `--verbose` to see 39 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 4 unchanged dependencies behind latest rustbook dependencies: Locking 27 packages to latest compatible versions Updating bitflags v2.6.0 -> v2.7.0 Updating cc v1.2.7 -> v1.2.8 Updating clap v4.5.23 -> v4.5.26 Updating clap_builder v4.5.23 -> v4.5.26 Updating clap_complete v4.5.40 -> v4.5.42 Updating clap_derive v4.5.18 -> v4.5.24 Adding darling v0.20.10 Adding darling_core v0.20.10 Adding darling_macro v0.20.10 Adding derive_builder v0.20.2 Adding derive_builder_core v0.20.2 Adding derive_builder_macro v0.20.2 Updating handlebars v6.2.0 -> v6.3.0 Adding ident_case v1.0.1 Updating linux-raw-sys v0.4.14 -> v0.4.15 Updating phf v0.11.2 -> v0.11.3 Updating phf_codegen v0.11.2 -> v0.11.3 Updating phf_generator v0.11.2 -> v0.11.3 Updating phf_shared v0.11.2 -> v0.11.3 Updating proc-macro2 v1.0.92 -> v1.0.93 Updating rustix v0.38.42 -> v0.38.43 Updating serde_json v1.0.134 -> v1.0.135 Adding siphasher v1.0.1 Updating syn v2.0.94 -> v2.0.96 Updating thiserror v2.0.9 -> v2.0.11 Updating thiserror-impl v2.0.9 -> v2.0.11 Updating winnow v0.6.22 -> v0.6.24