This crate provides a dylint_library!
macro to help in creating Dylint libraries.
The macro expands to the following:
```rust
extern crate rustc_driver;
pub extern "C" fn dylintversion() -> *mut std::os::raw::cchar { std::ffi::CString::new($crate::DYLINTVERSION) .unwrap() .intoraw() } ```
If your library uses the dylint_library!
macro and the dylint-link
tool, then all you should have to do is implement the register_lints
function. See the examples in this repository.