about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2024-10-28Bless a miri testMaybe Lapkin-1/+1
After moving some `Box` internals to a different module, the path in the diagnostic changed.
2024-10-28Merge pull request #3998 from RalfJung/contribOli Scherer-8/+19
contributing guide: mention expectations around force pushes and squashing
2024-10-28Rollup merge of #132271 - claywilkinson:master, r=tmandryJubilee-9/+2
Updating Fuchsia platform-support documentation Updated for changes in the package server workflow. r? ``@tmandry`` ``@erickt``
2024-10-28Rollup merge of #132258 - GuillaumeGomez:variant-structfields-margins, ↵Jubilee-1/+1
r=notriddle [rustdoc] Unify variant struct fields margins with struct fields As discussed in https://github.com/rust-lang/rust/pull/132220. | before | after | |-|-| | ![image](https://github.com/user-attachments/assets/d8d8336d-7fe4-45fb-a5a5-36a4023223f5) | ![Screenshot from 2024-10-28 11-17-24](https://github.com/user-attachments/assets/9d0d9633-b857-45b4-9217-7d0d1aa8f770) | r? ```@notriddle```
2024-10-28Rollup merge of #132255 - workingjubilee:layout-is-🏚️, r=compiler-errorsJubilee-4/+4
Add `LayoutS::is_uninhabited` and use it Use accessors for the things that accessors are good at: reducing everyone's need to be nosy and peek at the internals of every data structure.
2024-10-28rustdoc: Use accessors to interrogate type layoutsJubilee Young-4/+4
2024-10-28Updating Fuchsia platform-support documentationClayton Wilkinson-9/+2
Updated for changes in the package server workflow.
2024-10-28Cleanup TypeRef loweringChayim Refael Friedman-170/+151
By removing interior mutability from it.
2024-10-28force-recompile library changes on download-rustc="if-unchanged"onur-ozkan-16/+22
This makes download-rustc="if-unchanged" more functional and useful for library developers. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-10-28CI: build FreeBSD artifacts on FreeBSD 13.4Alan Somers-6/+6
13.2 is EoL, and 13.3 will be EoL too in about 2 months. Plus, both suffer from a bug in LLVM's libunwind. It causes a segfault inside of std::backtrace::Backtrace::capture(). Fixes #132185
2024-10-28split clippy task for library and compiler, so different lints can be enabledklensy-1/+2
2024-10-28contributing guide: mention expectations around force pushes and squashingRalf Jung-8/+19
2024-10-28Merge pull request #18420 from ChayimFriedman2/cfg-true-falseLukas Wirth-6/+87
feat: Support `cfg(true)` and `cfg(false)`
2024-10-28Merge pull request #18421 from Veykril/push-uxxwvwnqvomrLukas Wirth-707/+684
Move text-edit into ide-db
2024-10-28Merge pull request #18413 from ShoyuVanilla/extern-crate-reexportLukas Wirth-3/+79
fix: Allow public re-export of `extern crate` import
2024-10-28Merge pull request #18422 from ChayimFriedman2/cursed-name-resLukas Wirth-52/+180
fix: Properly resolve prelude paths inside modules inside blocks
2024-10-28Merge pull request #18312 from LastExceed/symbolkind-variableLukas Wirth-0/+94
Report document symbols of kind `variable` for let statements
2024-10-28ReformatLukas Wirth-21/+21
2024-10-28Move text-edit into ide-dbLukas Wirth-707/+684
2024-10-28Auto merge of #132262 - matthiaskrgr:rollup-pcphi6l, r=matthiaskrgrbors-95/+94
Rollup of 4 pull requests Successful merges: - #131391 (Stabilize `isqrt` feature) - #132248 (rustc_transmute: Directly use types from rustc_abi) - #132252 (compiler: rename LayoutS to LayoutData) - #132253 (Known-bug test for `keyword_idents` lint not propagating to other files) r? `@ghost` `@rustbot` modify labels: rollup
2024-10-28New lint: `dangling_pointers_from_temporaries`Pavel Grigorenko-9/+15
2024-10-28Rollup merge of #132252 - workingjubilee:rename-layouts-to-layoutdata, ↵Matthias Krüger-2/+2
r=jieyouxu compiler: rename LayoutS to LayoutData Bid `LayoutS` goodbye because it looks like a typo. `LayoutS` is the last of the types that use the "`{TypeName}` is the interned type, `{TypeName}S` is the backing data that is interned" convention. This is pretty confusing to those not intimately familiar with the history of rustc's names for its types over time, and doubly so now that there are no other examples in the tree. Abolish this convention.
2024-10-28Rollup merge of #131391 - ChaiTRex:isqrt, r=scottmcm,tgross35Matthias Krüger-93/+92
Stabilize `isqrt` feature Stabilizes the `isqrt` feature. FCP is incomplete. Closes #116226
2024-10-28Merge pull request #18074 from ChayimFriedman2/typeref-source-mapLukas Wirth-928/+2510
internal: Build source map for `hir_def::TypeRef`s
2024-10-28Auto merge of #132244 - jyn514:linker-refactors, r=bjorn3bors-2/+9
fix various linker warnings separated out from https://github.com/rust-lang/rust/pull/119286; this doesn't have anything user-facing, i just want to land these changes so i can stop rebasing them. r? `@bjorn3`
2024-10-28Merge pull request #18256 from MoskalykA/use-is_none_orLaurențiu Nicola-21/+4
Start using `Option::is_none_or`
2024-10-28Merge pull request #18412 from lnicola/windows-no-gzLaurențiu Nicola-1/+2
internal: Stop producing .gz artifacts for Windows
2024-10-28Unify variant struct fields margins with struct fieldsGuillaume Gomez-1/+1
2024-10-28Merge pull request #3992 from YohDeadfall/android-syscallRalf Jung-70/+93
Android: Added syscall support
2024-10-28Update current status of diagnostics translation infra (#2105)许杰友 Jieyou Xu (Joe)-0/+22
2024-10-28Android: Added syscall supportYoh Deadfall-70/+93
2024-10-28Merge pull request #3954 from Mandragorian/coverage-reportRalf Jung-11/+173
Add option for generating coverage reports
2024-10-28Rollup merge of #132225 - clubby789:run-make-dynamic, r=jieyouxu许杰友 Jieyou Xu (Joe)-0/+4
Dynamically link run-make support Fixes #131810 r? `@jieyouxu`
2024-10-27rust-analyzer: Rename LayoutS to LayoutDataJubilee Young-2/+2
2024-10-27don't pass `-L .../auxiliary` unless it existsjyn-1/+9
this avoids warnings from macOS ld
2024-10-27remove dead code in CGREP scriptjyn-1/+0
2024-10-27Add option for generating coverage reportsKonstantin Andrikopoulos-11/+173
Add a `--coverage` option in the `test` subcommand of the miri script. This option, when set, will generate a coverage report after running the tests. `cargo-binutils` is needed as a dependency to generate the reports.
2024-10-27add testLastExceed-0/+76
2024-10-27add LetStmt armLastExceed-0/+18
2024-10-27Merge pull request #3987 from TDecking/vpclmulRalf Jung-38/+249
Implement LLVM x86 vpclmulqdq intrinsics
2024-10-27Rollup merge of #132234 - RalfJung:miri-sync, r=RalfJungMatthias Krüger-299/+612
Miri subtree update r? `@ghost`
2024-10-27Properly resolve prelude paths inside modules inside blocksChayim Refael Friedman-52/+180
I.e. the following situation: ``` fn foo() { mod bar { fn qux() { // Prelude path here (e.g. macro use prelude or extern prelude). } } } ``` Those were previously unresolved, because, in order to support `self` and `super` properly, since #15148 we do not ascend block paths when there is a module in between, but only crate def maps register preludes, not block def maps, and we can't change this because block def map prelude can always be overridden by another block. E.g. ``` fn foo() { struct WithTheSameNameAsPreludeItem; { WithTheSameNameAsPreludeItem } } ``` Here `WithTheSameNameAsPreludeItem` refer to the item from the top block, but if we would register prelude items in each block the child block would overwrite it incorrectly.
2024-10-27Revert "ci update freebsd version proposal, freebsd 12 being eol."David Carlier-19/+19
This reverts commit 1239c81c145d2bfb96f32856f377cd741d5c7256. Fix GH-132185 revert for now until early next year/FreeBSD 13.3 becomes EOL.
2024-10-27Dynamically link run-make supportclubby789-0/+4
2024-10-27fix: Allow public re-export of `extern crate` importShoyu Vanilla-3/+79
2024-10-27Auto merge of #132215 - onur-ozkan:bootstrap-git, r=Kobzolbors-28/+6
simplify force-recompile logic for "library" It’s kind of self-explanatory when looking at it commit by commit.
2024-10-27Merge pull request #18419 from ChayimFriedman2/leading-orLukas Wirth-31/+87
fix: Put leading `|` in patterns under `OrPat`
2024-10-27Put leading `|` in patterns under `OrPat`Chayim Refael Friedman-31/+87
Previously it was one level above, and that caused problems with macros that expand to it, because macros expect to get only one top-level node.
2024-10-27Merge pull request #18410 from Veykril/veykril/push-lvwxpnowqrxkLukas Wirth-50/+59
internal: Invert token iteration order in macro mapping
2024-10-27Invert token iteration order in macro mappingLukas Wirth-15/+23