summaryrefslogtreecommitdiff
path: root/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-02-08 02:00:47 -0800
committerGitHub <noreply@github.com>2017-02-08 02:00:47 -0800
commitddc07fc6ba1586bac0edc0e80b99a83de1616538 (patch)
tree887ad8bd50b96ac2e48bc8c5fedc3d8cc7b09252 /src/codegen/helpers.rs
parentcedadf9c48099d831b898d5c90e2868f4d11743f (diff)
parent692ff7420c84f1b00813a247b853caf3ece2c27c (diff)
Auto merge of #463 - dengjeffrey:whitelist-binding-panic, r=emilio
Added catch_unwind to catch panic at generator Fixes #50 - Adds a `catch_unwind` to catch panic at binding generation. - Prints out a more detailed message that points to the potential misuse of flags, when `generate()` fails. - Added false-by-default `verbose` option flag to specify whether detailed message should be printed for the time being - [x] Ran all test cases - [x] Verified that correct error messages appear when bindings fail to generate - [x] Verified use of verbose flag - [x] Considered changes made by `cargo fmt` r? @emilio
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions