diff options
| author | Amos Wenger <amoswenger@gmail.com> | 2022-07-19 13:02:16 +0200 |
|---|---|---|
| committer | Amos Wenger <amoswenger@gmail.com> | 2022-07-19 13:02:16 +0200 |
| commit | 307be7cc7c8e0820a292124332fba7e0517d8ad2 (patch) | |
| tree | 80ecd340b185f9612e03e93861439e7a25efedf3 | |
| parent | 1b416473a3839495fff9b4c25f856ac3535bea79 (diff) | |
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 982c78cd250..24745d1c806 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 |
