From acc8fd16a556d9ea1bd0f556b82c22894edb5ee0 Mon Sep 17 00:00:00 2001 From: BGluth Date: Mon, 24 Jun 2024 11:48:25 -0600 Subject: [PATCH] Requested PR changes for #310 --- .cargo/config.toml | 4 ++++ zero_bin/.cargo/config.toml | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 6340ce34a..abe5629c0 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,3 +2,7 @@ # https://github.com/rust-lang/rust/pull/124129 # https://github.com/dtolnay/linkme/pull/88 rustflags = ["-Z", "linker-features=-lld"] + +[env] +# If we're running in the project workspace, then we should set the workspace env var so we read/write to/from files relative to the workspace. +CARGO_WORKSPACE_DIR = { value = "", relative = true } diff --git a/zero_bin/.cargo/config.toml b/zero_bin/.cargo/config.toml index 4ef5f39e1..f4ac0fbdd 100644 --- a/zero_bin/.cargo/config.toml +++ b/zero_bin/.cargo/config.toml @@ -2,7 +2,3 @@ # read/write to/from files relative to the workspace even when running in this # directory CARGO_WORKSPACE_DIR = { value = "", relative = true } - -[env] -# If we're running in the project workspace, then we should set the workspace env var so we read/write to/from files relative to the workspace. -CARGO_WORKSPACE_DIR = { value = "", relative = true }