Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 760f25d

Browse files
committedApr 3, 2024
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 da5f5d7 commit 760f25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎overlay/mkcrate.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ let
177177

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

0 commit comments

Comments
 (0)
Please sign in to comment.