Disable trap-unreachable so we don't require nightly compiler

This commit is contained in:
9names 2021-08-01 23:18:01 +10:00
parent 8f0901cf44
commit 4a23fc06ac

View File

@ -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",
]