[F] Fix osx build strip issue

This commit is contained in:
Azalea Gui 2024-12-22 05:53:46 -05:00
parent 8e4b57e33a
commit b009342d78
2 changed files with 5 additions and 5 deletions

View file

@ -7,6 +7,8 @@ RUN apk add --no-cache curl gcc musl-dev openssl-dev bash clang lld
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Add toolchains for building for macOS[x86_64, aarch64]
RUN /root/.cargo/bin/rustup toolchain install beta && \
/root/.cargo/bin/rustup default beta
RUN /root/.cargo/bin/rustup target add x86_64-apple-darwin aarch64-apple-darwin
# Copy osxcross toolchain