next: set $RUSTUP_HOME

For some reason set_hook_var() appears to do nothing on the actual CI vs
when running locally with script/run_local_ci.sh.

Set the $RUSTUP_HOME env var directly and make it accessible from
subshells by exporting it.

As per code comment, $CARGO_HOME should be left to it's default value.

This setup may need refactoring or changing it future e.g. in the
Dockerfile itself, but for now this lets us actually build RF-A.

Change-Id: I7a0811e550b83bea7ac5368228c1ccf40a64a318
Signed-off-by: Zachary Leaf <zachary.leaf@arm.com>
1 file changed