Fix building of lints

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2025-03-04 12:22:12 +01:00
parent 4e968aaea0
commit bf589f7d28
3 changed files with 6 additions and 0 deletions

1
Cargo.lock generated
View file

@ -221,6 +221,7 @@ dependencies = [
"clippy_utils",
"dylint_linting",
"dylint_testing",
"hakari",
]
[[package]]

View file

@ -84,6 +84,10 @@
pname = "dashmap-ref";
cargoExtraArgs = "-p dashmap-ref";
src = fileSetForCrate ./lints/dashmap-ref;
postFixup = ''
mv $out/lib/libdashmap_ref{.so,@$RUSTUP_TOOLCHAIN.so}
'';
}
);

View file

@ -10,6 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "19e305bb57a7595f2a8d81f521c0dd8bf854e739" }
dylint_linting = "4.0.0"
hakari = { version = "0.1", path = "../../hakari" }
[dev-dependencies]
dylint_testing = "4.0.0"