mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-14 22:12:47 +00:00
cbindgen issues
This commit is contained in:
parent
7314906841
commit
ee4df8f97b
6 changed files with 12 additions and 8 deletions
|
@ -10,7 +10,7 @@ cargo build --target aarch64-apple-ios --features mimalloc
|
|||
echo "Generating includes..."
|
||||
mkdir -p target/include/
|
||||
rm -rf target/include/*
|
||||
cbindgen --config cbindgen.toml -l C --cpp-compat -o target/include/tun2proxy.h
|
||||
cbindgen --config cbindgen.toml -o target/include/tun2proxy.h
|
||||
cat > target/include/tun2proxy.modulemap <<EOF
|
||||
framework module tun2proxy {
|
||||
umbrella header "tun2proxy.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue