Skip to content

regression: Context changed sizes #123283

Closed as not planned
Closed as not planned
@Mark-Simulacrum

Description

@Mark-Simulacrum
[INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
[INFO] [stdout]   --> fos/src/fc/future.rs:46:44
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let mut fake_cx = unsafe { std::mem::transmute(&fake_cx) };
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: source type: `&u64` (64 bits)
[INFO] [stdout]    = note: target type: `Context<'_>` (128 bits)

This looks like it was probably always unstable and/or UB, but filing to make sure we dive a bit deeper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libsRelevant to the library team, which will review and decide on the PR/issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions