File tree 2 files changed +6
-1
lines changed 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 201
201
## Changed
202
202
203
203
* Regex inputs are sanitized so alternation (` a|b ` ) is handled correctly but
204
- wildcard patterns (` * ` ) are now considered invalid.
204
+ wildcard patterns (` * ` ) are now considered invalid. The ` .* ` pattern can be
205
+ used as a replacement.
205
206
* the ` ParseCallbacks ` trait does not require to implement ` UnwindSafe ` .
206
207
* the ` Builder::parse_callbacks ` method no longer overwrites previously added
207
208
callbacks and composes them in a last-to-first manner.
Original file line number Diff line number Diff line change @@ -244,6 +244,10 @@ impl Default for CodegenConfig {
244
244
/// regular expressions as arguments. These regular expressions will be parenthesized and wrapped
245
245
/// in `^` and `$`. So if `<regex>` is passed as argument, the regular expression to be stored will
246
246
/// be `^(<regex>)$`.
247
+ ///
248
+ /// Releases of `bindgen` with a version lesser or equal to `0.62.0` used to accept the wildcard
249
+ /// pattern `*` as a valid regular expression. This behavior has been deprecated and the `.*`
250
+ /// pattern must be used instead.
247
251
#[ derive( Debug , Default , Clone ) ]
248
252
pub struct Builder {
249
253
options : BindgenOptions ,
You can’t perform that action at this time.
0 commit comments