-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-environment-variablesArea: environment variablesArea: environment variablesA-rustflagsArea: rustflagsArea: rustflagsC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
RUSTFLAGS="--output '/home/somewhere/out file'" cargo doc
With this command, the --output
command will receive /home/somewhere/out
and not /home/somewhere/out file
, which is problematic
Steps
Add any flag with whitespace characters to environment variables.
Possible Solution(s)
Correctly parse arguments passed through environment variables.
Notes
No response
Version
No response
Metadata
Metadata
Assignees
Labels
A-environment-variablesArea: environment variablesArea: environment variablesA-rustflagsArea: rustflagsArea: rustflagsC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.