Add Rust aarch64 toolchain to Docker container

This commit is contained in:
BoloniniD 2022-03-17 20:41:17 +03:00
parent 4a33f4ff3b
commit 0f8bfbb25b
3 changed files with 14 additions and 4 deletions

2
contrib/BLAKE3 vendored

@ -1 +1 @@
Subproject commit 0009b91cfaa44171ce869d64037b20a2aef1525c
Subproject commit 74f7fa1652e413fb7b86a86980cfff00a65fef7a

View File

@ -59,10 +59,20 @@ RUN apt-get update \
pixz \
pkg-config \
tzdata \
rustc \
cargo \
--yes --no-install-recommends
# Rust toolchain
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup target add aarch64-unknown-linux-gnu && \
apt-get install \
gcc-aarch64-linux-gnu \
build-essential \
libc6 \
libc6-dev \
--yes
# NOTE: Seems like gcc-11 is too new for ubuntu20 repository
RUN add-apt-repository ppa:ubuntu-toolchain-r/test --yes \
&& apt-get update \

View File

@ -599,7 +599,7 @@ struct ImplBLAKE3
//static inline Hasher_shim blake3_hasher = new_hasher();
static void apply(const char * begin, const size_t size, unsigned char* out_char_data)
{
{
#if defined(MEMORY_SANITIZER)
auto err_msg = blake3_apply_shim_msan_compat(begin, size, out_char_data);
#else