You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implements the message-system core: a statically-verified cross-isolate-transferable
payload contract on Channel.message<T> over the existing channel runtime, holding
VM<->compiled parity. Realizes the "message is the right choice for a solo isolate"
direction. Developed in a git worktree, merged once fully working (full sweep +
clippy green).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
format!("message channel payload `{element}` is not cross-isolate-transferable."),
1482
+
call_span.clone(),
1483
+
"non-transferable message payload",
1484
+
)
1485
+
.with_cause(
1486
+
"A message must be self-contained data with no managed handle, so it can cross an isolate boundary without sharing mutable state. v1 allows Copy scalars, `String`, and `Bytes`.",
1487
+
)
1488
+
.with_fix(
1489
+
"use_transferable_message_payload",
1490
+
format!(
1491
+
"Send a transferable value (a Copy scalar, `String`, or `Bytes`) instead of `{element}`, or use `Channel.bounded` for an in-isolate channel."
0 commit comments