mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-12-08 05:53:51 +00:00
meta: build with Mold linker on x86_64 Linux
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id51e62dda1ec2ba895ffdbbd25c2f1256a6a6964
This commit is contained in:
parent
7683e6dfcf
commit
3ad14a95a6
2 changed files with 12 additions and 4 deletions
|
|
@ -1,27 +1,31 @@
|
|||
{
|
||||
mkShell,
|
||||
cargo,
|
||||
rustc,
|
||||
mold,
|
||||
clang,
|
||||
rust-analyzer-unwrapped,
|
||||
rustfmt,
|
||||
clippy,
|
||||
cargo,
|
||||
taplo,
|
||||
rustc,
|
||||
rustPlatform,
|
||||
gnuplot,
|
||||
}:
|
||||
mkShell {
|
||||
name = "microfetch";
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cargo
|
||||
rustc
|
||||
mold
|
||||
clang
|
||||
|
||||
rust-analyzer-unwrapped
|
||||
(rustfmt.override {asNightly = true;})
|
||||
clippy
|
||||
taplo
|
||||
|
||||
gnuplot # For Criterion.rs plots
|
||||
gnuplot # for Criterion.rs plots
|
||||
];
|
||||
|
||||
env.RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue