Skip to content

Commit 4eac1a2

Browse files
committed
Use .cargo/config.toml instead of .cargo/config
`.cargo/config` will be deprecated in Rust 1.78. `.cargo/config.toml` has been supported since Rust 1.38. rust-lang/cargo#13349
1 parent bf497ec commit 4eac1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overlay/mkcrate.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ let
181181

182182
configureCargo = ''
183183
mkdir -p .cargo
184-
cat > .cargo/config <<'EOF'
184+
cat > .cargo/config.toml <<'EOF'
185185
[target."${rustBuildTriple}"]
186186
linker = "${ccForBuild}"
187187
'' + optionalString (codegenOpts != null && codegenOpts ? "${rustBuildTriple}") (''

0 commit comments

Comments
 (0)