Request: better namespacing for vendor/ directory
⚓ Rust 📅 2026-04-02 👤 surdeus 👁️ 6The vendor directory that Cargo targets for caching third party code, is unfortunately not programming language agnostic.
When Go and Rust are used in tandem, then go mod becomes confused. In situations where only Rust vendoring is applied, then go mod sees a vendor directory, assumes it is Go code, then aborts.
Please migrate to a language specific directory name, such as vendor-rust.
As a workaround, use cargo primitives to customize the Rust vendor directory name.
Cross post to Go forum topic: Request: better namespacing for vendor/ directory - Technical Discussion - Go Forum
2 posts - 2 participants
🏷️ Rust_feed