measureme: fix build with newer Rust

This commit is contained in:
Harinn 2026-05-05 19:00:55 +07:00
commit 2d90fabb67

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
'';