rust: fix config warning

before:

Building bootstrap
running: /build/rust-1.82.0/rust-snapshot/bin/cargo build --manifest-path /build/rust-1.82.0/src/bootstrap/Cargo.toml --verbose --frozen
warning: `/build/rust-1.82.0/cargo_home/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`

after:

Building bootstrap
running: /build/rust-1.82.0/rust-snapshot/bin/cargo build --manifest-path /build/rust-1.82.0/src/bootstrap/Cargo.toml --verbose --frozen
This commit is contained in:
Rudi Heitbaum 2024-11-09 03:20:18 +00:00
parent ed8cb3f5a4
commit 4b86a5a307

View File

@ -83,7 +83,7 @@ END
CARGO_HOME="${PKG_BUILD}/cargo_home"
mkdir -p "${CARGO_HOME}"
cat >${CARGO_HOME}/config <<END
cat >${CARGO_HOME}/config.toml <<END
[target.${TARGET_NAME}]
linker = "${TARGET_PREFIX}gcc"