Fix building of lints
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
4e968aaea0
commit
bf589f7d28
3 changed files with 6 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -221,6 +221,7 @@ dependencies = [
|
||||||
"clippy_utils",
|
"clippy_utils",
|
||||||
"dylint_linting",
|
"dylint_linting",
|
||||||
"dylint_testing",
|
"dylint_testing",
|
||||||
|
"hakari",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,10 @@
|
||||||
pname = "dashmap-ref";
|
pname = "dashmap-ref";
|
||||||
cargoExtraArgs = "-p dashmap-ref";
|
cargoExtraArgs = "-p dashmap-ref";
|
||||||
src = fileSetForCrate ./lints/dashmap-ref;
|
src = fileSetForCrate ./lints/dashmap-ref;
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
mv $out/lib/libdashmap_ref{.so,@$RUSTUP_TOOLCHAIN.so}
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ crate-type = ["cdylib"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "19e305bb57a7595f2a8d81f521c0dd8bf854e739" }
|
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "19e305bb57a7595f2a8d81f521c0dd8bf854e739" }
|
||||||
dylint_linting = "4.0.0"
|
dylint_linting = "4.0.0"
|
||||||
|
hakari = { version = "0.1", path = "../../hakari" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
dylint_testing = "4.0.0"
|
dylint_testing = "4.0.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue