Apply suggestions from code review

Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
This commit is contained in:
Eric Huss 2020-05-27 09:21:23 -07:00 committed by Who? Me?!
parent 8f7abbdf41
commit 3d077bb26e
1 changed files with 2 additions and 2 deletions

View File

@ -13,14 +13,14 @@ flags should be documented there. Unstable flags should be documented in the
such as `-C embed-bitcode=no`.
- Consider the behavior if the flag is passed multiple times. In some
situations, the values should be accumulated (in order!). In other
situations, subsequence flags should override previous flags (for example,
situations, subsequent flags should override previous flags (for example,
the lint-level flags). And some flags (like `-o`) should generate an error
if it is too ambiguous what multiple flags would mean.
- Always give options a long descriptive name, if only for more understandable
compiler scripts.
- The `--verbose` flag is for adding verbose information to `rustc` output
when not compiling a program. For example, using it with the `--version`
flag gives information about the hashes of the code.
flag gives information about the hashes of the compiler code.
- Experimental flags and options must be guarded behind the `-Z
unstable-options` flag.