google / google/zerocopy

`transmute!`: Support generic types by deferring size equality check to PME

Open
#3,610 0 comments 0 reactions 0 assignees View on GitHub
customer-request
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

Context: [this](https://lore.kernel.org/rust-for-linux/20260901-typed_register-v4-2-5552b1d59525@garyguo.net/) Rust for Linux thread.

See also: https://github.com/rust-lang/rfcs/pull/3844

Contributor guide

Open the contributing guide

Research direction

Start with the linked Rust for Linux thread and RFC 3844 to understand the proposed generic `transmute!` behavior and PME requirements. Define what it means for the size equality check to be deferred, then verify that generic types are supported without breaking existing `transmute!` behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.