From fadc46f3b5a9a61ece9f9872e8de74b7a77c1f19 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 21 Aug 2023 04:00:52 +0000 Subject: [PATCH] Add a missing `[workspace]` tag in rust-gbt Cargo to build in git If cargo detects its being run in a git tree, it looks for a top-level `Cargo.toml`. When failing to find one, it errors out, saying "current package believes it's in a workspace when it's not." Instead, we add a `[workspace]` tag to let cargo know that rust-gbt is not, in fact, in a rust workspace. --- backend/rust-gbt/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/rust-gbt/Cargo.toml b/backend/rust-gbt/Cargo.toml index 09fde52e2..790dd6214 100644 --- a/backend/rust-gbt/Cargo.toml +++ b/backend/rust-gbt/Cargo.toml @@ -6,6 +6,8 @@ authors = ["mononaut"] edition = "2021" publish = false +[workspace] + [lib] crate-type = ["cdylib"]