Skip to content

Commit 2bcff0f

Browse files
authored
Prepare to release 0.65.0 (#2492)
* Remove debugging prints * Clean changelog * Bump versions * Run doctoc
1 parent 54bf9ca commit 2bcff0f

File tree

5 files changed

+99
-84
lines changed

5 files changed

+99
-84
lines changed

CHANGELOG.md

Lines changed: 93 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -7,126 +7,130 @@
77
- [Removed](#removed)
88
- [Fixed](#fixed)
99
- [Security](#security)
10-
- [0.64.0](#0640)
10+
- [0.65.0](#0650)
1111
- [Added](#added-1)
1212
- [Changed](#changed-1)
1313
- [Removed](#removed-1)
14-
- [Fixed](#fixed-1)
15-
- [Security](#security-1)
16-
- [0.63.0](#0630)
14+
- [0.64.0](#0640)
1715
- [Added](#added-2)
1816
- [Changed](#changed-2)
1917
- [Removed](#removed-2)
20-
- [0.62.0](#0620)
18+
- [Fixed](#fixed-1)
19+
- [Security](#security-1)
20+
- [0.63.0](#0630)
2121
- [Added](#added-3)
2222
- [Changed](#changed-3)
23-
- [Fixed](#fixed-2)
24-
- [0.61.0](#0610)
23+
- [Removed](#removed-3)
24+
- [0.62.0](#0620)
2525
- [Added](#added-4)
2626
- [Changed](#changed-4)
27+
- [Fixed](#fixed-2)
28+
- [0.61.0](#0610)
29+
- [Added](#added-5)
30+
- [Changed](#changed-5)
2731
- [Fixed](#fixed-3)
2832
- [0.60.1](#0601)
2933
- [Fixed](#fixed-4)
3034
- [0.60.0](#0600)
31-
- [Added](#added-5)
35+
- [Added](#added-6)
3236
- [Fixed](#fixed-5)
33-
- [Changed](#changed-5)
34-
- [Removed](#removed-3)
37+
- [Changed](#changed-6)
38+
- [Removed](#removed-4)
3539
- [0.59.2](#0592)
3640
- [0.59.1](#0591)
3741
- [Fixed](#fixed-6)
3842
- [0.59.0](#0590)
39-
- [Added](#added-6)
43+
- [Added](#added-7)
4044
- [Fixed](#fixed-7)
41-
- [Changed](#changed-6)
45+
- [Changed](#changed-7)
4246
- [0.58.1](#0581)
43-
- [Added](#added-7)
44-
- [0.58.0](#0580)
4547
- [Added](#added-8)
48+
- [0.58.0](#0580)
49+
- [Added](#added-9)
4650
- [Fixed](#fixed-8)
47-
- [Changed](#changed-7)
51+
- [Changed](#changed-8)
4852
- [Deprecated](#deprecated)
49-
- [Removed](#removed-4)
53+
- [Removed](#removed-5)
5054
- [Fixed](#fixed-9)
5155
- [Security](#security-2)
5256
- [0.57.0](#0570)
53-
- [Added](#added-9)
57+
- [Added](#added-10)
5458
- [Fixed](#fixed-10)
5559
- [0.56.0](#0560)
56-
- [Added](#added-10)
57-
- [Changed](#changed-8)
60+
- [Added](#added-11)
61+
- [Changed](#changed-9)
5862
- [Fixed](#fixed-11)
5963
- [0.55.1](#0551)
6064
- [Fixed](#fixed-12)
6165
- [0.55.0](#0550)
62-
- [Removed](#removed-5)
63-
- [Added](#added-11)
64-
- [Changed](#changed-9)
66+
- [Removed](#removed-6)
67+
- [Added](#added-12)
68+
- [Changed](#changed-10)
6569
- [Fixed](#fixed-13)
6670
- [0.54.1](#0541)
67-
- [Added](#added-12)
68-
- [Changed](#chainged-10)
69-
- [Fixed](#fixed-14)
70-
- [0.54.0](#0540)
7171
- [Added](#added-13)
7272
- [Changed](#changed-11)
73+
- [Fixed](#fixed-14)
74+
- [0.54.0](#0540)
75+
- [Added](#added-14)
76+
- [Changed](#changed-12)
7377
- [Fixed](#fixed-15)
7478
- [0.53.3](#0533)
75-
- [Added](#added-14)
79+
- [Added](#added-15)
7680
- [Fixed](#fixed-16)
7781
- [0.53.2](#0532)
78-
- [Changed](#changed-12)
82+
- [Changed](#changed-13)
7983
- [0.53.1](#0531)
80-
- [Added](#added-15)
81-
- [0.53.0](#0530)
8284
- [Added](#added-16)
83-
- [Changed](#changed-13)
84-
- [Fixed](#fixed-17)
85-
- [0.52.0](#0520)
85+
- [0.53.0](#0530)
8686
- [Added](#added-17)
8787
- [Changed](#changed-14)
88+
- [Fixed](#fixed-17)
89+
- [0.52.0](#0520)
90+
- [Added](#added-18)
91+
- [Changed](#changed-15)
8892
- [Fixed](#fixed-18)
8993
- [0.51.1](#0511)
9094
- [Fixed](#fixed-19)
91-
- [Changed](#changed-15)
95+
- [Changed](#changed-16)
9296
- [0.51.0](#0510)
9397
- [Fixed](#fixed-20)
94-
- [Changed](#changed-16)
95-
- [Added](#added-18)
96-
- [0.50.0](#0500)
98+
- [Changed](#changed-17)
9799
- [Added](#added-19)
98-
- [0.49.3](#0493)
100+
- [0.50.0](#0500)
99101
- [Added](#added-20)
102+
- [0.49.3](#0493)
103+
- [Added](#added-21)
100104
- [0.49.2](#0492)
101-
- [Changed](#changed-17)
105+
- [Changed](#changed-18)
102106
- [0.49.1](#0491)
103107
- [Fixed](#fixed-21)
104-
- [Changed](#changed-18)
108+
- [Changed](#changed-19)
105109
- [0.49.0](#0490)
106-
- [Added](#added-21)
110+
- [Added](#added-22)
107111
- [Fixed](#fixed-22)
108-
- [Changed](#changed-19)
112+
- [Changed](#changed-20)
109113
- [0.48.1](#0481)
110114
- [Fixed](#fixed-23)
111115
- [0.48.0](#0480)
112-
- [Changed](#changed-20)
116+
- [Changed](#changed-21)
113117
- [Fixed](#fixed-24)
114118
- [0.47.4](#0474)
115-
- [Added](#added-22)
119+
- [Added](#added-23)
116120
- [0.47.3](#0473)
117-
- [Changed](#changed-21)
121+
- [Changed](#changed-22)
118122
- [0.47.2](#0472)
119123
- [Fixed](#fixed-25)
120124
- [0.47.1](#0471)
121-
- [Changed](#changed-22)
125+
- [Changed](#changed-23)
122126
- [Fixed](#fixed-26)
123127
- [0.47.0](#0470)
124-
- [Changed](#changed-23)
128+
- [Changed](#changed-24)
125129
- [Fixed](#fixed-27)
126130
- [0.33.1 .. 0.46.0](#0331--0460)
127-
- [Added](#added-23)
128-
- [Removed](#removed-6)
129-
- [Changed](#changed-24)
131+
- [Added](#added-24)
132+
- [Removed](#removed-7)
133+
- [Changed](#changed-25)
130134
- [Fixed](#fixed-28)
131135
- [0.33.1](#0331)
132136
- [Fixed](#fixed-29)
@@ -136,23 +140,23 @@
136140
- [0.32.1](#0321)
137141
- [Fixed](#fixed-31)
138142
- [0.32.0](#0320)
139-
- [Added](#added-24)
140-
- [Changed](#changed-25)
141-
- [Fixed](#fixed-32)
142-
- [0.31.0](#0310)
143143
- [Added](#added-25)
144144
- [Changed](#changed-26)
145+
- [Fixed](#fixed-32)
146+
- [0.31.0](#0310)
147+
- [Added](#added-26)
148+
- [Changed](#changed-27)
145149
- [Deprecated](#deprecated-1)
146-
- [Removed](#removed-7)
150+
- [Removed](#removed-8)
147151
- [Fixed](#fixed-33)
148152
- [0.30.0](#0300)
149-
- [Added](#added-26)
150-
- [Changed](#changed-27)
153+
- [Added](#added-27)
154+
- [Changed](#changed-28)
151155
- [Deprecated](#deprecated-2)
152156
- [Fixed](#fixed-34)
153157
- [0.29.0](#0290)
154-
- [Added](#added-27)
155-
- [Changed](#changed-28)
158+
- [Added](#added-28)
159+
- [Changed](#changed-29)
156160
- [Fixed](#fixed-35)
157161

158162
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -161,47 +165,60 @@
161165

162166
# Unreleased
163167

168+
## Added
169+
170+
## Changed
171+
172+
## Removed
173+
174+
## Fixed
175+
176+
## Security
177+
178+
# 0.65.0
179+
164180
## Added
165181
* Added the `Builder::default_visibility` method and the
166-
`--default-visibility` flag to set the default visibility of fields.
182+
`--default-visibility` flag to set the default visibility of fields. (#2338)
167183
* Added the `--formatter` CLI flag with the values `none`, `rustfmt` and
168184
`prettyplease` to select which tool will be used to format the bindings. The
169-
default value is `rustfmt`.
185+
default value is `rustfmt`. (#2453)
170186
* Added the `Builder::formatter` method and the `Formatter` type to select
171-
which tool will be used to format the bindings.
187+
which tool will be used to format the bindings. (#2453)
172188
* Added the `Builder::emit_diagnostics` method and the `--emit-diagnostics`
173189
flag to enable emission of diagnostic messages under the `experimental`
174-
feature.
175-
* Added support for the `"efiapi"` calling convention.
190+
feature. (#2436)
191+
* Added support for the `"efiapi"` calling convention (#2490).
176192
* Added the `ParseCallbacks::read_env_var` method which runs everytime
177-
`bindgen` reads and environment variable.
193+
`bindgen` reads and environment variable. (#2400)
194+
* Added the `ParseCallbacks::generated_link_name_override` method which allow
195+
overriding the link name of items. (#2425)
196+
* Add support for C `enum`s when generating code while using the
197+
`--wrap-static-fns` feature. (#2415)
178198

179199
## Changed
180200
* Static functions with no arguments use `void` as their single argument
181201
instead of having no arguments when the `--wrap-static-fns` flag is used.
202+
(#2443)
182203
* The source file generated when the `--wrap-static-fns` flag is enabled now
183204
contains `#include` directives with all the input headers and all the source
184-
code added with the `header_contents` method.
205+
code added with the `header_contents` method. (#2447)
185206
* The source file generated when the `--wrap-static-fns` flag no longer uses
186207
`asm` labeling and the link name of static wrapper functions is allowed to
187-
be mangled.
208+
be mangled. (#2448)
188209
* The documentation of the generated `type` aliases now matches the comments
189210
of their `typedef` counterparts instead of using the comments of the aliased
190-
types.
211+
types. (#2463)
191212
* The `Builder::rustfmt_bindings` methods and the `--no-rustfmt-bindings` flag
192-
are now deprecated in favor of the formatter API.
213+
are now deprecated in favor of the formatter API. (#2453)
193214

194215
## Removed
195216
* The following deprecated flags were removed: `--use-msvc-mangling`,
196-
`--rustfmt-bindings` and `--size_t-is-usize`.
217+
`--rustfmt-bindings` and `--size_t-is-usize`. (#2408)
197218
* The `Bindings::emit_warnings` and `Bindings::warnings` methods were removed
198-
in favor of `--emit-diagnostics`.
219+
in favor of `--emit-diagnostics`. (#2436)
199220
* Bindgen no longer generates C string constants that cannot be represented as
200-
byte slices.
201-
202-
## Fixed
203-
204-
## Security
221+
byte slices. (#2487)
205222

206223
# 0.64.0
207224

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-cli/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ readme = "../README.md"
1111
repository = "https://github.com/rust-lang/rust-bindgen"
1212
documentation = "https://docs.rs/bindgen"
1313
homepage = "https://rust-lang.github.io/rust-bindgen/"
14-
version = "0.64.0"
14+
version = "0.65.0"
1515
edition = "2018"
16-
# If you change this, also update README.md and msrv in .github/workflows/bindgen.yml
17-
rust-version = "1.60.0"
16+
rust-version = "1.64.0"
1817

1918
[[bin]]
2019
path = "main.rs"
2120
name = "bindgen"
2221

2322
[dependencies]
24-
bindgen = { path = "../bindgen", version = "=0.64.0", features = ["__cli", "experimental"] }
23+
bindgen = { path = "../bindgen", version = "=0.65.0", features = ["__cli", "experimental"] }
2524
shlex = "1"
2625
clap = { version = "4", features = ["derive"] }
2726
env_logger = { version = "0.10.0", optional = true }

bindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ readme = "../README.md"
1414
repository = "https://github.com/rust-lang/rust-bindgen"
1515
documentation = "https://docs.rs/bindgen"
1616
homepage = "https://rust-lang.github.io/rust-bindgen/"
17-
version = "0.64.0"
17+
version = "0.65.0"
1818
edition = "2018"
1919
build = "build.rs"
2020
# If you change this, also update README.md and msrv in .github/workflows/bindgen.yml

bindgen/options/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ macro_rules! options {
121121
};
122122

123123
$({
124-
eprintln!("doing {}", stringify!($field));
125124
let func: fn(&$ty, &mut Vec<String>) = as_args!($as_args);
126125
func(&self.options.$field, &mut args);
127126
})*

0 commit comments

Comments
 (0)