From 1c3579f047940742807c49c4146ae852c064ea8a Mon Sep 17 00:00:00 2001 From: Jeff Muizelaar Date: Fri, 3 Aug 2018 23:48:52 -0400 Subject: [PATCH] Build with panic=abort This drops the size of libportability.dylib from 2.4M to 2.1M and gives the compiler better opportunities for optimization. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index bb27cab..7328dc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,6 @@ members = [ "libportability-gfx", "libportability-icd", ] + +[profile.release] +panic = "abort"