Skip to content

CLI: crate count is wrong #4316

Open
Open
@nicoburns

Description

@nicoburns

Problem

Sample output from dx run

   1.639s  INFO [macos] Compiling pollster (534/1553)
   1.639s  INFO [macos] Compiling dioxus_logger (535/1553)
   1.639s  INFO [macos] Compiling blitz_net (536/1553)
   1.640s  INFO [macos] Compiling blitz_shell (537/1553)
   1.640s  INFO [macos] Compiling manganis (538/1553)
   1.640s  INFO [macos] Compiling dioxus_config_macro (539/1553)
   1.640s  INFO [macos] Compiling dioxus_config_macros (540/1553)
   1.640s  INFO [macos] Compiling dioxus_desktop (541/1553)
   1.640s  INFO [macos] Compiling anyrender_vello (542/1553)
   1.640s  INFO [macos] Compiling dioxus_native (543/1553)
   1.640s  INFO [macos] Compiling dioxus (544/1553)
   2.488s  INFO [macos] Compiling wgpu-texture (545/1553)

The denominator (total number of crates) should be 545 not 1553.

Steps To Reproduce

Steps to reproduce the behavior:

  • Run any example in the dioxus repo with dx serve or dx run

Expected behavior

Total number of crates only counts dependencies of the crate we are currently compiling, not all crates in the workspace.

Screenshots

Environment:

  • Dioxus version: 0.7-alpha.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions