measureme: fix build with newer Rust

This commit is contained in:
Harinn
2026-05-05 19:01:34 +07:00
parent 716f450177
commit 2d90fabb67
+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
'';