Lukas Wirth
cabb08ded5
Fix sysroot crate-graph construction not mapping crate-ids for proc-macros
2025-02-27 13:20:19 +01:00
Laurențiu Nicola
d4b92f4b68
Merge pull request #19230 from lnicola/zig
...
internal: set up Zig on CI and start using it in rust-analyzer
2025-02-27 11:34:41 +00:00
Lukas Wirth
e162475e7c
Merge pull request #19096 from darichey/rust-project-sysroot
...
Allow rust-project.json to specify sysroot workspace
2025-02-27 11:22:41 +00:00
Laurențiu Nicola
230ce20d56
Merge pull request #19239 from LuuuXXX/add-support-for-ohos
...
Cofigurate out ohos target to avoid compilation crashes
2025-02-27 10:19:23 +00:00
LuuuXXX
dae664d09a
Cofigurate out ohos target to avoid compilation crashes
2025-02-27 11:43:03 +08:00
David Richey
5109c0b9e4
Drop support for stitched sysroot
2025-02-26 14:18:52 -06:00
David Richey
faaba55be1
Allow rust-project.json to specify sysroot workspace
2025-02-26 14:18:48 -06:00
Laurențiu Nicola
444ce09d53
Merge pull request #19220 from Shourya742/2025-02-24-nit-setup-doc
...
doc: remove nit from setup.md
2025-02-26 15:31:24 +00:00
Laurențiu Nicola
fae88f2ab5
Use cargo zigbuild for releases
2025-02-26 14:16:09 +02:00
Lukas Wirth
aa32933982
Merge pull request #19225 from Giga-Bowser/remove-assists
...
internal: Migrate some low-hanging `remove_*` assists to `SyntaxEditor`
2025-02-26 11:54:31 +00:00
Chayim Refael Friedman
3b4e268d81
Merge pull request #19204 from kazatsuyu/allow-package-specific-feature
...
Allow "package/feature" format feature flag
2025-02-26 06:01:12 +00:00
Giga Bowser
6e6e7e9669
internal: Migrate remove_unused_param assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
1d5f831ffc
fix: Properly handle removals in SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
8036e841b0
internal: Migrate remove_parentheses assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
cac5153961
internal: Migrate remove_mut assist to SyntaxEditor
2025-02-25 11:52:13 -05:00
Giga Bowser
f7adafc7a3
internal: Improve reporting of intersecting changes
2025-02-25 11:46:45 -05:00
Lukas Wirth
16402de527
Merge pull request #19223 from ChayimFriedman2/implied-target-feature
...
fix: Support target features implications in target_feature 1.1
2025-02-25 08:02:50 +00:00
Chayim Refael Friedman
5c654dcb46
Disable typos checker for the target feature names
2025-02-25 05:02:17 +02:00
Chayim Refael Friedman
d5a85af7c0
Support target features implications in target_feature 1.1
...
We vendor the list of implications, which isn't nice, but t-compiler doesn't want to make rustc_target available to us.
2025-02-25 04:50:26 +02:00
bit-aloo
91ff4208d1
doc: remove nit from setup.md
2025-02-25 07:37:16 +05:30
Laurențiu Nicola
e6bb047627
Merge pull request #19221 from Giga-Bowser/generate-trait-impl-tabstop
...
minor: Add tabstop to impl body in `generate_trait_impl` assist
2025-02-24 19:15:53 +00:00
Giga Bowser
1ff2593da9
minor: Add tabstop to impl body in generate_trait_impl assist
2025-02-24 13:58:34 -05:00
Lukas Wirth
a9dbd4988b
Merge pull request #19171 from ShoyuVanilla/migrate-de-morgan-assist
...
internal: Migrate `apply_demorgan` to `SyntaxEditor`
2025-02-24 13:57:56 +00:00
Lukas Wirth
32e404937f
Merge pull request #18987 from ChayimFriedman2/drop-glue
...
feat: Calculate drop glue and show it on hover
2025-02-24 13:52:17 +00:00
Shoyu Vanilla
1c2225be63
Add take() method to SyntaxEditor
2025-02-24 22:42:57 +09:00
Shoyu Vanilla
756f2131e0
Migrate apply_demorgan to SyntaxEditor
2025-02-24 22:41:53 +09:00
Shoyu Vanilla
67a99a36a6
Migrate some leftovers in add_missing_match_arms
2025-02-24 22:41:52 +09:00
Lukas Wirth
18c6f22dc5
Merge pull request #19219 from Veykril/push-rvosplwpwqqt
...
Vendor `always-assert` into `stdx`
2025-02-24 13:15:39 +00:00
Lukas Wirth
6e2abbfcc3
Merge pull request #19211 from Timmmm/user/timh/import_private
...
Include private items in completions for local crates
2025-02-24 13:13:31 +00:00
Lukas Wirth
49116c6fdc
Merge pull request #19197 from andylokandy/insta
...
feat: update insta inline snapshot when clicking 'Update Test' runnable
2025-02-24 13:11:45 +00:00
Lukas Wirth
a4bd32cf91
Merge pull request #19218 from Veykril/push-vqsronpuvrnx
...
Disable incremental on release builds
2025-02-24 13:08:20 +00:00
Lukas Wirth
d761f9b682
Vendor always-assert
2025-02-24 14:00:34 +01:00
Lukas Wirth
7bba76eccc
Disable incremental on release builds
2025-02-24 13:52:46 +01:00
Laurențiu Nicola
af83f2fd37
Merge pull request #19217 from lnicola/event-name
...
Fix `event_name` check is workflows
2025-02-24 12:41:58 +00:00
Laurențiu Nicola
dac3460429
Merge pull request #19216 from lnicola/ubuntu-22.04
...
internal: Downgrade to ubuntu-22.04 for aarch64 and arm builds
2025-02-24 12:27:45 +00:00
Laurențiu Nicola
5397431162
Fix event_name check in workflows
2025-02-24 14:27:11 +02:00
Laurențiu Nicola
e2a773123f
Downgrade to ubuntu-22.04 for aarch64-unknown-linux-gnu and arm-unknown-linux-gnueabihf builds
2025-02-24 14:11:12 +02:00
Laurențiu Nicola
6d9b9c1363
Merge pull request #19212 from lnicola/sync-from-rust
...
minor: sync from downstream
2025-02-24 08:45:06 +00:00
Laurențiu Nicola
a2bd5a5ed3
Update assist docs
2025-02-24 10:28:52 +02:00
Laurențiu Nicola
1375df2fba
Format code
2025-02-24 10:28:46 +02:00
Laurențiu Nicola
df39a77534
Add rustc_hashes and bump the others
2025-02-24 10:10:51 +02:00
Laurențiu Nicola
36e41b57e9
Merge from rust-lang/rust
2025-02-24 09:42:57 +02:00
Laurențiu Nicola
386d7a5d0a
Preparing for merge from rust-lang/rust
2025-02-24 09:42:28 +02:00
bors
e0be1a0262
Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcm
...
Emit getelementptr inbounds nuw for pointer::add()
Lower pointer::add (via intrinsic::offset with unsigned offset) to getelementptr inbounds nuw on LLVM versions that support it. This lets LLVM make use of the pre-condition that the offset addition does not wrap in an unsigned sense. Together with inbounds, this also implies that the offset is non-negative.
Fixes https://github.com/rust-lang/rust/issues/137217 .
2025-02-24 03:06:16 +00:00
bors
9af8985e05
Auto merge of #137497 - tgross35:rollup-1oeclrr, r=tgross35
...
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-23 23:49:11 +00:00
bors
f8a913b138
Auto merge of #137476 - onur-ozkan:137469, r=jieyouxu
...
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-23 20:32:32 +00:00
Trevor Gross
18ffee2126
Rollup merge of #137483 - bend-n: 😅 , r=Noratrieb
...
rename sub_ptr to offset_from_unsigned
i also made `byte_sub_ptr` `byte_offset_from_unsigned`
fixes #137121
tracking issue #95892
2025-02-23 14:30:28 -05:00
Trevor Gross
e8342e7d42
Rollup merge of #137452 - 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-23 14:30:28 -05:00
Trevor Gross
781203dd87
Rollup merge of #137451 - compiler-errors:synm, r=Noratrieb
...
FIx `sym` -> `syn` typo in tail-expr-drop-order type opt-out
The #131326 PR attempts to reduce some false positives for the `tail_expr_drop_order` lint by hard-coding some common ecosystem crate names. Specifically, I believe it attempts to opt out the drop impls from `syn` which only exist as optimizations.
However, this was typo'd like "sym", which is a crate that has been [yanked](https://crates.io/crates/sym ) (lol). This PR fixes that.
cc `@dingxiangfei2009` `@nikomatsakis` -- did I mistake this? Was this meant to be a different crate?
`@bors` rollup
2025-02-23 14:30:27 -05:00
Trevor Gross
fb54acd700
Rollup merge of #137297 - tgross35:update-builtins, r=tgross35
...
Update `compiler-builtins` to 0.1.147
Removes an ABI hack that used `<2 x i64>` to return `i128` in `xmm0` on Windows [1].
[1]: https://github.com/rust-lang/compiler-builtins/pull/759
Link: https://github.com/rust-lang/rust/issues/116558
Link: https://github.com/rust-lang/compiler-builtins/issues/758
try-job: x86_64-mingw-1
try-job: x86_64-mingw-2
2025-02-23 14:30:27 -05:00