From a85f0f084833cbacf097b606d5bc00a57d0817f4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 26 Dec 2021 13:18:07 -0800 Subject: [PATCH] Cargo bench is not supported $ cargo bench Compiling proc-macro2 v1.0.34 (/git/proc-macro2) error[E0433]: failed to resolve: use of undeclared crate or module `bench_libproc_macro` --> benches/bench-libproc-macro/main.rs:1:1 | 1 | bench_libproc_macro::bench!(); | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `bench_libproc_macro` --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 5d62acf5..bf199108 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,7 @@ repository = "https://github.com/dtolnay/proc-macro2" documentation = "https://docs.rs/proc-macro2" categories = ["development-tools::procedural-macro-helpers"] edition = "2018" +autobenches = false rust-version = "1.31" description = """ A substitute implementation of the compiler's `proc_macro` API to decouple