-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Hey,
The project is awesome and really helped me out in a pinch when I needed to write a quick and dirty lint.
After abandoning my quick lint and coming back to give it some much needed love I came across this issue:
Based on the documentation I wasn't able how to figure out how to update an existing dylint lint.
My steps to reproduce are probably pretty vague since I originally wrote the lint a couple months ago..
Steps I did:
-
Create a new lint using dylint new ..
-
Edit
-
Use a bunch
-
Update toolchains
-
Use a bunch
-
Edit
-
cargo build
-
-> lint doesn't update, uses old description and way of operating (the old .so)
-
run cargo clean
-
library not found
-
cargo build
-
library not found
-
cargo dylint --lib-path path/to/release/lint.so
-
invalid filename, does not respect the format
At this point I'm expecting there to be a magic trick how to re-register a dylint lint without needing to run cargo dylint new
NOTE: I have a rust-toolchain.toml
Link to project: https://github.com/newcomertv/parameter-prefix-dylint-rs