From f010f37e27ed627a6fa03ece4ff1fa5306def7fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:22:49 +0100 Subject: [PATCH] flake.nix: work around missing coverage data due to toolchain mixup Have to redesign the build flow to fix https://github.com/onekey-sec/unblob/pull/682 in a follow-up. --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index f39920b..030f9df 100644 --- a/flake.nix +++ b/flake.nix @@ -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