add: Use single quotes for target headers #14002
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-add
S-triage
Status: This issue is waiting on initial triage.
Problem
Running
cargo add
with the--target
option generates TOML code with double quotes, resulting in backslash-escaped double quotes in the target expression:This is a bit difficult to read.
Proposed Solution
Use single quotes instead:
Notes
This matches the formatting used in the Platform-specific dependencies section of the Cargo book.
The text was updated successfully, but these errors were encountered: