Skip to content

Commit 3c22c3c

Browse files
committed
Support multiple --no-unstable-rust options
Dirty hack to pass legacy test suite.
1 parent 2886f1e commit 3c22c3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ pub fn builder_from_flags<I>(args: I) -> Result<(Builder, Box<io::Write>), io::E
195195
.help("Don't automatically convert floats to f32/f64."),
196196
Arg::with_name("no-unstable-rust")
197197
.long("no-unstable-rust")
198-
.help("Do not generate unstable Rust code."),
198+
.help("Do not generate unstable Rust code.")
199+
.multiple(true), // FIXME: Pass legacy test suite
199200
Arg::with_name("opaque-type")
200201
.long("opaque-type")
201202
.help("Mark a type as opaque.")

0 commit comments

Comments
 (0)