File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 171
171
# Unreleased
172
172
173
173
## Added
174
+ * Added ` --macro-function ` argument and corresponding ` macro_function ` builder function.
175
+ These allow defining macros for which a wrapper function will be generated,
176
+ which allows to call these macros from Rust.
174
177
## Changed
178
+ * Renamed ` --wrap-static-fns-path ` argument to ` --native-code-generation-path ` and the
179
+ corresponding ` wrap_static_fns_path ` builder function to ` native_code_generation_path ` .
175
180
## Removed
176
181
## Fixed
177
182
## Security
192
197
* The ` --wrap-static-fns ` option can now wrap ` va_list ` functions as variadic functions
193
198
with the experimental ` ParseCallbacks::wrap_as_variadic_fn ` method.
194
199
* Add target mappings for riscv32imc and riscv32imac.
195
- * Add the ` ParseCallbacks::field_visibility ` method to modify field visibility.
200
+ * Add the ` ParseCallbacks::field_visibility ` method to modify field visibility.
196
201
197
202
## Changed
198
203
216
221
* Compute visibility of bitfield unit based on actual field visibility: A
217
222
bitfield unit field and its related functions now have their visibility
218
223
determined based on the most private between the default visibility and the
219
- actual visibility of the bitfields within the unit.
224
+ actual visibility of the bitfields within the unit.
220
225
221
226
## Removed
222
227
* Remove redundant Cargo features, which were all implicit:
272
277
types. (#2463 )
273
278
* The ` Builder::rustfmt_bindings ` methods and the ` --no-rustfmt-bindings ` flag
274
279
are now deprecated in favor of the formatter API. (#2453 )
275
-
280
+
276
281
## Removed
277
282
* The following deprecated flags were removed: ` --use-msvc-mangling ` ,
278
283
` --rustfmt-bindings ` and ` --size_t-is-usize ` . (#2408 )
You can’t perform that action at this time.
0 commit comments