File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 166
166
167
167
--------------------------------------------------------------------------------
168
168
169
- # Unreleased
169
+ # Unreleased
170
170
171
171
## Added
172
+ * Added ` --macro-function ` argument and corresponding ` macro_function ` builder function.
173
+ These allow defining macros for which a wrapper function will be generated,
174
+ which allows to call these macros from Rust.
172
175
## Changed
176
+ * Renamed ` --wrap-static-fns-path ` argument to ` --native-code-generation-path ` and the
177
+ corresponding ` wrap_static_fns_path ` builder function to ` native_code_generation_path ` .
173
178
## Removed
174
179
## Fixed
175
180
## Security
185
190
* The ` --wrap-static-fns ` option can now wrap ` va_list ` functions as variadic functions
186
191
with the experimental ` ParseCallbacks::wrap_as_variadic_fn ` method.
187
192
* Add target mappings for riscv32imc and riscv32imac.
188
- * Add the ` ParseCallbacks::field_visibility ` method to modify field visibility.
193
+ * Add the ` ParseCallbacks::field_visibility ` method to modify field visibility.
189
194
190
195
## Changed
191
196
209
214
* Compute visibility of bitfield unit based on actual field visibility: A
210
215
bitfield unit field and its related functions now have their visibility
211
216
determined based on the most private between the default visibility and the
212
- actual visibility of the bitfields within the unit.
217
+ actual visibility of the bitfields within the unit.
213
218
214
219
## Removed
215
220
* Remove redundant Cargo features, which were all implicit:
265
270
types. (#2463 )
266
271
* The ` Builder::rustfmt_bindings ` methods and the ` --no-rustfmt-bindings ` flag
267
272
are now deprecated in favor of the formatter API. (#2453 )
268
-
273
+
269
274
## Removed
270
275
* The following deprecated flags were removed: ` --use-msvc-mangling ` ,
271
276
` --rustfmt-bindings ` and ` --size_t-is-usize ` . (#2408 )
You can’t perform that action at this time.
0 commit comments