One of the more attractive things about Rust for me is that I can easily write portable code. I distribute Windows binaries for a certain Rust project and they've kept working despite the fact I haven't tested on Windows in years.
I'm not sure I would even know how to build any of my C/C++ projects on Windows.
The most important layer in dependency management, I've found, is always in the systems code and what resources it consumes. If you get a handle on that, the rest is addressed with a well-targeted interface to the systems code, which the application uses uniformly. This interface can even take the form of a transpiled language.
And to the degree that Rust is effective, it lets a greater portion of the systems code be managed by a common interface. It remains as painful as most when it comes to binding external C code.
(I do think Zig is really promising in this regard by aiming to absorb C more comprehensively.)
I'm not sure I would even know how to build any of my C/C++ projects on Windows.