diff --git a/.github/workflows/mips-unknown-linux-gnu.yml b/.github/workflows/mips-unknown-linux-gnu.yml index d2a2fef..be5cae2 100644 --- a/.github/workflows/mips-unknown-linux-gnu.yml +++ b/.github/workflows/mips-unknown-linux-gnu.yml @@ -32,7 +32,7 @@ jobs: shell: bash run: | ./.github/workflows/mips-unknown-linux-gnu.sh - cbindgen -c cbindgen.toml -l C --cpp-compat -o ./overtls.h + cbindgen -c cbindgen.toml -o ./overtls.h zip -j release/overtls-${{ matrix.target }}.zip target/${{ matrix.target }}/release/overtls-bin ./config.json ./overtls.h target/${{ matrix.target }}/release/libovertls.so - name: Upload diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a56bdd0..9b38a47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,7 +84,7 @@ jobs: fi fi - cbindgen -c cbindgen.toml -l C --cpp-compat -o ./overtls.h + cbindgen -c cbindgen.toml -o ./overtls.h if [[ "${{ matrix.host_os }}" == "windows-latest" ]]; then powershell Compress-Archive -Path target/${{ matrix.target }}/release/overtls-bin.exe, ./config.json, ./overtls.h, target/${{ matrix.target }}/release/overtls.dll -DestinationPath release/overtls-${{ matrix.target }}.zip elif [[ "${{ matrix.host_os }}" == "macos-latest" ]]; then diff --git a/build-aarch64-apple-ios-debug.sh b/build-aarch64-apple-ios-debug.sh index 51cbcb0..76d49fe 100755 --- a/build-aarch64-apple-ios-debug.sh +++ b/build-aarch64-apple-ios-debug.sh @@ -17,7 +17,7 @@ cargo build --target aarch64-apple-ios echo "Generating includes..." mkdir -p target/include/ rm -rf target/include/* -cbindgen --config cbindgen.toml -l C --cpp-compat -o target/include/overtls.h +cbindgen --config cbindgen.toml -o target/include/overtls.h cat > target/include/overtls.modulemap < target/include/overtls.modulemap < target/include/overtls.modulemap <