- Rust Programming Cookbook
- Claus Matzinger
- 49字
- 2021-06-24 12:27:51
Getting ready
Using new sharing-ownership --lib, create a new library project and open the directory in your favorite editor. We will also use the nightly compiler for benchmarks, so running rustup default nightly is highly recommended.
To enable benchmarks, add #![feature(test)] to the top of the lib.rs file.