xous-core/services/ime-plugin-api
bunnie d5d8e0ee86 TIL you can't return variable-length strings in an rkyv
rkyv does some optimization to not send all the data in
a string if you don't use it up.

xous assumes the same "pos" argument on the return type

thus a variable length string doesn't work as a return type
(you can send it, because you can specify a "pos" on the send
side).

fortunately, the application for the variable-length string
was getting predictions out of the predictor, and a short (31 element)
fixed-length array with a side companion of a len variable
should be more than sufficient for completion suggestions.
2021-03-08 04:25:58 +08:00
..
src TIL you can't return variable-length strings in an rkyv 2021-03-08 04:25:58 +08:00
Cargo.toml tighten up APIs, implement a very 0th-order input loop 2021-03-04 19:02:56 +08:00