Unnamed repository; edit this file 'description' to name the repository.
Add CARGO_WORKSPACE_DIR env var in `.cargo/config.toml`
As discussed in https://github.com/rust-analyzer/expect-test/issues/33
| -rw-r--r-- | .cargo/config.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 982c78cd25..24745d1c80 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -6,3 +6,6 @@ lint = "clippy --all-targets -- -Aclippy::collapsible_if -Aclippy::needless_pass [target.x86_64-pc-windows-msvc] linker = "rust-lld" + +[env] +CARGO_WORKSPACE_DIR = { value = "", relative = true }
\ No newline at end of file |