I am compiling the rust toolchain from source (this includes cargo, clippy, rustdoc, rust-analyzer and src). I am installing it in a custom folder in my home directory.
When I run ./x.py install, it appropriately compiles and installs all of those binaries. However, along the way, the script invokes a copy to /etc/bash_completions.d/cargo and appropriately logs that it doesn't have permissions.
I expect that ./x.py will respect my build-dir argument and try to install the bash completions in build-dir/etc instead of /etc