From 5b6ead09e382277e057876047ca673f6cfcbcc18 Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Mon, 13 Jan 2025 22:53:14 +0800 Subject: [PATCH] Fix `/root/.cargo/config` deprecation warnings (#173) from: https://github.com/rust-lang/cargo/issues/13667 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f646ae8..eb1de58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -117,7 +117,7 @@ RUN chmod 755 /root/ && \ rustup component add --toolchain $TOOLCHAIN rustfmt clippy && \ rm -rf /root/.rustup/toolchains/$TOOLCHAIN-$GNU_TARGET/share/ -RUN echo "[target.$TARGET]\nlinker = \"$TARGET-gcc\"\n" > /root/.cargo/config +RUN echo "[target.$TARGET]\nlinker = \"$TARGET-gcc\"\n" > /root/.cargo/config.toml # Build std sysroot for targets that doesn't have official std release ADD Xargo.toml /tmp/Xargo.toml