aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lang.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/lang.opt')
-rw-r--r--gcc/rust/lang.opt13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/rust/lang.opt b/gcc/rust/lang.opt
index ae601eb..0e9aab4 100644
--- a/gcc/rust/lang.opt
+++ b/gcc/rust/lang.opt
@@ -212,4 +212,17 @@ frust-borrowcheck
Rust Var(flag_borrowcheck)
Use the WIP borrow checker.
+frust-panic=
+Rust Joined RejectNegative Enum(frust_panic) Var(flag_rust_panic)
+-frust-edition=[unwind|abort] Panic strategy to compile crate with
+
+Enum
+Name(frust_panic) Type(int) UnknownError(unknown panic strategy %qs)
+
+EnumValue
+Enum(frust_panic) String(unwind) Value(0)
+
+EnumValue
+Enum(frust_panic) String(abort) Value(1)
+
; This comment is to ensure we retain the blank line above.