Files
rust/src/libstd/sys/windows
Mazdak Farrokhzad 4ad743c022 Rollup merge of #63013 - nivkner:ffi-safe-slice, r=sfackler
add `repr(transparent)` to `IoSliceMut` where missing

tried using `IoSliceMut` in FFI, got `improper_ctypes` warning.

according to the docs: `IoSliceMut` is  "guaranteed to be ABI compatible with the `iovec` type" so it should be usable in FFI.
`IoSlice` is also `repr(transparent)` for every platform where these types contain `iovec`-like types.
vxworks also has `IoSliceMut` as transparent so its not even consistently one or the other.

no comment about this next to the types or in the PR that introduced the types, so assuming this was just missed.

r? @sfackler
2019-07-27 17:40:49 +02:00
..
2019-02-28 04:06:15 +09:00
2018-12-25 21:08:33 -07:00
2019-02-28 04:06:15 +09:00
2018-12-25 21:08:33 -07:00
2019-04-27 08:34:08 -07:00
2019-01-13 19:47:02 +00:00
2019-03-26 09:23:19 +01:00
2019-07-01 12:15:27 +02:00
2019-07-25 21:30:08 +02:00
2019-02-28 04:06:15 +09:00
2019-02-28 04:06:15 +09:00
2019-02-28 04:06:17 +09:00
2019-02-28 04:06:15 +09:00
2019-04-10 09:40:44 +08:00
2019-04-04 07:19:14 -07:00