2 ms·
This isn’t a magic bullet. Using multiple versions of the same crate can still blow up your project. For example, the compiler error in this example: note: pe
by WD-42 2y ago
This isn’t a magic bullet. Using multiple versions of the same crate can still blow up your project.
For example, the compiler error in this example:
note: perhaps two different versions of crate `smithay_client_toolkit` are being used?
https://github.com/pop-os/launcher/issues/237 https://github.com/pop-os/launcher/issues/237
- gary_0 2y agoAh, I was wondering what would happen if you're using a type from lib-v2 and an intermediary library passes you that type from lib-v1, and the type has changed internally. Good to know the Rust compiler is set up to catch that. (I've seen cases where that happens with C and C++ software, and things seem to compile and run... until everything explodes. Fun times.)