Allow to easily check the generated assembly
This commit is contained in:
parent
345914c97a
commit
6674696505
3 changed files with 7 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
inherit system;
|
||||
overlays = [ (import rust-overlay) ];
|
||||
};
|
||||
rust = pkgs.rust-bin.stable.latest.default;
|
||||
rust = pkgs.rust-bin.stable.latest.default.override { extensions = [ "rust-src" ]; };
|
||||
naersk' = pkgs.callPackage naersk {
|
||||
cargo = rust;
|
||||
rustc = rust;
|
||||
|
|
@ -38,6 +38,7 @@
|
|||
++ (with pkgs; [
|
||||
hyperfine
|
||||
cargo-flamegraph
|
||||
cargo-show-asm
|
||||
]);
|
||||
RUST_PATH = "${rust}";
|
||||
RUST_DOC_PATH = "${rust}/share/doc/rust/html/std/index.html";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue