mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-14 05:52:48 +00:00
Bump version 0.2.15
This commit is contained in:
parent
4adc38c726
commit
ce0c02b3bf
9 changed files with 58 additions and 8 deletions
|
@ -5,16 +5,27 @@ rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios x86_6
|
|||
cargo install cbindgen
|
||||
|
||||
echo "Building..."
|
||||
|
||||
echo "cargo build --release --target x86_64-apple-darwin"
|
||||
cargo build --release --target x86_64-apple-darwin
|
||||
|
||||
echo "cargo build --release --target aarch64-apple-darwin"
|
||||
cargo build --release --target aarch64-apple-darwin
|
||||
|
||||
echo "cargo build --release --target aarch64-apple-ios"
|
||||
cargo build --release --target aarch64-apple-ios
|
||||
|
||||
echo "cargo build --release --target x86_64-apple-ios"
|
||||
cargo build --release --target x86_64-apple-ios
|
||||
|
||||
echo "cargo build --release --target x86_64-apple-ios-sim"
|
||||
cargo build --release --target aarch64-apple-ios-sim
|
||||
|
||||
echo "Generating includes..."
|
||||
mkdir -p target/include/
|
||||
rm -rf target/include/*
|
||||
cbindgen --config cbindgen.toml -l C -o target/include/tun2proxy.h
|
||||
cat > target/include/module.modulemap <<EOF
|
||||
cat > target/include/tun2proxy.modulemap <<EOF
|
||||
framework module tun2proxy {
|
||||
umbrella header "tun2proxy.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue