Skip to content

Commit c201a42

Browse files
committed
Add CXX child crate
This adds CXX FFI for the dcSCTP rust library to integrate it into a C++ application.
1 parent 7a8e2bb commit c201a42

File tree

12 files changed

+510
-0
lines changed

12 files changed

+510
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,15 @@ jobs:
7272
env:
7373
RUSTDOCFLAGS: "--deny warnings"
7474
run: cargo doc --no-deps --all-features --document-private-items
75+
76+
build-cxx:
77+
name: cxx (build)
78+
runs-on: ubuntu-latest
79+
steps:
80+
- uses: actions/checkout@v4
81+
- name: Install Rust
82+
uses: dtolnay/rust-toolchain@stable
83+
- name: Build and sanity test
84+
run: |
85+
cd dcsctp-cxx/
86+
make clean all run

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
/dcsctp-cxx/examples/main
12
/fuzz/artifacts/
23
/fuzz/corpus/
34
/fuzz/coverage/
45
/fuzz/target/
56
/target/
7+
*.o

0 commit comments

Comments
 (0)