diff --git a/pkgs/development/tools/rust/cargo-show-asm/test-basic-x86_64.nix b/pkgs/development/tools/rust/cargo-show-asm/test-basic-x86_64.nix index c0dd8b421b0a5..ca1738f02185e 100644 --- a/pkgs/development/tools/rust/cargo-show-asm/test-basic-x86_64.nix +++ b/pkgs/development/tools/rust/cargo-show-asm/test-basic-x86_64.nix @@ -9,7 +9,7 @@ name = "add" version = "0.0.0" EOF cat >src/lib.rs < u32 { a + b } +#[inline(never)] pub fn add(a: u32, b: u32) -> u32 { a + b } EOF [[ "$(cargo asm add::add | tee /dev/stderr)" == *"lea eax, "* ]]