summaryrefslogtreecommitdiff
path: root/tests/tests.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-10-26 20:50:36 -0500
committerGitHub <noreply@github.com>2017-10-26 20:50:36 -0500
commitf315d2c99e9566401193c125ac71bc8cf56443f6 (patch)
tree95c88c1f3ffebdf1c11b307811dbc5a16b1ffeba /tests/tests.rs
parent208b98a55f23b92d874219ec6546f06c3bea5cd5 (diff)
parent5d271568e07522503ddc361152633385a537cc2d (diff)
Auto merge of #1105 - seemyvest:issue-964, r=seemyvest
Add --no-hash <regex> flag Issue #964 - [x] Adding a new RegexSet member to bindgen::Builder (similar to the whitelisted_types set). - [x] A Builder method to add strings to that RegexSet. - [x] Plumbing in src/options.rs to convert --no-hash <regex> CLI flags into invocations of the builder method. - [x] Making the MonotoneFramework::constrain function in src/ir/analysis/derive_hash.rs check if the given item is explicitly marked not to be Hash, and if so, inserting it into the self.cannot_derive_hash set via return self.insert(id). - [x] Tests! - [x] When the no-hash type is transitively referenced by a whitelisted item - [x] When the no-hash type is explicitly whitelisted - [x] When the no-hash type is marked opaque r? @fitzgen
Diffstat (limited to 'tests/tests.rs')
0 files changed, 0 insertions, 0 deletions