Skip to content

Commit

Permalink
Remove the ffi-headers feature
Browse files Browse the repository at this point in the history
Rely on a separate cbindgen instance instead, which is less self-contained but more practical.
  • Loading branch information
Ortham committed Apr 30, 2024
1 parent 1e9cd3e commit 3b6ccef
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 253 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
# Need to rebuild the FFI wrapper so that its binary is given a filename
# without a hash.
- name: Build FFI wrapper
run: cargo build --manifest-path ffi/Cargo.toml --features ffi-headers
run: |
cargo build --manifest-path ffi/Cargo.toml
cbindgen ffi/ -o ffi/include/esplugin.h
# Use bash because PowerShell doesn't fail if one command fails.
- name: Build and run C++ tests
Expand Down Expand Up @@ -86,7 +88,9 @@ jobs:
# Need to rebuild the FFI wrapper so that its binary is given a filename
# without a hash.
- name: Build FFI wrapper
run: cargo build --manifest-path ffi/Cargo.toml --features ffi-headers
run: |
cargo build --manifest-path ffi/Cargo.toml
cbindgen ffi/ -o ffi/include/esplugin.h
# Use bash because PowerShell doesn't fail if one command fails.
- name: Build and run C++ tests
Expand Down
Loading

0 comments on commit 3b6ccef

Please sign in to comment.