mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Add a rust-toolchain file to the Ruby directory, which instructs Rustup to install a specific version of Rust (1.54). This will be used in CI, so any use of language features or dependencies that don't support 1.54 will result in a CI failure. This should ensure we have a documented minimum supported rust version and an easy to way to update it in the future (update the rust-toolchain file).
Ruby analysis support for CodeQL
This directory contains the extractor, CodeQL libraries, and queries that power Ruby support in LGTM and the other CodeQL products that GitHub makes available to its customers worldwide.
It contains two major components:
- static analysis libraries and queries written in CodeQL that can be used to analyze such a database to find coding mistakes or security vulnerabilities.
- an extractor, written in Rust, that parses Ruby source code and converts it into a database that can be queried using CodeQL. See Developer information for information on building the extractor (you do not need to do this if you are only developing queries).