Skip to content

Commit 87f9801

Browse files
committed
Document the panic profile option
Closes #2750
1 parent 7d79da0 commit 87f9801

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/doc/manifest.md

+5
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ lto = false # controls `-C lto` for binaries and staticlibs
154154
debug-assertions = true # controls whether debug assertions are enabled
155155
codegen-units = 1 # controls whether the compiler passes `-C codegen-units`
156156
# `codegen-units` is ignored when `lto = true`
157+
panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort'
157158

158159
# The release profile, used for `cargo build --release`.
159160
[profile.release]
@@ -163,6 +164,7 @@ rpath = false
163164
lto = false
164165
debug-assertions = false
165166
codegen-units = 1
167+
panic = 'unwind'
166168

167169
# The testing profile, used for `cargo test`.
168170
[profile.test]
@@ -172,6 +174,7 @@ rpath = false
172174
lto = false
173175
debug-assertions = true
174176
codegen-units = 1
177+
panic = 'unwind'
175178

176179
# The benchmarking profile, used for `cargo bench`.
177180
[profile.bench]
@@ -181,6 +184,7 @@ rpath = false
181184
lto = false
182185
debug-assertions = false
183186
codegen-units = 1
187+
panic = 'unwind'
184188

185189
# The documentation profile, used for `cargo doc`.
186190
[profile.doc]
@@ -190,6 +194,7 @@ rpath = false
190194
lto = false
191195
debug-assertions = true
192196
codegen-units = 1
197+
panic = 'unwind'
193198
```
194199

195200
# The `[features]` Section

0 commit comments

Comments
 (0)