Skip to content

Commit

Permalink
Use .cargo/config.toml instead of .cargo/config
Browse files Browse the repository at this point in the history
`.cargo/config` will be deprecated in Rust 1.78.

`.cargo/config.toml` has been supported since Rust 1.38.

rust-lang/cargo#13349
  • Loading branch information
proski committed Apr 3, 2024
1 parent f7f5156 commit e42c97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlay/mkcrate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ let

configureCargo = ''
mkdir -p .cargo
cat > .cargo/config <<'EOF'
cat > .cargo/config.toml <<'EOF'
[net]
offline = true
[target."${rustBuildTriple}"]
Expand Down

0 comments on commit e42c97a

Please sign in to comment.