aboutsummaryrefslogtreecommitdiff
path: root/test cases/rust/1 basic/prog.rs
AgeCommit message (Collapse)AuthorFilesLines
2023-04-21rust: add support for b_ndebugDylan Baker1-0/+1
Rust has a `debug_assert!()` macro, which is designed to be toggled on the command line. It is on by default in debug builds, and off by default in release builds, in cargo. This matches what meson's b_ndebug option does in `if-release` mode.
2021-09-24compilers/rust: Add support for clippyDylan Baker1-1/+2
Clippy is a compiler wrapper for rust that provides an extra layer of linting. It's quite popular, but unfortunately doesn't provide the output of the compiler that it's wrapping in it's output, so we don't detect that clippy is rustc. This small patch adds a new compiler class (that is the Rustc class with a different id) and the necessary logic to detect that clippy is in fact rustc) Fixes: #8767
2014-06-18Can compile very basic Rust programs.Jussi Pakkanen1-0/+3