cargo config: manually specify rustc

since using rust toolchain from rustup, it's probably best to specify
the full path to rustc. the correct one should be called from the main
shell in use (zsh) but when invoked from e.g. bash, another rustc might
get called as PATH is not properly set up there
This commit is contained in:
surtur 2022-04-16 17:15:13 +02:00
parent 06086aef89
commit 3d408f8fee
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -1,3 +1,4 @@
[build] [build]
jobs = 2 # number of parallel jobs, defaults to # of CPUs jobs = 2 # number of parallel jobs, defaults to # of CPUs
rustc = ".cargo/bin/rustc" # the rust compiler tool
rustc-wrapper = ".cargo/bin/sccache" # enable sccache rustc-wrapper = ".cargo/bin/sccache" # enable sccache