Make cxx binding generate less code

This commit is contained in:
topjohnwu
2025-08-29 01:44:06 -07:00
parent d472e9c36e
commit 653730d75e
7 changed files with 12 additions and 7 deletions

View File

@@ -7,7 +7,6 @@ LOCAL_MODULE := libbase
LOCAL_C_INCLUDES := \
src/include \
$(LOCAL_PATH)/include \
src/external/cxx-rs/include \
out/generated
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_EXPORT_STATIC_LIBRARIES := libcxx

View File

@@ -0,0 +1 @@
../../../external/cxx-rs/include/cxx.h

View File

@@ -5,7 +5,7 @@
#include <functional>
#include <string_view>
#include <bitset>
#include <cxx.h>
#include <rust/cxx.h>
#include "xwrap.hpp"