mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 22:24:28 +02:00
Switch to prebuild winarm64 rust target
This commit is contained in:
parent
3ad5c7beb2
commit
35cf21f1e1
@ -23,9 +23,7 @@ ENV FFBUILD_TOOLCHAIN=aarch64-w64-mingw32 \
|
|||||||
FFBUILD_RUST_TARGET=aarch64-pc-windows-gnullvm
|
FFBUILD_RUST_TARGET=aarch64-pc-windows-gnullvm
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
rustup default nightly && \
|
rustup target add "$FFBUILD_RUST_TARGET" && \
|
||||||
rustup +nightly component add rust-src && \
|
|
||||||
echo "[unstable]\nbuild-std = [\"core\", \"alloc\", \"std\", \"proc_macro\"]\n" > "$CARGO_HOME"/config.toml && \
|
|
||||||
echo "[target.$FFBUILD_RUST_TARGET]\nlinker = \"${FFBUILD_TOOLCHAIN}-clang\"\nar = \"${FFBUILD_TOOLCHAIN}-llvm-ar\"\n" >> "$CARGO_HOME"/config.toml
|
echo "[target.$FFBUILD_RUST_TARGET]\nlinker = \"${FFBUILD_TOOLCHAIN}-clang\"\nar = \"${FFBUILD_TOOLCHAIN}-llvm-ar\"\n" >> "$CARGO_HOME"/config.toml
|
||||||
|
|
||||||
ADD toolchain.cmake /toolchain.cmake
|
ADD toolchain.cmake /toolchain.cmake
|
||||||
|
Loading…
x
Reference in New Issue
Block a user