Skip to content

Jakub/pac ty disc#2

Draft
jchlanda wants to merge 308 commits into
jakub/pac_configfrom
jakub/pac_ty_disc
Draft

Jakub/pac ty disc#2
jchlanda wants to merge 308 commits into
jakub/pac_configfrom
jakub/pac_ty_disc

Conversation

@jchlanda

@jchlanda jchlanda commented Jul 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

@jchlanda
jchlanda marked this pull request as draft July 6, 2026 10:39
@jchlanda
jchlanda force-pushed the jakub/pac_config branch from 1c82b8f to cf64be8 Compare July 7, 2026 08:05
@jchlanda
jchlanda force-pushed the jakub/pac_ty_disc branch from f8b5f7b to 79d7f97 Compare July 8, 2026 12:12
@jchlanda
jchlanda force-pushed the jakub/pac_config branch 3 times, most recently from 24bde9f to 809c245 Compare July 9, 2026 11:37
@jchlanda
jchlanda force-pushed the jakub/pac_ty_disc branch 6 times, most recently from 5b7b3bd to f3316ab Compare July 9, 2026 14:59
@jchlanda
jchlanda force-pushed the jakub/pac_ty_disc branch from f3316ab to 927c43e Compare July 13, 2026 09:28
Dnreikronos and others added 16 commits July 13, 2026 11:46
Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
The macro is used in expressions, but the arm for eliminating a trailing
comma introduces a semicolon.
```
error: lifetime may not live long enough
  --> $DIR/higher-ranked-return.rs:11:46
   |
LL |           let x = async move |x: &str| -> &str {
   |  ________________________________-________-____^
   | |                                |        |
   | |                                |        let's call the lifetime of this reference `'2`
   | |                                let's call the lifetime of this reference `'1`
LL | |             x
LL | |         };
   | |_________^ returning this value requires that `'1` must outlive `'2`
```

instead of

```
error: lifetime may not live long enough
  --> $DIR/higher-ranked-return.rs:11:46
   |
LL |           let x = async move |x: &str| -> &str {
   |  ________________________________-________----_^
   | |                                |        |
   | |                                |        return type of async closure `{async closure body@$DIR/higher-ranked-return.rs:11:46: 13:10}` contains a lifetime `'2`
   | |                                let's call the lifetime of this reference `'1`
LL | |             x
LL | |         };
   | |_________^ returning this value requires that `'1` must outlive `'2`
```
This optimisation is currently broken on s390x[^1].
It looks like a big-endian issue in general. but as
we only know about the test fails on s390x we only
disable it there.

Should be reenabled when the problem is fixed and llvm
backend is updated.

[^1]: llvm/llvm-project#208712
JonathanBrouwer and others added 29 commits July 16, 2026 21:01
…folkertdev

Add regression tests for two fixed issues

This PR adds two regression tests for two ICE issues that have been identified as fixed and marked with E-needs-test.

Closes rust-lang#148096.
Closes rust-lang#148620.
…etrochenkov

Remove FIXMEs referencing rust-lang#44232

rust-lang#44232 is already closed, since rust-lang#152164 implemented the unused_features lint.

The deleted tests, as currently written, make no sense. Relevant functionality is already tested in:
* `tests/ui/feature-gates/unknown-feature.rs`
* `tests/ui/feature-gates/stable-features.rs`
* `tests/ui/lint/unused-features/unused-language-features.rs`
…r=jieyouxu

make a couple codegen-llvm tests compatible with 2021 edition

previously they failed for simple syntax reasons.
emit `(lldb)` prefix to make commands more distinct

As discussed in rust-lang#158298

r? @Kobzol, @jieyouxu
…-actions, r=jieyouxu

Update actions/checkout action to v7

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://redirect.github.com/actions/checkout) | action | major | `v5` → `v7.0.0` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v7.0.0`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700)

[Compare Source](https://redirect.github.com/actions/checkout/compare/v6.0.3...v7.0.0)

- Block checking out fork PR for pull\_request\_target and workflow\_run by [@&rust-lang#8203;aiqiaoy](https://redirect.github.com/aiqiaoy) in [#&rust-lang#8203;2454](https://redirect.github.com/actions/checkout/pull/2454)
- Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the minor-actions-dependencies group across 1 directory by [@&rust-lang#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&rust-lang#8203;2458](https://redirect.github.com/actions/checkout/pull/2458)
- Bump flatted from 3.3.1 to 3.4.2 by [@&rust-lang#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&rust-lang#8203;2460](https://redirect.github.com/actions/checkout/pull/2460)
- Bump js-yaml from 4.1.0 to 4.2.0 by [@&rust-lang#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&rust-lang#8203;2461](https://redirect.github.com/actions/checkout/pull/2461)
- Bump [@&rust-lang#8203;actions/core](https://redirect.github.com/actions/core) and [@&rust-lang#8203;actions/tool-cache](https://redirect.github.com/actions/tool-cache) and Remove uuid by [@&rust-lang#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&rust-lang#8203;2459](https://redirect.github.com/actions/checkout/pull/2459)
- upgrade module to esm and update dependencies by [@&rust-lang#8203;aiqiaoy](https://redirect.github.com/aiqiaoy) in [#&rust-lang#8203;2463](https://redirect.github.com/actions/checkout/pull/2463)
- Bump the minor-npm-dependencies group across 1 directory with 3 updates by [@&rust-lang#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in [#&rust-lang#8203;2462](https://redirect.github.com/actions/checkout/pull/2462)

### [`v6.0.3`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v603)

[Compare Source](https://redirect.github.com/actions/checkout/compare/v6.0.2...v6.0.3)

- Fix checkout init for SHA-256 repositories by [@&rust-lang#8203;yaananth](https://redirect.github.com/yaananth) in [#&rust-lang#8203;2439](https://redirect.github.com/actions/checkout/pull/2439)
- fix: expand merge commit SHA regex and add SHA-256 test cases by [@&rust-lang#8203;yaananth](https://redirect.github.com/yaananth) in [#&rust-lang#8203;2414](https://redirect.github.com/actions/checkout/pull/2414)

### [`v6.0.2`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v602)

[Compare Source](https://redirect.github.com/actions/checkout/compare/v6.0.1...v6.0.2)

- Fix tag handling: preserve annotations and explicit fetch-tags by [@&rust-lang#8203;ericsciple](https://redirect.github.com/ericsciple) in [#&rust-lang#8203;2356](https://redirect.github.com/actions/checkout/pull/2356)

### [`v6.0.1`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v601)

[Compare Source](https://redirect.github.com/actions/checkout/compare/v6...v6.0.1)

- Add worktree support for persist-credentials includeIf by [@&rust-lang#8203;ericsciple](https://redirect.github.com/ericsciple) in [#&rust-lang#8203;2327](https://redirect.github.com/actions/checkout/pull/2327)

### [`v6.0.0`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v600)

[Compare Source](https://redirect.github.com/actions/checkout/compare/v5.0.1...v6)

- Persist creds to a separate file by [@&rust-lang#8203;ericsciple](https://redirect.github.com/ericsciple) in [#&rust-lang#8203;2286](https://redirect.github.com/actions/checkout/pull/2286)
- Update README to include Node.js 24 support details and requirements by [@&rust-lang#8203;salmanmkc](https://redirect.github.com/salmanmkc) in [#&rust-lang#8203;2248](https://redirect.github.com/actions/checkout/pull/2248)

### [`v5.0.1`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v501)

[Compare Source](https://redirect.github.com/actions/checkout/compare/v5...v5.0.1)

- Port v6 cleanup to v5 by [@&rust-lang#8203;ericsciple](https://redirect.github.com/ericsciple) in [#&rust-lang#8203;2301](https://redirect.github.com/actions/checkout/pull/2301)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/rust-lang/rust).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjUuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI2NS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
…nathanBrouwer

Rollup of 18 pull requests

Successful merges:

 - rust-lang#150679 (dirfd file operations (2/4))
 - rust-lang#158758 (Rename `lazy_type_alias` feature gate to `checked_type_aliases` )
 - rust-lang#159177 (Explicitly materialize debuginfo tests for all debuggers)
 - rust-lang#159392 (Update Rust crate rand to v0.9.3 [SECURITY])
 - rust-lang#159393 (Update Rust crate rkyv to v0.8.16 [SECURITY])
 - rust-lang#159394 (Update Rust crate tar to v0.4.46 [SECURITY])
 - rust-lang#159395 (Update Rust crate tracing-subscriber [SECURITY])
 - rust-lang#159193 (Port compiletest's CLI to clap)
 - rust-lang#158992 (Shorten types more when only interesting part is lifetimes)
 - rust-lang#159226 (Track extra_lifetime_params_map per-owner)
 - rust-lang#159273 (tidy: document u64 limit for numeric sort keys)
 - rust-lang#159322 (Fix safety doc in intrinsics::simd)
 - rust-lang#159329 (Fix the stale metrics directory warning)
 - rust-lang#159357 (Add regression tests for two fixed issues)
 - rust-lang#159360 (Remove FIXMEs referencing rust-lang#44232)
 - rust-lang#159375 (make a couple codegen-llvm tests compatible with 2021 edition)
 - rust-lang#159381 (emit `(lldb)` prefix to make commands more distinct)
 - rust-lang#159396 (Update actions/checkout action to v7)
…r=WaffleLapkin

interpret: properly check for inhabitedness of nested references



This implements the opsem from the ongoing FCP in rust-lang/unsafe-code-guidelines#413. The bit we were previously missing is that transmuting a `&&!`  into existence was not caught as being immediate UB -- only the `&!` case behaved as expected.

I did not adjust the layout computation because when we compute the layout of `&T`, we cannot know the layout of `T` (as that might be recursive).

r? @oli-obk
Alongside Rust implementation of LLVM's SipHash-2-4.
This is only to be used when emitting an operand bundle, which might not
have access to an Instance of the function, but for which FnAbi is
guaranteed to be correct.
Start moving away from global schema, by cloning it into users.
Helpers for fn ptr type discrimination status and value of the key.
This is a move away from a blind bitcast between the types. Now, when
dealing with function pointers, transmute will detect a domain change
(change of fn ptr type) and issue resigning.
As the libc changes was merged in to the main we do not need to patch
it. cc-rs still needs to be patched as compiler/rustc_llvm/Cargo.toml
still pins to an old version: cc = "=1.2.16"
@jchlanda
jchlanda force-pushed the jakub/pac_ty_disc branch from c224581 to cff5996 Compare July 17, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.