Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 33 additions & 49 deletions rust/ql/test/extractor-tests/crate_graph/crates.expected
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#-----| Crate(alloc@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)
#-----| rand -> Crate(rand@0.9.0)
#-----| rand_xorshift -> Crate(rand_xorshift@0.4.0)

#-----| Crate(allocator_api2@0.2.21)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.160)

#-----| Crate(block_buffer@0.10.4)
#-----| proc_macro -> Crate(proc_macro@0.0.0)
Expand All @@ -14,18 +10,17 @@
#-----| test -> Crate(test@0.0.0)
#-----| generic_array -> Crate(generic_array@0.14.7)

#-----| Crate(cfg_if@1.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)

#-----| Crate(cfg_if@1.0.1)
#-----| proc_macro -> Crate(proc_macro@0.0.0)
#-----| alloc -> Crate(alloc@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| std -> Crate(std@0.0.0)
#-----| test -> Crate(test@0.0.0)

#-----| Crate(compiler_builtins@0.1.146)
#-----| Crate(cfg_if@1.0.1)
#-----| core -> Crate(core@0.0.0)

#-----| Crate(compiler_builtins@0.1.160)
#-----| core -> Crate(core@0.0.0)

#-----| Crate(core@0.0.0)
Expand Down Expand Up @@ -56,18 +51,16 @@
#-----| test -> Crate(test@0.0.0)
#-----| typenum -> Crate(typenum@1.18.0)

#-----| Crate(getopts@0.2.21)
#-----| Crate(getopts@0.2.23)
#-----| core -> Crate(core@0.0.0)
#-----| std -> Crate(std@0.0.0)
#-----| unicode_width -> Crate(unicode_width@0.1.14)
#-----| unicode_width -> Crate(unicode_width@0.2.1)

#-----| Crate(hashbrown@0.15.2)
#-----| allocator_api2 -> Crate(allocator_api2@0.2.21)
#-----| Crate(hashbrown@0.15.4)
#-----| alloc -> Crate(alloc@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)

#-----| Crate(libc@0.2.169)
#-----| Crate(libc@0.2.174)
#-----| rustc_std_workspace_core -> Crate(core@0.0.0)

main.rs:
Expand Down Expand Up @@ -98,48 +91,44 @@ main.rs:
#-----| test -> Crate(test@0.0.0)

#-----| Crate(panic_abort@0.0.0)
#-----| alloc -> Crate(alloc@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)
#-----| cfg_if -> Crate(cfg_if@1.0.0)
#-----| libc -> Crate(libc@0.2.169)

#-----| Crate(panic_unwind@0.0.0)
#-----| alloc -> Crate(alloc@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)
#-----| cfg_if -> Crate(cfg_if@1.0.0)
#-----| libc -> Crate(libc@0.2.169)
#-----| cfg_if -> Crate(cfg_if@1.0.1)
#-----| libc -> Crate(libc@0.2.174)
#-----| unwind -> Crate(unwind@0.0.0)

#-----| Crate(proc_macro@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| std -> Crate(std@0.0.0)
#-----| rustc_literal_escaper -> Crate(rustc_literal_escaper@0.0.5)

#-----| Crate(rand@0.9.0)
#-----| zerocopy -> Crate(zerocopy@0.8.17)
#-----| rand_core -> Crate(rand_core@0.9.0)
#-----| Crate(rand@0.9.2)
#-----| rand_core -> Crate(rand_core@0.9.3)

#-----| Crate(rand_core@0.9.0)
#-----| zerocopy -> Crate(zerocopy@0.8.17)
#-----| Crate(rand_core@0.9.3)

#-----| Crate(rand_xorshift@0.4.0)
#-----| rand_core -> Crate(rand_core@0.9.0)
#-----| rand_core -> Crate(rand_core@0.9.3)

#-----| Crate(rustc_demangle@0.1.25)
#-----| core -> Crate(core@0.0.0)

#-----| Crate(rustc_demangle@0.1.24)
#-----| Crate(rustc_literal_escaper@0.0.5)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)
#-----| std -> Crate(std@0.0.0)

#-----| Crate(std@0.0.0)
#-----| alloc -> Crate(alloc@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)
#-----| cfg_if -> Crate(cfg_if@1.0.0)
#-----| hashbrown -> Crate(hashbrown@0.15.2)
#-----| libc -> Crate(libc@0.2.169)
#-----| rand -> Crate(rand@0.9.0)
#-----| cfg_if -> Crate(cfg_if@1.0.1)
#-----| hashbrown -> Crate(hashbrown@0.15.4)
#-----| libc -> Crate(libc@0.2.174)
#-----| rand -> Crate(rand@0.9.2)
#-----| rand_xorshift -> Crate(rand_xorshift@0.4.0)
#-----| rustc_demangle -> Crate(rustc_demangle@0.1.24)
#-----| rustc_demangle -> Crate(rustc_demangle@0.1.25)
#-----| panic_abort -> Crate(panic_abort@0.0.0)
#-----| unwind -> Crate(unwind@0.0.0)
#-----| panic_unwind -> Crate(panic_unwind@0.0.0)
Expand All @@ -148,15 +137,14 @@ main.rs:
#-----| Crate(std_detect@0.1.5)
#-----| alloc -> Crate(alloc@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)
#-----| cfg_if -> Crate(cfg_if@1.0.0)
#-----| libc -> Crate(libc@0.2.169)
#-----| cfg_if -> Crate(cfg_if@1.0.1)
#-----| libc -> Crate(libc@0.2.174)

#-----| Crate(test@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| std -> Crate(std@0.0.0)
#-----| getopts -> Crate(getopts@0.2.21)
#-----| libc -> Crate(libc@0.2.169)
#-----| getopts -> Crate(getopts@0.2.23)
#-----| libc -> Crate(libc@0.2.174)

lib.rs:
# 0| Crate(test@0.0.1)
Expand All @@ -175,22 +163,18 @@ lib.rs:
#-----| std -> Crate(std@0.0.0)
#-----| test -> Crate(test@0.0.0)

#-----| Crate(unicode_width@0.1.14)
#-----| Crate(unicode_width@0.2.1)
#-----| core -> Crate(core@0.0.0)
#-----| std -> Crate(std@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)

#-----| Crate(unwind@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| compiler_builtins -> Crate(compiler_builtins@0.1.146)
#-----| cfg_if -> Crate(cfg_if@1.0.0)
#-----| libc -> Crate(libc@0.2.169)
#-----| cfg_if -> Crate(cfg_if@1.0.1)
#-----| libc -> Crate(libc@0.2.174)

#-----| Crate(version_check@0.9.5)
#-----| proc_macro -> Crate(proc_macro@0.0.0)
#-----| alloc -> Crate(alloc@0.0.0)
#-----| core -> Crate(core@0.0.0)
#-----| std -> Crate(std@0.0.0)
#-----| test -> Crate(test@0.0.0)

#-----| Crate(zerocopy@0.8.17)
Loading