Skip to content

Commit

Permalink
Document the panic profile option
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 31, 2016
1 parent 7d79da0 commit 87f9801
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/doc/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ lto = false # controls `-C lto` for binaries and staticlibs
debug-assertions = true # controls whether debug assertions are enabled
codegen-units = 1 # controls whether the compiler passes `-C codegen-units`
# `codegen-units` is ignored when `lto = true`
panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort'

# The release profile, used for `cargo build --release`.
[profile.release]
Expand All @@ -163,6 +164,7 @@ rpath = false
lto = false
debug-assertions = false
codegen-units = 1
panic = 'unwind'

# The testing profile, used for `cargo test`.
[profile.test]
Expand All @@ -172,6 +174,7 @@ rpath = false
lto = false
debug-assertions = true
codegen-units = 1
panic = 'unwind'

# The benchmarking profile, used for `cargo bench`.
[profile.bench]
Expand All @@ -181,6 +184,7 @@ rpath = false
lto = false
debug-assertions = false
codegen-units = 1
panic = 'unwind'

# The documentation profile, used for `cargo doc`.
[profile.doc]
Expand All @@ -190,6 +194,7 @@ rpath = false
lto = false
debug-assertions = true
codegen-units = 1
panic = 'unwind'
```

# The `[features]` Section
Expand Down

0 comments on commit 87f9801

Please sign in to comment.