From e825ca1491f7ba9b9ff13a1bd1678e37a26a6f80 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Thu, 18 Aug 2022 00:15:33 +1000 Subject: [PATCH] Update for Rust 1.62 Add Cargo profile for profiling --- Cargo.toml | 4 ++++ src/stv/mod.rs | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c45bdb7..a0298b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,3 +55,7 @@ features = ["integer", "rational", "float"] [profile.test] opt-level = 3 + +[profile.perf] +inherits = "release" +debug = true diff --git a/src/stv/mod.rs b/src/stv/mod.rs index dc951c8..7371097 100644 --- a/src/stv/mod.rs +++ b/src/stv/mod.rs @@ -15,8 +15,6 @@ * along with this program. If not, see . */ -#![allow(mutable_borrow_reservation_conflict)] - /// Gregory methods of surplus distributions pub mod gregory; /// Meek method of surplus distributions, etc.