86 releases (stable)

4.1.0 Mar 24, 2025
4.0.0 Feb 21, 2025
3.5.1 Feb 12, 2025
3.3.0 Dec 18, 2024
0.1.0-pre.3 Mar 29, 2021

#89 in Programming languages

Download history 346/week @ 2024-12-30 265/week @ 2025-01-06 524/week @ 2025-01-13 406/week @ 2025-01-20 539/week @ 2025-01-27 527/week @ 2025-02-03 724/week @ 2025-02-10 759/week @ 2025-02-17 435/week @ 2025-02-24 773/week @ 2025-03-03 1405/week @ 2025-03-10 741/week @ 2025-03-17 726/week @ 2025-03-24 731/week @ 2025-03-31 875/week @ 2025-04-07 481/week @ 2025-04-14

2,869 downloads per month

MIT/Apache

65KB
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

~4–14MB
~163K SLoC