77 releases (stable)

3.2.0 Sep 20, 2024
3.1.2 May 15, 2024
3.1.0 Apr 30, 2024
3.0.0 Mar 15, 2024
0.1.0-pre.3 Mar 29, 2021

#302 in Development tools

Download history 234/week @ 2024-06-12 208/week @ 2024-06-19 277/week @ 2024-06-26 528/week @ 2024-07-03 224/week @ 2024-07-10 295/week @ 2024-07-17 368/week @ 2024-07-24 517/week @ 2024-07-31 76/week @ 2024-08-07 215/week @ 2024-08-14 341/week @ 2024-08-21 416/week @ 2024-08-28 387/week @ 2024-09-04 194/week @ 2024-09-11 619/week @ 2024-09-18 481/week @ 2024-09-25

1,737 downloads per month

MIT/Apache

58KB
1.5K SLoC

dylint-link

dylint-link is a wrapper around Rust's default linker (cc) to help create Dylint libraries.

When you link a dynamic library with the same name as your package, dylint-link creates a copy of your library with a filename that Dylint recognizes, i.e.:

DLL_PREFIX LIBRARY_NAME '@' TOOLCHAIN DLL_SUFFIX

To use dylint-link, install it:

cargo-install dylint-link

And set it as the linker in your library's .cargo/config.toml file, e.g.:

[target.x86_64-unknown-linux-gnu]
linker = "dylint-link"

If your library uses dylint-link and the dylint_library! macro, then all you should have to do is implement the register_lints function. See the examples in this repository.

Dependencies

~3–11MB
~113K SLoC