Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Runnable Extra Args sets Args instead of Extra Args #964

Open
jmfrank63 opened this issue Sep 26, 2022 · 1 comment
Open

Runnable Extra Args sets Args instead of Extra Args #964

jmfrank63 opened this issue Sep 26, 2022 · 1 comment

Comments

@jmfrank63
Copy link

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 of args and extra_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 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?

@jmfrank63
Copy link
Author

Yes, I missed the important part that this is the wrong extension ))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant