mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Rust: Take depdency renaming into account when extracting the crate graph
This commit is contained in:
@@ -118,4 +118,11 @@ class Crate(Locatable):
|
||||
version: optional[string]
|
||||
module: optional["Module"]
|
||||
cfg_options: list[string]
|
||||
dependencies: list["Crate"]
|
||||
named_dependencies: list["NamedCrate"] | ql.internal
|
||||
|
||||
|
||||
@qltest.skip
|
||||
@ql.internal
|
||||
class NamedCrate(Element):
|
||||
name: optional[string]
|
||||
crate: "Crate"
|
||||
|
||||
Reference in New Issue
Block a user