cargo --config 'k=v' <plugin>
isn't passed down to the plugin
#11031
Labels
A-configuration
Area: cargo config files and env vars
A-custom-subcommands
Area: custom 3rd party subcommand plugins
C-bug
Category: bug
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
If someone runs the command:
then the config isn't passed down to the plugin.
This was originally reported as nextest-rs/nextest#498.
Steps
cargo --config 'build.target-dir="foo"' nextest run
target/
.(Note that
cargo nextest run --config 'build.target-dir="foo"'
works correctly, because nextest passes through Cargo configs.)Possible Solution(s)
Best solution might be to pass configs down as an environment variable that plugins can read.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: