Merge pull request #221 from jongwu/cargo

ci: install rust back to 1.42.0 to avoid ci failure.
This commit is contained in:
James O. D. Hunt 2020-05-21 14:06:33 +01:00 committed by GitHub
commit e902aeb5cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: