Skip to content

Commit

Permalink
cargo-bolero: 0.9.0 → 0.11.2
Browse files Browse the repository at this point in the history
Thanks to newly introduced `random` engine, it is possible to use it
on rustc from Nixpkgs with `--sanitizer NONE --engine random`.
Other engines do not work because of https://www.github.com/camshaft/bolero/issues/79.
Honggfuzz is still disabled by default, and it got broken by binutils bump anyway
https://www.github.com/camshaft/bolero/issues/233.

- 0.10.0:
  camshaft/bolero@v0.9.0...36d41b8
- 0.11.0:
  camshaft/bolero@36d41b8...be95281
- 0.11.1:
  https://www.github.com/camshaft/bolero/pull/230
  camshaft/bolero@be95281...004acbf
- 0.11.2:
  camshaft/bolero@004acbf...b2f578f

Also add update script.
  • Loading branch information
jtojnar committed Jun 12, 2024
1 parent c7b821b commit 71efa22
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/development/tools/rust/cargo-bolero/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
{ lib, rustPlatform, fetchCrate, libbfd, libopcodes, libunwind }:
{ lib, rustPlatform, fetchCrate, libbfd, libopcodes, libunwind, nix-update-script }:

rustPlatform.buildRustPackage rec {
pname = "cargo-bolero";
version = "0.9.0";
version = "0.11.2";

src = fetchCrate {
inherit pname version;
sha256 = "sha256-BuqbM55P/st+4XUSCwrqILUUCfwvSlxhKQFO+IZLa8U=";
sha256 = "sha256-Xcu91CbIDBLSojWQJjvdFWJiqjMteAxF105lemCAipk=";
};

cargoSha256 = "sha256-+TxMOKoId13meXqmr1QjDZMNqBnPEDQF1VSPheq8Ji0=";
cargoSha256 = "sha256-QLtf42Il+XHWeaUdh8jNNWU1sXaVe82sYOKiHLoXw2M=";

buildInputs = [ libbfd libopcodes libunwind ];

passthru = {
updateScript = nix-update-script { };
};

meta = with lib; {
description = "Fuzzing and property testing front-end framework for Rust";
mainProgram = "cargo-bolero";
Expand Down

0 comments on commit 71efa22

Please sign in to comment.