From d51931aee7204dc563582d4126687cc10e867184 Mon Sep 17 00:00:00 2001 From: Sophie Dankel <47993817+sdankel@users.noreply.github.com> Date: Fri, 2 Feb 2024 15:16:52 -0800 Subject: [PATCH] Support for criterion-compare-prs gh action The extra config in Cargo.toml is because of this issue: bheisler/criterion.rs#275 Once merged, this PR should be working: https://github.com/FuelLabs/sway/pull/5546 --- sway-lsp/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sway-lsp/Cargo.toml b/sway-lsp/Cargo.toml index 96f5f5d6bb0..0246eab23da 100644 --- a/sway-lsp/Cargo.toml +++ b/sway-lsp/Cargo.toml @@ -68,3 +68,6 @@ tower = { version = "0.4.12", default-features = false, features = ["util"] } [[bench]] name = "bench_main" harness = false + +[lib] +bench = false