ci: install rust back to 1.42.0 to avoid ci failure.

There maybe a bug in the 1.43.1 cargo, so we need install rust back
to 1.42.0 to avoid the failure when make the rust agent using the latest
rust.

Fixes: #202
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
Jianyong Wu 2020-04-28 16:05:13 +08:00
parent c95d09a34d
commit ba3078b8e5

View File

@ -72,6 +72,9 @@ default: $(TARGET) show-header
$(TARGET): $(TARGET_PATH)
$(TARGET_PATH): $(SOURCES) | show-summary
@rustup default 1.42.0
@rustup toolchain install 1.42.0-musl
@rustup target add $(ARCH)-unknown-linux-musl
@cargo build --target $(TRIPLE)
show-header: