New comment by mhmdanas on void-packages repository https://github.com/void-linux/void-packages/issues/43463#issuecomment-1509935656 Comment: You're not supposed to use rustup in build templates, use the cargo build style or the rust build helper instead. I think in this case the rust build helper is what you want. I'd open a PR with your template even if it doesn't work right now, for easier review.