| Crates.io | dylint_examples |
| lib.rs | dylint_examples |
| version | 0.1.3 |
| created_at | 2021-03-25 17:57:00.434349+00 |
| updated_at | 2021-06-02 10:46:39.424479+00 |
| description | Example Dylint libraries |
| homepage | |
| repository | https://github.com/trailofbits/dylint |
| max_upload_size | |
| id | 373496 |
| size | 3,922 |
Each subdirectory besides src contains an example Dylint library.
The current examples are:
allow_clippy: A tongue-in-cheek example of a Dylint libraryclippy: All of the Clippy lints as a Dylint libraryenv_literal: A lint to check for environment variables referred to with string literalspath_separator_in_string_literal: A lint to check for path separators in string literalsquestion_mark_in_expression: A lint to check for the ? operator in expressionsNotes
rust-toolchain.dylint-link. To use the copy within this repository, change the example's .cargo/config.toml file as follows:
[target.x86_64-unknown-linux-gnu]
linker = "../../target/debug/dylint-link"