File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ - Mark ` Vector ` union as ` repr(C) `
11
+
10
12
## [ v0.30.2] - 2023-10-22
11
13
12
14
- Fix documentation warnings
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ pub fn render(
133
133
}
134
134
135
135
#[ doc( hidden) ]
136
+ #[ repr( C ) ]
136
137
pub union Vector {
137
138
_handler: unsafe extern "C" fn ( ) ,
138
139
_reserved: u32 ,
@@ -167,6 +168,7 @@ pub fn render(
167
168
}
168
169
169
170
#[ doc( hidden) ]
171
+ #[ repr( C ) ]
170
172
pub union Vector {
171
173
_handler: unsafe extern "msp430-interrupt" fn ( ) ,
172
174
_reserved: u16 ,
@@ -201,6 +203,7 @@ pub fn render(
201
203
}
202
204
203
205
#[ doc( hidden) ]
206
+ #[ repr( C ) ]
204
207
pub union Vector {
205
208
pub _handler: unsafe extern "C" fn ( ) ,
206
209
pub _reserved: usize ,
@@ -233,6 +236,7 @@ pub fn render(
233
236
}
234
237
235
238
#[ doc( hidden) ]
239
+ #[ repr( C ) ]
236
240
pub union Vector {
237
241
pub _handler: unsafe extern "C" fn ( ) ,
238
242
_reserved: u32 ,
You can’t perform that action at this time.
0 commit comments