Commit eb70b7f
committed
Auto merge of #3250 - andrewdavidmackenzie:main, r=JohnTitor
Add ucred struct and field type aliases for redox
This PR is redox-os specific and adds the ucred struct and type aliases for its fields into the unix/redox/mod.rs file.
This will enable a number of packages (e.g. Tokio) to compile for redox-os using the existing code for linux and other unix-lioke target_os. If this is merged, then follow-up PRs will be made to Tokio and other crates to add "redox" to the list of target_os that said code is enabled for, without adding code to Tokio.
Then tokio as-is will build on redox, and no fork or patch will need to be maintained by the redox team.
- \[X] `cd libc-test && cargo test` --> Tests pass1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
259 | 268 | | |
260 | 269 | | |
261 | 270 | | |
| |||
0 commit comments