Cannot merge env vars in [env]
due to type mismatches
#14932
Labels
A-configuration
Area: cargo config files and env vars
A-environment-variables
Area: environment variables
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
Problem
Cargo doesn't know how to merge toml strings and tables for the
[env]
table.Steps
And you will see the error.
Possible Solution(s)
According to The Cargo Book, there is no merge strategy for TOML table.
For what I can recall, it is because TOML table merge is handled case by case. I think it makes sense for the
[env]
table to just replace one with the other, regardless of string or table.Notes
No response
Version
The text was updated successfully, but these errors were encountered: