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
Currently oak/server/rust/oak_abi requires std as the generated protobuf files use std. The rust runtime is intended to be no_std compatible and so needs oak_abi to also be no_std compatible. The options available in approximate order of effort to benefit:
Patch the generated generated protobuf files
Patch the upstream protobuf generator to be no_std compatible
Replace the protobuf files with manual instantiations (at the cost of losing auto-synchronisation for oak abi definitions)
The text was updated successfully, but these errors were encountered:
Another alternative would be to instead define those constants in a .h file, and use rust-bindgen to generate Rust bindings for them (they would look like separate consts rather than actual enums though, which is not great).
Currently
oak/server/rust/oak_abi
requiresstd
as the generated protobuf files usestd
. The rust runtime is intended to beno_std
compatible and so needsoak_abi
to also beno_std
compatible. The options available in approximate order of effort to benefit:no_std
compatibleThe text was updated successfully, but these errors were encountered: