diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-12-09 13:57:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 13:57:01 -0600 |
commit | c3ec58cc0f02ea0db27633f34a117de3c4475526 (patch) | |
tree | 8802a44d242378d3a0a2f16c78129dafe58209d3 | |
parent | 6355f0a3dce637512b4ea279dbd4b1737fc46ce2 (diff) | |
parent | 23d9f12f6e58e9c4f38a6cb79a8aa5c9e7b217ea (diff) |
Auto merge of #1186 - manaskarekar:issue-1182, r=emilio
Fix command_line_flags mis-generation of rust-target's flags.
Trying to address issue #1182.
r? @fitzgen
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -178,6 +178,7 @@ impl Builder { output_vector.push(header); } + output_vector.push("--rust-target".into()); output_vector.push(self.options.rust_target.into()); self.options @@ -1898,6 +1899,7 @@ fn commandline_flag_unit_test_function() { let command_line_flags = bindings.command_line_flags(); let test_cases = vec![ + "--rust-target", "--no-derive-default", "--generate", "function,types,vars,methods,constructors,destructors", @@ -1917,6 +1919,7 @@ fn commandline_flag_unit_test_function() { let command_line_flags = bindings.command_line_flags(); let test_cases = vec![ + "--rust-target", "input_header", "--no-derive-default", "--generate", |