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

@ -63,7 +63,7 @@ jobs:
else
cargo build --all-features --release --target ${{ matrix.target }}
fi
cbindgen --config cbindgen.toml -l C -o target/tun2proxy-ffi.h
cbindgen --config cbindgen.toml -l C --cpp-compat -o target/tun2proxy-ffi.h
if [[ "${{ matrix.host_os }}" == "windows-latest" ]]; then
powershell -Command "(Get-Item README.md).LastWriteTime = Get-Date"
powershell -Command "(Get-Item target/${{ matrix.target }}/release/wintun.dll).LastWriteTime = Get-Date"