This is an automated email from the ASF dual-hosted git repository.
jroesch pushed a change to branch rust-tvm
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from a44a379 Refactor anyhow out of the rt layer
new fc6fac2 Reworking errors and proc macros
new 62b6d1ba Convert external macro to procmacro
new 0c55c39 Finish removing anyhow and work with new external! macro
new caa6904 All tests pass
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
rust/macros/src/external.rs | 163 +++++++++++++++++++++++++++++++++++
rust/macros/src/lib.rs | 8 ++
rust/macros/src/object.rs | 58 ++++++-------
rust/macros/src/util.rs | 11 +++
rust/tvm-rt/Cargo.toml | 4 +-
rust/tvm-rt/src/context.rs | 17 ++--
rust/tvm-rt/src/errors.rs | 21 +++--
rust/tvm-rt/src/function.rs | 64 +++++---------
rust/tvm-rt/src/lib.rs | 8 +-
rust/tvm-rt/src/module.rs | 31 ++++---
rust/tvm-rt/src/ndarray.rs | 25 +++---
rust/tvm-rt/src/object/mod.rs | 14 +--
rust/tvm-rt/src/object/object_ptr.rs | 2 +-
rust/tvm-rt/src/string.rs | 5 +-
rust/tvm-rt/src/to_boxed_fn.rs | 21 ++---
rust/tvm-rt/src/to_function.rs | 30 +++----
rust/tvm-rt/src/value.rs | 6 +-
rust/tvm/src/ir/array.rs | 5 +-
rust/tvm/src/lib.rs | 9 +-
19 files changed, 334 insertions(+), 168 deletions(-)
create mode 100644 rust/macros/src/external.rs
create mode 100644 rust/macros/src/util.rs