Skip to content

Commit

Permalink
flake.nix: work around missing coverage data due to toolchain mixup
Browse files Browse the repository at this point in the history
Have to redesign the build flow to fix
onekey-sec/unblob#682 in a follow-up.
  • Loading branch information
vlaci committed Dec 13, 2023
1 parent 3bfb563 commit f010f37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
};
preConfigure = (super.preConfigure or "") + ''
source <(cargo llvm-cov show-env --export-prefix)
export RUSTFLAGS="-C target-feature=-crt-static -C instrument-coverage -C llvm-args=--instrprof-atomic-counter-update-all --cfg=coverage --cfg=coverage_nightly --cfg=trybuild_no_target"
'';
});
in
Expand Down

0 comments on commit f010f37

Please sign in to comment.