fastcrw: compile tests in debug mode (#560122)

This commit is contained in:
Yt
2026-09-05 09:36:17 +00:00
committed by GitHub

View File

@@ -36,6 +36,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoTestFlags = [ "--no-fail-fast" ];
# Optimizing test binaries with fat LTO takes over 100 minutes on Hydra,
# while the tests themselves finish in about two minutes.
checkType = "debug";
checkFlags = [
# Dial a blackhole address to assert the error is a connect-phase timeout;
# the sandbox has no route at all, so it fails fast as "network unreachable".