How did you build the rust project? The docs say:
> Most Rust programmers don't invoke rustc directly, but instead do it through Cargo. It's all in service of rustc though! If you want to see how Cargo calls rustc, you can
$ cargo build --verbose
Sure, but everything seems to point users towards using the compiler, not the package manager. For example:
- The tour guide first recommends dmd (https://tour.dlang.org/tour/en/welcome/run-d-program-locally), though it does mention dub at the bottom
- Clicking "Documentation -> Command-line Reference" takes you to dmd, with only the barest mention of dub
- Even this post, the "Programming in D" book, tells you to use dmd and doesn't mention dub at all.