Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(libutil): implement hashing in zig #14

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Conversation

RossComputerGuy
Copy link
Owner

Motivation

Fixes #11
Partial on #13

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@RossComputerGuy RossComputerGuy linked an issue Feb 7, 2025 that may be closed by this pull request
@RossComputerGuy
Copy link
Owner Author

zix-util-tests-run> [----------] 3 tests from BLAKE3HashTest
zix-util-tests-run> [ RUN      ] BLAKE3HashTest.testKnownBLAKE3Hashes1
zix-util-tests-run> nix-util-tests: ../hash.cc:433: std::string_view nix::printHashAlgo(HashAlgorithm): Assertion `false' failed.
zix-util-tests-run> /build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 2:     7 Aborted                 (core dumped) /nix/store/lyd6j7s9dsdrhy6plpb30lfcj3v83wgb-execline-2.9.6.1-bin/bin/exec /nix/store/613xn221y5jbwp9m7vazvyph7hfx13mb-zix-util-tests-0.1.0pre/bin/nix-util-tests

Test fail

@RossComputerGuy RossComputerGuy force-pushed the feat/zig-hash branch 2 times, most recently from 0866d82 to 3503cee Compare February 7, 2025 18:31
@RossComputerGuy RossComputerGuy merged commit 0d87248 into master Feb 7, 2025
9 of 11 checks passed
@RossComputerGuy RossComputerGuy deleted the feat/zig-hash branch February 7, 2025 18:44
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.

Replace openssl with Zig Replace libblake3 with Zig's std.crypto.blake3
1 participant