Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,25 @@ jobs:

- name: Run tests
run: ./ci/script.sh
verify_package:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
[
ubuntu-latest,
windows-latest,
macos-15,
macos-15-intel,
ubuntu-24.04-arm,
windows-11-arm,
]
steps:
- uses: actions/checkout@v4

- name: Install Rust
run: |
rustup toolchain install stable
rustup default stable
- name: Verify that the package includes all necessary files
run: cargo +stable package --all-features
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ name = "libfuzzer-sys"
readme = "./README.md"
repository = "https://github.com/rust-fuzz/libfuzzer"
version = "0.4.10"
exclude = [
".github",
"ci",
"libfuzzer/CMakeLists.txt", # no cmake used
"libfuzzer/build.sh", # we use the cc crate for building
"libfuzzer/scripts/unbalanced_allocs.py",
"libfuzzer/standalone/StandaloneFuzzTargetMain.c", # that's the main function, we don't want it
"libfuzzer/tests/CMakeLists.txt",
"rust-toolchain", # downstream crates will ignore it anyway
"update-libfuzzer.sh", # there is no need for downstream crates to execute this script
]

[dependencies]
arbitrary = "1"
Expand Down