diff --git a/.cargo/config b/.cargo/config index a55bec77bc66a803a1ead7773e136423a7234ed4..ec3e4e9f9f4e09c6ef0c1c02ce2667e97db68b91 100644 --- a/.cargo/config +++ b/.cargo/config @@ -25,7 +25,7 @@ rustflags = [ # "-C", "link-arg=-nostartfiles", # uncomment for unchecked wrapping arithmetics also in dev mode - "-Z", "force-overflow-checks=off", + # "-Z", "force-overflow-checks=off", ] [build] diff --git a/examples/bare2.rs b/examples/bare2.rs index c039a6ef1e8ff1ed8d164f6c4ecdb1155684126a..291bb67bff29cad19c6fd44a7d20113382cf8c7b 100644 --- a/examples/bare2.rs +++ b/examples/bare2.rs @@ -71,18 +71,26 @@ fn main() -> ! { // // What is the output in the ITM console? // -// ** your answer here ** +// ** +// [2019-02-21T12:23:01.072Z] bare2 +// [2019-02-21T12:23:29.117Z] Start 42606 +// [2019-02-21T12:23:29.118Z] End 448042815 +// ** // // Rebuild and run in release mode // // > cargo build --example bare2 --release // -// ** your answer here ** +// ** +// [2019-02-21T12:30:44.941Z] bare2 +// [2019-02-21T12:30:45.142Z] Start 3057860134 +// [2019-02-21T12:30:45.142Z] End 3061860142 +// ** // // Compute the ratio between debug/release optimized code // (the speedup). // -// ** your answer here ** +// ** 448000209 / 4000008 = 111,99982825 times ** // // commit your answers (bare2_1) //