Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions www.schemastore.org/cargo.json
Original file line number Diff line number Diff line change
Expand Up @@ -763,12 +763,13 @@
"title": "Panic",
"description": "The `panic` setting controls the [`-C panic` flag](https://doc.rust-lang.org/rustc/codegen-options/index.html#panic) which controls which panic\nstrategy to use.\n\nWhen set to `\"unwind\"`, the actual value depends on the default of the target\nplatform. For example, the NVPTX platform does not support unwinding, so it\nalways uses `\"abort\"`.\n\nTests, benchmarks, build scripts, and proc macros ignore the `panic` setting.\nThe `rustc` test harness currently requires `unwind` behavior. See the\n[`panic-abort-tests`](https://doc.rust-lang.org/cargo/reference/unstable.html#panic-abort-tests) unstable flag which enables `abort` behavior.\n\nAdditionally, when using the `abort` strategy and building a test, all of the\ndependencies will also be forced to built with the `unwind` strategy.",
"type": "string",
"enum": ["unwind", "abort"],
"enum": ["unwind", "abort", "immediate-abort"],
"x-taplo": {
"docs": {
"enumValues": [
"Unwind the stack upon panic.",
"Terminate the process upon panic."
"Terminate the process upon panic.",
"Terminate the process upon panic, and do not call any panic hooks."
]
},
"links": {
Expand Down
Loading