; Options for the Rust front end.
; Copyright (C) 2003-2022 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 3, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING3. If not see
; .
; See the GCC internals manual for a description of this file's format.
; Please try to keep this file in ASCII collating order.
; Describes command-line options used by this frontend
Language
Rust
I
Rust Joined Separate
; Documented in c.opt
L
Rust Joined Separate
; Not documented
frust-crate=
Rust Joined RejectNegative
-frust-crate= Set the crate name for the compilation
frust-debug
Rust Var(flag_rust_debug)
Dump various Rust front end internals.
frust-dump-
Rust Joined RejectNegative
-frust-dump- Dump Rust frontend internal information.
frust-mangling=
Rust Joined RejectNegative Enum(frust_mangling) Var(flag_rust_mangling)
-frust-mangling=[legacy|v0] Choose which version to use for name mangling
Enum
Name(frust_mangling) Type(int) UnknownError(unknown rust mangling option %qs)
EnumValue
Enum(frust_mangling) String(legacy) Value(0)
EnumValue
Enum(frust_mangling) String(v0) Value(1)
frust-cfg=
Rust Joined RejectNegative
-frust-cfg= Set a config expansion option
o
Rust Joined Separate
; Documented in common.opt
; This comment is to ensure we retain the blank line above.