From cde84479b2244964e22bb2182825d3a26b798a93 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 16 May 2021 19:41:41 +0200 Subject: [PATCH] #![feature(bench_black_box)] --- src/azul2.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/azul2.rs b/src/azul2.rs index 27ab8af..0ecf36a 100644 --- a/src/azul2.rs +++ b/src/azul2.rs @@ -1,3 +1,5 @@ +#![feature(bench_black_box)] + use rand::prelude::*; use rand::distributions::WeightedIndex; @@ -512,4 +514,4 @@ pub fn size_of_bitfields() -> Result<(), &'static str> { Ok(()) -} \ No newline at end of file +}