]> git.lizzy.rs Git - rust.git/commit
Support having -Z and -C options with the same name
authorJosh Triplett <josh@joshtriplett.org>
Thu, 21 Oct 2021 11:18:59 +0000 (13:18 +0200)
committerJosh Triplett <josh@joshtriplett.org>
Mon, 15 Nov 2021 09:18:30 +0000 (10:18 +0100)
commitc4884bbec7ae6ba06211a2769271b8db38c8284b
tree60fc33d82fdc73ef2fe7eb9854c463daab769ef2
parent42054811104bb005ded241ea8846ba7383921c46
Support having -Z and -C options with the same name

Tweak the `options!` macro to allow for -Z and -C options with the same
name without generating conflicting internal parsing functions.

Split out of the commit stabilizing -Z strip as -C strip.
compiler/rustc_session/src/options.rs