lint_llvm_ir - The Rust Unstable Book

## Keyboard shortcuts

Press `←` or `→` to navigate between chapters

Press `S` or `/` to search in the book

Press `?` to show this help

Press `Esc` to hide this help

# `lint-llvm-ir`

This flag will add `LintPass` to the start of the pipeline. You can use it to check for common errors in the LLVM IR generated by `rustc`. You can add `-Cllvm-args=-lint-abort-on-error` to abort the process if errors were found.