We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13890be commit 70119faCopy full SHA for 70119fa
Cargo.toml
@@ -33,3 +33,7 @@ no-panic = "0.1.8"
33
34
[build-dependencies]
35
rand = { version = "0.6.5", optional = true }
36
+
37
+# This is needed for no-panic to correctly detect the lack of panics
38
+[profile.release]
39
+lto = "fat"
ci/run.sh
@@ -5,6 +5,9 @@ TARGET=$1
5
6
CMD="cargo test --all --target $TARGET"
7
8
+# Needed for no-panic to correct detect a lack of panics
9
+export RUSTFLAGS="$RUSTFLAGS -Ccodegen-units=1"
10
11
# stable by default
12
$CMD
13
$CMD --release
0 commit comments