Skip to content

Commit a85f0f0

Browse files
committed
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`
1 parent 988cf40 commit a85f0f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ repository = "https://github.com/dtolnay/proc-macro2"
99
documentation = "https://docs.rs/proc-macro2"
1010
categories = ["development-tools::procedural-macro-helpers"]
1111
edition = "2018"
12+
autobenches = false
1213
rust-version = "1.31"
1314
description = """
1415
A substitute implementation of the compiler's `proc_macro` API to decouple

0 commit comments

Comments
 (0)