Latest Results
fix(plugin): make raw byte reconstruction unsafe (#12089)
**Description:**
Makes `PluginSerializedBytes::from_raw_ptr` an unsafe public function
with a precise safety contract, and removes the clippy suppression that
hid its raw-pointer dereference. Audits every wasm hygiene,
host-allocation proxy, and procedural-macro caller with narrow unsafe
blocks and ABI-specific safety justification. Also adds positive
raw-buffer coverage and a compile-fail API test.
Validated the affected crates, plugin feature and wasm compilation
paths, the full plugin backend integration suite, formatting, and
workspace clippy with warnings denied.
**BREAKING CHANGE:**
`PluginSerializedBytes::from_raw_ptr` and the
`plugin_transform`-generated `__transform_plugin_process_impl` entry
point are now unsafe. Direct callers must use an unsafe block and uphold
the documented pointer, length, initialization, alignment, and lifetime
requirements.
**Related issue (if exists):**
Closes #11988
---------
Co-authored-by: Labor0 Bot <279936132+labor0-bot[bot]@users.noreply.github.com>
Co-authored-by: Donny/강동윤 <kdy.1997.dev@gmail.com> Latest Branches
+2%
fix/plugin-serialized-bytes-unsafe 0%
fix/12081-unwrap-mut-lifetime 0%
fix/flow-component-type-semantics © 2026 CodSpeed Technology