Add mutable zero-copy byte arrays #2940
jhugman
requested a review
30 days ago
jhugman
removed review request
30 days ago
jhugman
force pushed
from
2f6dc40b
to
b8699196
30 days ago
jhugman
force pushed
from
703d6517
to
ad72dc53
30 days ago
badboy
approved these changes
on 2026-07-08
jhugman
force pushed
from
ad72dc53
to
8a5293ce
29 days ago
bendk
commented
on 2026-07-08
feat(core): add ForeignBytesMut zero-copy mutable byte view
cb1bff35
feat(meta): add FnParamMetadata.by_mut_ref and bump contract version
a4228bfc
feat(macros): support &mut [u8] args and reject them in async fns
5666affa
feat(bindgen,udl): thread by_mut_ref through codegen and parse [ByMut…
6f845dcf
feat(bindings): generate zero-copy &mut [u8] for Python, Swift, Kotlin
136bd696
test: add &mut [u8] proc-macro and UDL [ByMutRef] mutation tests
6184148b
docs: document &mut [u8] / [ByMutRef] bytes + changelog entries
e47a9376
Add changelog PR
92c71136
jhugman
force pushed
from
8a5293ce
to
92c71136
14 days ago
Remove fixtures/mut-bytes
1a170f39
Fixup tests
549c1c63
fix(parse): detect &mut [u8] args in the Rust source parser
4bc89141
test(parse): cover &mut [u8] in the full_interface snapshot
b78635f8
feat(kotlin-jni): generate zero-copy &mut [u8] lifts
557bcc3e
test(kotlin-jni): cover &mut [u8] mutation in bytes.kts
d5a3f272
feat(python): accept bytes or bytearray for &[u8] args
602208f0
docs(bytes): note caller aliasing rules for borrowed buffers
cca8288d
fix(parse): only flag &mut [u8] as by_mut_ref, not other &mut slices
03380ab2
fix(bindgen): reject async fns with &mut [u8] args in the pipeline
96a8c57b
bendk
requested changes
on 2026-07-30
Address reviewer feedback
c79eef77
Address reviewer doc comments
374ae046
bendk
approved these changes
on 2026-08-04
mhammond
merged
bc6a335e
into main 1 hour ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub