This is an automated email from the ASF dual-hosted git repository.
junrushao pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 9d506ad [OBJECT] Update types slots for baseexpr and primexpr (#6814)
add 883954e [Rust][Diagnostics] Add initial boilerplate for Rust
diagnostic interface. (#6656)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 2 +
cmake/modules/LLVM.cmake | 9 +-
cmake/modules/RustExt.cmake | 43 ++++
include/tvm/parser/source_map.h | 2 -
python/tvm/ir/diagnostics/__init__.py | 1 +
rust/Cargo.toml | 1 +
rust/{tvm-sys => compiler-ext}/Cargo.toml | 20 +-
.../compiler-ext/src/lib.rs | 24 +-
rust/tvm-rt/Cargo.toml | 15 +-
rust/tvm-rt/src/array.rs | 37 ++++
rust/tvm-rt/src/errors.rs | 17 ++
rust/tvm-rt/src/function.rs | 35 +--
rust/tvm-rt/src/object/object_ptr.rs | 14 +-
rust/tvm-rt/src/string.rs | 4 +-
rust/tvm-sys/Cargo.toml | 1 +
rust/tvm-sys/build.rs | 2 +-
rust/tvm-sys/src/packed_func.rs | 1 +
rust/tvm/Cargo.toml | 24 +-
.../test_tvm_dso/build.rs => tvm/src/bin/tyck.rs} | 43 ++--
rust/tvm/src/ir/arith.rs | 2 +-
rust/tvm/src/ir/diagnostics/codespan.rs | 216 ++++++++++++++++++
rust/tvm/src/ir/diagnostics/mod.rs | 245 +++++++++++++++++++++
rust/tvm/src/ir/expr.rs | 2 +-
rust/tvm/src/ir/mod.rs | 2 +
rust/tvm/src/ir/module.rs | 30 ++-
rust/tvm/src/ir/relay/mod.rs | 16 +-
rust/tvm/src/ir/source_map.rs | 57 +++++
rust/tvm/src/ir/span.rs | 87 ++++++--
rust/tvm/src/ir/ty.rs | 2 +-
rust/tvm/src/lib.rs | 27 ++-
rust/tvm/src/transform.rs | 2 +-
.../backtrace.h => src/contrib/rust_extension.cc | 17 +-
src/ir/diagnostic.cc | 5 +
src/parser/source_map.cc | 11 -
34 files changed, 872 insertions(+), 144 deletions(-)
create mode 100644 cmake/modules/RustExt.cmake
copy rust/{tvm-sys => compiler-ext}/Cargo.toml (76%)
copy src/runtime/hexagon/hexagon_posix.cc => rust/compiler-ext/src/lib.rs (68%)
copy rust/{tvm-graph-rt/tests/test_tvm_dso/build.rs => tvm/src/bin/tyck.rs}
(54%)
create mode 100644 rust/tvm/src/ir/diagnostics/codespan.rs
create mode 100644 rust/tvm/src/ir/diagnostics/mod.rs
create mode 100644 rust/tvm/src/ir/source_map.rs
copy apps/bundle_deploy/backtrace.h => src/contrib/rust_extension.cc (80%)