Skip to content

Commit

Permalink
Cargo bench is not supported
Browse files Browse the repository at this point in the history
    $ 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`
  • Loading branch information
dtolnay committed Dec 26, 2021
1 parent 988cf40 commit a85f0f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a85f0f0

Please sign in to comment.