dylint_linting

This crate provides a dylint_library! macro to help in creating Dylint libraries.

The macro expands to the following:

```rust

[allow(unusedexterncrates)]

extern crate rustc_driver;

[no_mangle]

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.