diff options
Diffstat (limited to 'gcc/rust/lang.opt')
-rw-r--r-- | gcc/rust/lang.opt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/rust/lang.opt b/gcc/rust/lang.opt index ddd2868..794a667 100644 --- a/gcc/rust/lang.opt +++ b/gcc/rust/lang.opt @@ -34,6 +34,14 @@ L Rust Joined Separate ; Not documented +Wall +Rust +; Documented in c.opt + +Wunused-result +Rust Var(warn_unused_result) Init(1) Warning +Warn if a caller of a function, marked with attribute warn_unused_result, does not use its return value. + frust-crate= Rust Joined RejectNegative -frust-crate=<name> Set the crate name for the compilation |