measureme: fix build with newer Rust (#516836)

This commit is contained in:
Peder Bergebakken Sundt
2026-05-05 21:21:23 +00:00
committed by GitHub
+3
View File
@@ -17,6 +17,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoLock.lockFile = ./Cargo.lock;
# __cpuid is safe in newer Rust; suppress lint until upstream fixes it
env.RUSTFLAGS = "-A unused-unsafe";
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';