In particular, I tried to set the test-threads=1 extra argument, which fails as it is inserted before the --.
The workaround is to use the older environment variable RUST_TEST_THREADS, but the command line argument is preferred as far as I understood.
Have I missed something, or is this a possible issue?
I might be wrong, but it seems to me that:
The description says:
Additional arguments to be passed to cargo for runnables such as tests or binaries. For example, it may be --release.
However, there seems to be no possibility to set values, i.e. arguments that appear after
--
.The
rust-analyzer
source code speaks ofargs
andextra_args
.match kind
In particular, I tried to set the
test-threads=1
extra argument, which fails as it is inserted before the--
. The workaround is to use the older environment variableRUST_TEST_THREADS
, but the command line argument is preferred as far as I understood.Have I missed something, or is this a possible issue?