In PKGBUILD
, need to add a line of
# I put it under `rustup default stable`
export CARGO_TARGET_DIR=${srcdir}/${pkgname}/vscode/cli/target
so for users like me who has non-default cargo target directory, the compiled rust binaries will appear in expected locations and the rest of the build script will work.
Honestly I think this is an upstream problem not specifying the target directory explicitly, but here I provide a quick solution for this package anyways.
Pinned Comments