https://github.com/bytecodealliance/wit-bindgen/issues/769
tldr: fn write(&self, contents: &[u8]) ...
by default instead of Vec<u8>
I think that makes sense yeah, and while the logic for figuring out what ownership is pretty hairy already this is pretty targeted and I think will fit well
Should string
params get the same treatment (String
-> &str
)?
Last updated: Nov 22 2024 at 16:03 UTC