Skip to content

Commit 400fe34

Browse files
authored
android/mlc4j: fix FFI include (traceback -> backtrace) (#3355)
The Android mlc4j build fails because tvm-ffi renamed `traceback.cc` to `backtrace.cc`. Replace the stale include with <ffi/backtrace.cc>. This is the minimal change to restore build without touching other code. (Using a .cc file in headers is generally discouraged, but this keeps the current structure intact and unblocks builds.) - Change: #include <ffi/traceback.cc> -> #include <ffi/backtrace.cc> - Scope: android/mlc4j/src/cpp/tvm_runtime.h - Verified: local Android build succeeds
1 parent 1746930 commit 400fe34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/mlc4j/src/cpp/tvm_runtime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <ffi/extra/module.cc>
1818
#include <ffi/function.cc>
1919
#include <ffi/object.cc>
20-
#include <ffi/traceback.cc>
20+
#include <ffi/backtrace.cc>
2121
#include <runtime/cpu_device_api.cc>
2222
#include <runtime/device_api.cc>
2323
#include <runtime/file_utils.cc>

0 commit comments

Comments
 (0)