3 ms·
Rust does support multiple major versions of dependencies in a build. The only thing we don’t allow is multiple copies of dependencies that link to native libr
by steveklabnik 8y ago
Rust does support multiple major versions of dependencies in a build.
The only thing we don’t allow is multiple copies of dependencies that link to native libraries, and the -sys pattern means that this is rarely an issue in practice.
- 0815test 8y agoYes, but the folks who are now complaining about Go not being 'community-led' enough were pushing for a module system ("dep") that does not allow for this, and being told that not allowing multiple major versions in the same build was indeed a major problem (and even a showstopper) with their approach. I'm just pointing out that this is clearly a bad argument for calling Go "not community led"! Sorry if that was unclear.
- mcguire 8y agoWait just a second! :-) 1. Yay! 2. Yes, native libraries would be difficult. Or impossible. 3. Could you elaborate on the "-sys pattern"?
- steveklabnik 8y agohttps://doc.rust-lang.org/stable/cargo/reference/build-scripts.html#a-sys-packages https://doc.rust-lang.org/stable/cargo/reference/build-scrip...