From 4a23fc06acb0d2d8ba51fa4b6573d91a0f22e925 Mon Sep 17 00:00:00 2001 From: 9names <60134748+9names@users.noreply.github.com> Date: Sun, 1 Aug 2021 23:18:01 +1000 Subject: [PATCH] Disable trap-unreachable so we don't require nightly compiler --- .cargo/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.cargo/config b/.cargo/config index 463a715..93640ad 100644 --- a/.cargo/config +++ b/.cargo/config @@ -7,7 +7,9 @@ rustflags = [ "-C", "link-arg=-Tdefmt.x", # Code-size optimizations. - "-Z", "trap-unreachable=no", + # trap unreachable can save a lot of space, but requires nightly compiler. + # uncomment the next line if you wish to enable it + # "-Z", "trap-unreachable=no", "-C", "inline-threshold=5", "-C", "no-vectorize-loops", ]