This commit is contained in:
ssrlive 2024-05-23 21:27:42 +08:00
parent e6360d83a7
commit d062b1b66a
5 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ cargo build --target aarch64-apple-ios
echo "Generating includes..."
mkdir -p target/include/
rm -rf target/include/*
cbindgen --config cbindgen.toml -l C -o target/include/tun2proxy.h
cbindgen --config cbindgen.toml -l C --cpp-compat -o target/include/tun2proxy.h
cat > target/include/tun2proxy.modulemap <<EOF
framework module tun2proxy {
umbrella header "tun2proxy.h"