Update for Rust 1.62

Add Cargo profile for profiling
This commit is contained in:
RunasSudo 2022-08-18 00:15:33 +10:00
parent f187975601
commit e825ca1491
No known key found for this signature in database
GPG Key ID: 7234E476BF21C61A
2 changed files with 4 additions and 2 deletions

View File

@ -55,3 +55,7 @@ features = ["integer", "rational", "float"]
[profile.test] [profile.test]
opt-level = 3 opt-level = 3
[profile.perf]
inherits = "release"
debug = true

View File

@ -15,8 +15,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
#![allow(mutable_borrow_reservation_conflict)]
/// Gregory methods of surplus distributions /// Gregory methods of surplus distributions
pub mod gregory; pub mod gregory;
/// Meek method of surplus distributions, etc. /// Meek method of surplus distributions, etc.