Skip to content

Commit ddb0a1e

Browse files
committed
---
yaml --- r: 206222 b: refs/heads/beta c: 2007169 h: refs/heads/master v: v3
1 parent 094b4a0 commit ddb0a1e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3030
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3131
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32-
refs/heads/beta: bd4b984537bd33c9625212c9ccbb3a6084001407
32+
refs/heads/beta: 2007169583f4b1e98d4d69ed05a63fa4919753bf
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3535
refs/heads/tmp: 579e31929feff51dcaf8d444648eff8de735f91a

branches/beta/src/librustc/session/config.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,11 +755,14 @@ mod opt {
755755
pub fn multi(a: S, b: S, c: S, d: S) -> R { stable(getopts::optmulti(a, b, c, d)) }
756756
pub fn flag(a: S, b: S, c: S) -> R { stable(getopts::optflag(a, b, c)) }
757757
pub fn flagopt(a: S, b: S, c: S, d: S) -> R { stable(getopts::optflagopt(a, b, c, d)) }
758+
pub fn flagmulti(a: S, b: S, c: S) -> R { stable(getopts::optflagmulti(a, b, c)) }
759+
758760

759761
pub fn opt_u(a: S, b: S, c: S, d: S) -> R { unstable(getopts::optopt(a, b, c, d)) }
760762
pub fn multi_u(a: S, b: S, c: S, d: S) -> R { unstable(getopts::optmulti(a, b, c, d)) }
761763
pub fn flag_u(a: S, b: S, c: S) -> R { unstable(getopts::optflag(a, b, c)) }
762764
pub fn flagopt_u(a: S, b: S, c: S, d: S) -> R { unstable(getopts::optflagopt(a, b, c, d)) }
765+
pub fn flagmulti_u(a: S, b: S, c: S) -> R { unstable(getopts::optflagmulti(a, b, c)) }
763766
}
764767

765768
/// Returns the "short" subset of the rustc command line options,
@@ -786,8 +789,8 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
786789
opt::multi("", "print", "Comma separated list of compiler information to \
787790
print on stdout",
788791
"[crate-name|file-names|sysroot]"),
789-
opt::flag("g", "", "Equivalent to -C debuginfo=2"),
790-
opt::flag("O", "", "Equivalent to -C opt-level=2"),
792+
opt::flagmulti("g", "", "Equivalent to -C debuginfo=2"),
793+
opt::flagmulti("O", "", "Equivalent to -C opt-level=2"),
791794
opt::opt("o", "", "Write output to <filename>", "FILENAME"),
792795
opt::opt("", "out-dir", "Write output to compiler-chosen filename \
793796
in <dir>", "DIR"),

0 commit comments

Comments
 (0)