Commit 1f3edb5
committed
Add a "SAFETY:" comment in
The `GetCurrentProcess` and `IsWow64Process` Windows API calls
(mediated through the `windows` crate) are pretty straightforward,
and this code is only in the test suite, not in production. Still,
it's probably best to have a "SAFETY:" comment where `unsafe` code
is used. This adds such a comment, covering those two calls.PlatformBitness::current()
1 parent eec407f commit 1f3edb5
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
187 | 191 | | |
| |||
0 commit comments