-
Notifications
You must be signed in to change notification settings - Fork 14
CI and fixes #6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CI and fixes #6
Conversation
Thank you very much for this PR @njelich ! My personal opinion is that this project shoudn't require a rust-toolchain.toml and eat-up gigabytes of rust binaries just to start building, even if that means that sometimes it breaks when the latest nightly breaks. I like the CI/CD integration though, I'll enable the feature for the repo. I'll ask for some more feedback in my team and come back to you. |
rustup target add wasm32-unknown-unknown | ||
- name: Build fuzzer | ||
run: | | ||
cargo afl config --build --force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work in GitHub Actions. You can use these flags instead:
- uses: actions/checkout@v3 | ||
- name: Setup dependencies | ||
run: | | ||
cargo install ziggy cargo-afl honggfuzz grcov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for grcov
in this situation.
Fixed in #9 |
The stdsimd unstable feature was removed from rust, some packages updated with that in mind. Many are broken.
rust-lang/rust#48556
I am adding a CI to catch issues in the future, as well as a rust-toolchain.toml file to lock the toolchain to a good version in the future.
With the current toolchain setup, all thats left for everything to get back into working order is for Ahash to accept a patch for an older version that is still used by some dependencies of this project.
tkaitchuck/aHash#201