Seven-Streams opened a new pull request, #630: URL: https://github.com/apache/tvm-ffi/pull/630
The PR is based on #609. ## Summary This PR introduces a new struct `tvm_ffi::optional` in Rust that mirrors the memory layer between the C++ and Rust sides. This struct shares the same memory as the `ffi::optional`, and all the methods(including `getter` and `setter`) will be forwarded to the cpp side. Since there are 3 specializations of `ffi::optional`, this is a simple way to keep the mirrored memory layer for the stubgened structs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
