73 stable releases (6 major)

Uses new Rust 2024

6.0.1 May 26, 2026
5.0.0 Oct 9, 2025
4.1.2 Sep 23, 2025
4.1.0 Mar 24, 2025
0.1.0-pre.3 Mar 29, 2021

#76 in Programming languages

Download history 3880/week @ 2026-02-15 4115/week @ 2026-02-22 4108/week @ 2026-03-01 4889/week @ 2026-03-08 8689/week @ 2026-03-15 7464/week @ 2026-03-22 5923/week @ 2026-03-29 7043/week @ 2026-04-05 7382/week @ 2026-04-12 8016/week @ 2026-04-19 7313/week @ 2026-04-26 6847/week @ 2026-05-03 7172/week @ 2026-05-10 8169/week @ 2026-05-17 5866/week @ 2026-05-24 6402/week @ 2026-05-31

28,101 downloads per month

MIT/Apache

83KB
2K 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–7MB
~130K SLoC