mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
This adds testing of well-formed rust projects and workspaces, using both `Cargo.toml` and `rust-project.json` manifests.
8 lines
269 B
Python
8 lines
269 B
Python
def test_cargo(codeql, rust, manifests, check_source_archive):
|
|
manifests.select("Cargo.toml")
|
|
codeql.database.create()
|
|
|
|
def test_rust_project(codeql, rust, manifests, check_source_archive):
|
|
manifests.select("rust-project.json")
|
|
codeql.database.create()
|