This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git
from 1502aae1 fix ref selection in .github/workflows/torch_c_dlpack.yml
(#854)
add 0a3bd9cb [FEAT][RUST] Register the reflection of Rust-defined object
types (#859)
No new revisions were added by this update.
Summary of changes:
docs/guides/rust_lang_guide.md | 39 +++
rust/tvm-ffi-macros/src/lib.rs | 21 +-
rust/tvm-ffi-macros/src/object_macros.rs | 160 ++++++++-
rust/tvm-ffi-sys/src/c_api.rs | 3 +
rust/tvm-ffi/src/lib.rs | 4 +-
rust/tvm-ffi/src/reflection.rs | 5 +
rust/tvm-ffi/src/reflection/registry.rs | 498 +++++++++++++++++++++++++++
rust/tvm-ffi/tests/test_object_reflection.rs | 349 +++++++++++++++++++
8 files changed, 1073 insertions(+), 6 deletions(-)
create mode 100644 rust/tvm-ffi/src/reflection/registry.rs
create mode 100644 rust/tvm-ffi/tests/test_object_reflection.rs