w-simon / klint

Lints for kernel or embedded system development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

klint

Lints for kernel or embedded system development.

Installation and Usage

Clone the repository and run cargo install:

git clone https://github.com/nbdd0121/klint.git
cd klint
cargo install --path .

Note that klint currently is pinned to a Rust version so it is likely that running cargo install --git will not work as it will not use the rust-toolchain file in the repository.

To run this tool, use rustup which will prepare the necessary environment variables:

rustup run 1.74.0 klint

klint will behave like rustc, just with additional lints.

Implemented Lints

About

Lints for kernel or embedded system development.

License:Apache License 2.0


Languages

Language:Rust 100.0%