about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-02-24Auto merge of #137523 - lnicola:sync-from-ra, r=lnicolabors-498/+718
Subtree update of `rust-analyzer` r? `@ghost`
2025-02-24Add `take()` method to `SyntaxEditor`Shoyu Vanilla-25/+20
2025-02-24Migrate `apply_demorgan` to `SyntaxEditor`Shoyu Vanilla-52/+162
2025-02-24Migrate some leftovers in `add_missing_match_arms`Shoyu Vanilla-25/+196
2025-02-24simplify must-use lint slightlyJana Dönszelmann-52/+47
2025-02-24Fix rustdoc and clippyJana Dönszelmann-119/+131
2025-02-24Change span field accesses to method callsJana Dönszelmann-0/+0
2025-02-24Merge pull request #4193 from bjorn3/arm64_vpmaxq_u8Ralf Jung-13/+124
Implement vpmaxq_u8 on aarch64
2025-02-24Merge pull request #19219 from Veykril/push-rvosplwpwqqtLukas Wirth-8/+122
Vendor `always-assert` into `stdx`
2025-02-24Merge pull request #19211 from Timmmm/user/timh/import_privateLukas Wirth-1/+4
Include private items in completions for local crates
2025-02-24Merge pull request #19197 from andylokandy/instaLukas Wirth-16/+13
feat: update insta inline snapshot when clicking 'Update Test' runnable
2025-02-24Merge pull request #19218 from Veykril/push-vqsronpuvrnxLukas Wirth-1/+0
Disable incremental on release builds
2025-02-24Vendor always-assertLukas Wirth-8/+122
2025-02-24Disable incremental on release buildsLukas Wirth-1/+0
2025-02-24slightly extend commentRalf Jung-1/+2
2025-02-24add missing float non-determinism tests and skip some on ↵Ralf Jung-10/+24
i686-pc-windows-msvc that are internally implemented via f64
2025-02-24Merge pull request #19217 from lnicola/event-nameLaurențiu Nicola-6/+6
Fix `event_name` check is workflows
2025-02-24make sure we install the toolchain for the intended host targetRalf Jung-1/+7
2025-02-24Fix event_name check in workflowsLaurențiu Nicola-6/+6
2025-02-24sanity-check for HOST_TARGETRalf Jung-1/+12
2025-02-24Downgrade to ubuntu-22.04 for aarch64-unknown-linux-gnu and ↵Laurențiu Nicola-2/+2
arm-unknown-linux-gnueabihf builds
2025-02-24Update browser-ui-test version to `0.20.3`Guillaume Gomez-1/+1
2025-02-24Auto merge of #137511 - jhpratt:rollup-07whsax, r=jhprattbors-61/+99
Rollup of 10 pull requests Successful merges: - #136610 (Allow `IndexSlice` to be indexed by ranges.) - #136991 ([rustdoc] Add new setting to wrap source code lines when too long) - #137061 (Unstable `gen_future` Feature Tracking ) - #137393 (Stabilize `unbounded_shifts`) - #137482 (Windows: use existing wrappers in `File::open_native`) - #137484 (Fix documentation for unstable sort on slice) - #137491 (Tighten `str-to-string-128690.rs``CHECK{,-NOT}`s to make it less likely to incorrectly fail with symbol name mangling) - #137495 (Added into_value function to ControlFlow<T, T>) - #137501 (Move `impl` blocks out of `rustc_middle/src/mir/syntax.rs`) - #137505 (Add a span to `CompilerBuiltinsCannotCall`) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-24Update assist docsLaurențiu Nicola-149/+175
2025-02-24Format codeLaurențiu Nicola-2/+8
2025-02-24add coverage for explicit stage fieldsonur-ozkan-0/+57
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-24add explicit stage fields to `Config`onur-ozkan-0/+10
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-24Add rustc_hashes and bump the othersLaurențiu Nicola-17/+38
2025-02-24Merge from rust-lang/rustLaurențiu Nicola-1547/+2444
2025-02-24Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-02-24Rollup merge of #136991 - GuillaumeGomez:code-wrapping, r=notriddleJacob Pratt-61/+99
[rustdoc] Add new setting to wrap source code lines when too long Fixes https://github.com/rust-lang/rust/issues/127334. Wrapped lines look like this: ![image](https://github.com/user-attachments/assets/92006a27-ed1e-4beb-91f2-f453b72c5e1a) It works in both source code pages and doc pages. You can test it [here](https://rustdoc.crud.net/imperio/code-wrapping/bar/index.html). r? ``@notriddle``
2025-02-24Auto merge of #137285 - yotamofek:pr/rustdoc/pulldown-escaping, r=GuillaumeGomezbors-48/+4
librustdoc: Use `pulldown-cmark-escape` for HTML escaping Implementation of `@notriddle` 's [suggestion](https://github.com/rust-lang/rust/pull/137274#issuecomment-2669001585). Somewhat related to #137274 , but the two PRs should be complementary. Local perf results look like a nice improvement! (so would love a perf run on the CI)
2025-02-24Merge from rustcRalf Jung-1320/+2153
2025-02-24remove support for rustc_intrinsic_must_be_overridden from the compilerRalf Jung-4/+10
2025-02-24Preparing for merge from rustcRalf Jung-1/+1
2025-02-24use lua localsjyn-5/+5
Co-authored-by: DianQK <dianqk@dianqk.net>
2025-02-23document how to setup RA for nvim automaticallyjyn-4/+29
2025-02-23Auto merge of #137497 - tgross35:rollup-1oeclrr, r=tgross35bors-14/+21
Rollup of 8 pull requests Successful merges: - #136439 (Misc. `rustc_codegen_ssa` cleanups 🧹) - #136543 (intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic) - #136637 (Add binary_format to rustc target specs) - #137099 (Fix rustdoc test directives that were accidentally ignored 🧐) - #137297 (Update `compiler-builtins` to 0.1.147) - #137451 (FIx `sym` -> `syn` typo in tail-expr-drop-order type opt-out) - #137452 (bootstrap: add module docs for core:metadata) - #137483 (rename sub_ptr to offset_from_unsigned) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-23Auto merge of #137476 - onur-ozkan:137469, r=jieyouxubors-47/+14
avoid `compiler_for` for dist tools and force the current compiler Using `compiler_for` in dist steps was causing to install stage1 tools into the dist tarballs, which doesn't match with the stage2 compiler. Fixes https://github.com/rust-lang/rust/issues/137469
2025-02-23Rollup merge of #137483 - bend-n:😅, r=NoratriebTrevor Gross-6/+6
rename sub_ptr to offset_from_unsigned i also made `byte_sub_ptr` `byte_offset_from_unsigned` fixes #137121 tracking issue #95892
2025-02-23Rollup merge of #137452 - ↵Trevor Gross-0/+7
Shourya742:2025-02-23-add-module-level-doc-for-core-metadata, r=Kobzol bootstrap: add module docs for core:metadata Add module doc for bootstrap:core:metadata
2025-02-23Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35Trevor Gross-8/+8
intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic LLVM has three intrinsics here that all do the same thing (when used in the default FP environment). There's no reason Rust needs to copy that historically-grown mess -- let's just have one intrinsic and leave it up to the LLVM backend to decide how to lower that. Suggested by `@hanna-kruppe` in https://github.com/rust-lang/rust/issues/136459; Cc `@tgross35` try-job: test-various
2025-02-23configure.py: don't instruct user to run nonexistent programнаб-1/+1
$ ./configure configure: processing command line configure: configure: build.configure-args := [] configure: profile := dist configure: configure: writing `config.toml` in current directory configure: configure: run `python /mnt/filling/store/nabijaczleweli/code/rust/x.py --help` This is naturally not valid since I don't have a "python" executable (and this will hopefully become more and more true as Python 2 dies out). ./configure knows this since it does try python3 "$@", then python2.7 &c. After, this now says configure: run `python3 /mnt/filling/store/nabijaczleweli/code/rust/x.py --help` which is possible, and corresponds to the interpreter actually running.
2025-02-23Merge pull request #19191 from Veykril/push-yzzlosskwrxsLukas Wirth-131/+23
Remove `limit` crate in favor `usize`
2025-02-23fixed by differentiating glob exportTapan Prakash-0/+12
2025-02-23Remove `limit` crate in favor `usize`Lukas Wirth-131/+23
2025-02-23rename sub_ptr 😅bendn-6/+6
2025-02-23stabilize extract_ifbendn-1/+0
2025-02-23bootstrap: remove redundant `to_path_buf()`许杰友 Jieyou Xu (Joe)-1/+1
2025-02-23bootstrap: remove `--build-base` and use `--build-root` and ↵许杰友 Jieyou Xu (Joe)-1/+5
`--build-test-suite-root` instead