Skip to content

Conversation

@njelich
Copy link

@njelich njelich commented Feb 7, 2024

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

@njelich njelich changed the title Create ci.yml CI and fixes Feb 7, 2024
@louismerlin
Copy link
Collaborator

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
Copy link
Collaborator

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:

https://github.com/srlabs/ziggy/blob/0496f1e5adfd29d912c50a1943650f3c11f44da6/tests/url_fuzz.rs#L67-L68

- uses: actions/checkout@v3
- name: Setup dependencies
run: |
cargo install ziggy cargo-afl honggfuzz grcov
Copy link
Collaborator

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.

@louismerlin
Copy link
Collaborator

Fixed in #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants