Kelvin Ly | 6e4beb6 | 2017-04-24 21:08:24 -0400 | [diff] [blame^] | 1 | warning: profiles for the non root package will be ignored, specify profiles at the workspace root: |
| 2 | package: /home/kelvin/repos/libc/libc-test/Cargo.toml |
| 3 | workspace: /home/kelvin/repos/libc/Cargo.toml |
| 4 | Compiling libc v0.2.21 (file:///home/kelvin/repos/libc) |
| 5 | error[E0412]: cannot find type `c_char` in this scope |
| 6 | --> /home/kelvin/repos/libc/src/lib.rs:154:35 |
| 7 | | |
| 8 | 154 | pub fn fopen(filename: *const c_char, |
| 9 | | ^^^^^^ did you mean `c_schar`? |
| 10 | | |
| 11 | = help: possible candidate is found in another module, you can import it into scope: |
| 12 | `use core::os::raw::c_char;` |
| 13 | |
| 14 | error[E0412]: cannot find type `c_char` in this scope |
| 15 | --> /home/kelvin/repos/libc/src/lib.rs:155:31 |
| 16 | | |
| 17 | 155 | mode: *const c_char) -> *mut FILE; |
| 18 | | ^^^^^^ did you mean `c_schar`? |
| 19 | | |
| 20 | = help: possible candidate is found in another module, you can import it into scope: |
| 21 | `use core::os::raw::c_char;` |
| 22 | |
| 23 | error[E0412]: cannot find type `c_char` in this scope |
| 24 | --> /home/kelvin/repos/libc/src/lib.rs:158:37 |
| 25 | | |
| 26 | 158 | pub fn freopen(filename: *const c_char, mode: *const c_char, |
| 27 | | ^^^^^^ did you mean `c_schar`? |
| 28 | | |
| 29 | = help: possible candidate is found in another module, you can import it into scope: |
| 30 | `use core::os::raw::c_char;` |
| 31 | |
| 32 | error[E0412]: cannot find type `c_char` in this scope |
| 33 | --> /home/kelvin/repos/libc/src/lib.rs:158:58 |
| 34 | | |
| 35 | 158 | pub fn freopen(filename: *const c_char, mode: *const c_char, |
| 36 | | ^^^^^^ did you mean `c_schar`? |
| 37 | | |
| 38 | = help: possible candidate is found in another module, you can import it into scope: |
| 39 | `use core::os::raw::c_char;` |
| 40 | |
| 41 | error[E0412]: cannot find type `c_char` in this scope |
| 42 | --> /home/kelvin/repos/libc/src/lib.rs:162:36 |
| 43 | | |
| 44 | 162 | pub fn remove(filename: *const c_char) -> c_int; |
| 45 | | ^^^^^^ did you mean `c_schar`? |
| 46 | | |
| 47 | = help: possible candidate is found in another module, you can import it into scope: |
| 48 | `use core::os::raw::c_char;` |
| 49 | |
| 50 | error[E0412]: cannot find type `c_char` in this scope |
| 51 | --> /home/kelvin/repos/libc/src/lib.rs:163:35 |
| 52 | | |
| 53 | 163 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; |
| 54 | | ^^^^^^ did you mean `c_schar`? |
| 55 | | |
| 56 | = help: possible candidate is found in another module, you can import it into scope: |
| 57 | `use core::os::raw::c_char;` |
| 58 | |
| 59 | error[E0412]: cannot find type `c_char` in this scope |
| 60 | --> /home/kelvin/repos/libc/src/lib.rs:163:59 |
| 61 | | |
| 62 | 163 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; |
| 63 | | ^^^^^^ did you mean `c_schar`? |
| 64 | | |
| 65 | = help: possible candidate is found in another module, you can import it into scope: |
| 66 | `use core::os::raw::c_char;` |
| 67 | |
| 68 | error[E0412]: cannot find type `c_char` in this scope |
| 69 | --> /home/kelvin/repos/libc/src/lib.rs:166:33 |
| 70 | | |
| 71 | 166 | buffer: *mut c_char, |
| 72 | | ^^^^^^ did you mean `c_schar`? |
| 73 | | |
| 74 | = help: possible candidate is found in another module, you can import it into scope: |
| 75 | `use core::os::raw::c_char;` |
| 76 | |
| 77 | error[E0412]: cannot find type `c_char` in this scope |
| 78 | --> /home/kelvin/repos/libc/src/lib.rs:169:48 |
| 79 | | |
| 80 | 169 | pub fn setbuf(stream: *mut FILE, buf: *mut c_char); |
| 81 | | ^^^^^^ did you mean `c_schar`? |
| 82 | | |
| 83 | = help: possible candidate is found in another module, you can import it into scope: |
| 84 | `use core::os::raw::c_char;` |
| 85 | |
| 86 | error[E0412]: cannot find type `c_char` in this scope |
| 87 | --> /home/kelvin/repos/libc/src/lib.rs:173:28 |
| 88 | | |
| 89 | 173 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; |
| 90 | | ^^^^^^ did you mean `c_schar`? |
| 91 | | |
| 92 | = help: possible candidate is found in another module, you can import it into scope: |
| 93 | `use core::os::raw::c_char;` |
| 94 | |
| 95 | error[E0412]: cannot find type `c_char` in this scope |
| 96 | --> /home/kelvin/repos/libc/src/lib.rs:173:73 |
| 97 | | |
| 98 | 173 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; |
| 99 | | ^^^^^^ did you mean `c_schar`? |
| 100 | | |
| 101 | = help: possible candidate is found in another module, you can import it into scope: |
| 102 | `use core::os::raw::c_char;` |
| 103 | |
| 104 | error[E0412]: cannot find type `c_char` in this scope |
| 105 | --> /home/kelvin/repos/libc/src/lib.rs:177:28 |
| 106 | | |
| 107 | 177 | pub fn fputs(s: *const c_char, stream: *mut FILE)-> c_int; |
| 108 | | ^^^^^^ did you mean `c_schar`? |
| 109 | | |
| 110 | = help: possible candidate is found in another module, you can import it into scope: |
| 111 | `use core::os::raw::c_char;` |
| 112 | |
| 113 | error[E0412]: cannot find type `c_char` in this scope |
| 114 | --> /home/kelvin/repos/libc/src/lib.rs:178:27 |
| 115 | | |
| 116 | 178 | pub fn puts(s: *const c_char) -> c_int; |
| 117 | | ^^^^^^ did you mean `c_schar`? |
| 118 | | |
| 119 | = help: possible candidate is found in another module, you can import it into scope: |
| 120 | `use core::os::raw::c_char;` |
| 121 | |
| 122 | error[E0412]: cannot find type `c_long` in this scope |
| 123 | --> /home/kelvin/repos/libc/src/lib.rs:192:45 |
| 124 | | |
| 125 | 192 | pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int; |
| 126 | | ^^^^^^ not found in this scope |
| 127 | | |
| 128 | = help: possible candidate is found in another module, you can import it into scope: |
| 129 | `use core::os::raw::c_long;` |
| 130 | |
| 131 | error[E0412]: cannot find type `c_long` in this scope |
| 132 | --> /home/kelvin/repos/libc/src/lib.rs:193:40 |
| 133 | | |
| 134 | 193 | pub fn ftell(stream: *mut FILE) -> c_long; |
| 135 | | ^^^^^^ not found in this scope |
| 136 | | |
| 137 | = help: possible candidate is found in another module, you can import it into scope: |
| 138 | `use core::os::raw::c_long;` |
| 139 | |
| 140 | error[E0412]: cannot find type `c_char` in this scope |
| 141 | --> /home/kelvin/repos/libc/src/lib.rs:201:29 |
| 142 | | |
| 143 | 201 | pub fn perror(s: *const c_char); |
| 144 | | ^^^^^^ did you mean `c_schar`? |
| 145 | | |
| 146 | = help: possible candidate is found in another module, you can import it into scope: |
| 147 | `use core::os::raw::c_char;` |
| 148 | |
| 149 | error[E0412]: cannot find type `c_char` in this scope |
| 150 | --> /home/kelvin/repos/libc/src/lib.rs:202:27 |
| 151 | | |
| 152 | 202 | pub fn atoi(s: *const c_char) -> c_int; |
| 153 | | ^^^^^^ did you mean `c_schar`? |
| 154 | | |
| 155 | = help: possible candidate is found in another module, you can import it into scope: |
| 156 | `use core::os::raw::c_char;` |
| 157 | |
| 158 | error[E0412]: cannot find type `c_char` in this scope |
| 159 | --> /home/kelvin/repos/libc/src/lib.rs:205:29 |
| 160 | | |
| 161 | 205 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double; |
| 162 | | ^^^^^^ did you mean `c_schar`? |
| 163 | | |
| 164 | = help: possible candidate is found in another module, you can import it into scope: |
| 165 | `use core::os::raw::c_char;` |
| 166 | |
| 167 | error[E0412]: cannot find type `c_char` in this scope |
| 168 | --> /home/kelvin/repos/libc/src/lib.rs:205:53 |
| 169 | | |
| 170 | 205 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double; |
| 171 | | ^^^^^^ did you mean `c_schar`? |
| 172 | | |
| 173 | = help: possible candidate is found in another module, you can import it into scope: |
| 174 | `use core::os::raw::c_char;` |
| 175 | |
| 176 | error[E0412]: cannot find type `c_char` in this scope |
| 177 | --> /home/kelvin/repos/libc/src/lib.rs:206:29 |
| 178 | | |
| 179 | 206 | pub fn strtol(s: *const c_char, |
| 180 | | ^^^^^^ did you mean `c_schar`? |
| 181 | | |
| 182 | = help: possible candidate is found in another module, you can import it into scope: |
| 183 | `use core::os::raw::c_char;` |
| 184 | |
| 185 | error[E0412]: cannot find type `c_char` in this scope |
| 186 | --> /home/kelvin/repos/libc/src/lib.rs:207:35 |
| 187 | | |
| 188 | 207 | endp: *mut *mut c_char, base: c_int) -> c_long; |
| 189 | | ^^^^^^ did you mean `c_schar`? |
| 190 | | |
| 191 | = help: possible candidate is found in another module, you can import it into scope: |
| 192 | `use core::os::raw::c_char;` |
| 193 | |
| 194 | error[E0412]: cannot find type `c_long` in this scope |
| 195 | --> /home/kelvin/repos/libc/src/lib.rs:207:59 |
| 196 | | |
| 197 | 207 | endp: *mut *mut c_char, base: c_int) -> c_long; |
| 198 | | ^^^^^^ not found in this scope |
| 199 | | |
| 200 | = help: possible candidate is found in another module, you can import it into scope: |
| 201 | `use core::os::raw::c_long;` |
| 202 | |
| 203 | error[E0412]: cannot find type `c_char` in this scope |
| 204 | --> /home/kelvin/repos/libc/src/lib.rs:208:30 |
| 205 | | |
| 206 | 208 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, |
| 207 | | ^^^^^^ did you mean `c_schar`? |
| 208 | | |
| 209 | = help: possible candidate is found in another module, you can import it into scope: |
| 210 | `use core::os::raw::c_char;` |
| 211 | |
| 212 | error[E0412]: cannot find type `c_char` in this scope |
| 213 | --> /home/kelvin/repos/libc/src/lib.rs:208:54 |
| 214 | | |
| 215 | 208 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, |
| 216 | | ^^^^^^ did you mean `c_schar`? |
| 217 | | |
| 218 | = help: possible candidate is found in another module, you can import it into scope: |
| 219 | `use core::os::raw::c_char;` |
| 220 | |
| 221 | error[E0412]: cannot find type `c_ulong` in this scope |
| 222 | --> /home/kelvin/repos/libc/src/lib.rs:209:36 |
| 223 | | |
| 224 | 209 | base: c_int) -> c_ulong; |
| 225 | | ^^^^^^^ not found in this scope |
| 226 | | |
| 227 | = help: possible candidate is found in another module, you can import it into scope: |
| 228 | `use core::os::raw::c_ulong;` |
| 229 | |
| 230 | error[E0412]: cannot find type `c_char` in this scope |
| 231 | --> /home/kelvin/repos/libc/src/lib.rs:220:29 |
| 232 | | |
| 233 | 220 | pub fn system(s: *const c_char) -> c_int; |
| 234 | | ^^^^^^ did you mean `c_schar`? |
| 235 | | |
| 236 | = help: possible candidate is found in another module, you can import it into scope: |
| 237 | `use core::os::raw::c_char;` |
| 238 | |
| 239 | error[E0412]: cannot find type `c_char` in this scope |
| 240 | --> /home/kelvin/repos/libc/src/lib.rs:221:29 |
| 241 | | |
| 242 | 221 | pub fn getenv(s: *const c_char) -> *mut c_char; |
| 243 | | ^^^^^^ did you mean `c_schar`? |
| 244 | | |
| 245 | = help: possible candidate is found in another module, you can import it into scope: |
| 246 | `use core::os::raw::c_char;` |
| 247 | |
| 248 | error[E0412]: cannot find type `c_char` in this scope |
| 249 | --> /home/kelvin/repos/libc/src/lib.rs:221:45 |
| 250 | | |
| 251 | 221 | pub fn getenv(s: *const c_char) -> *mut c_char; |
| 252 | | ^^^^^^ did you mean `c_schar`? |
| 253 | | |
| 254 | = help: possible candidate is found in another module, you can import it into scope: |
| 255 | `use core::os::raw::c_char;` |
| 256 | |
| 257 | error[E0412]: cannot find type `c_char` in this scope |
| 258 | --> /home/kelvin/repos/libc/src/lib.rs:223:29 |
| 259 | | |
| 260 | 223 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; |
| 261 | | ^^^^^^ did you mean `c_schar`? |
| 262 | | |
| 263 | = help: possible candidate is found in another module, you can import it into scope: |
| 264 | `use core::os::raw::c_char;` |
| 265 | |
| 266 | error[E0412]: cannot find type `c_char` in this scope |
| 267 | --> /home/kelvin/repos/libc/src/lib.rs:223:49 |
| 268 | | |
| 269 | 223 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; |
| 270 | | ^^^^^^ did you mean `c_schar`? |
| 271 | | |
| 272 | = help: possible candidate is found in another module, you can import it into scope: |
| 273 | `use core::os::raw::c_char;` |
| 274 | |
| 275 | error[E0412]: cannot find type `c_char` in this scope |
| 276 | --> /home/kelvin/repos/libc/src/lib.rs:223:65 |
| 277 | | |
| 278 | 223 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; |
| 279 | | ^^^^^^ did you mean `c_schar`? |
| 280 | | |
| 281 | = help: possible candidate is found in another module, you can import it into scope: |
| 282 | `use core::os::raw::c_char;` |
| 283 | |
| 284 | error[E0412]: cannot find type `c_char` in this scope |
| 285 | --> /home/kelvin/repos/libc/src/lib.rs:224:30 |
| 286 | | |
| 287 | 224 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t) |
| 288 | | ^^^^^^ did you mean `c_schar`? |
| 289 | | |
| 290 | = help: possible candidate is found in another module, you can import it into scope: |
| 291 | `use core::os::raw::c_char;` |
| 292 | |
| 293 | error[E0412]: cannot find type `c_char` in this scope |
| 294 | --> /home/kelvin/repos/libc/src/lib.rs:224:50 |
| 295 | | |
| 296 | 224 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t) |
| 297 | | ^^^^^^ did you mean `c_schar`? |
| 298 | | |
| 299 | = help: possible candidate is found in another module, you can import it into scope: |
| 300 | `use core::os::raw::c_char;` |
| 301 | |
| 302 | error[E0412]: cannot find type `c_char` in this scope |
| 303 | --> /home/kelvin/repos/libc/src/lib.rs:225:28 |
| 304 | | |
| 305 | 225 | -> *mut c_char; |
| 306 | | ^^^^^^ did you mean `c_schar`? |
| 307 | | |
| 308 | = help: possible candidate is found in another module, you can import it into scope: |
| 309 | `use core::os::raw::c_char;` |
| 310 | |
| 311 | error[E0412]: cannot find type `c_char` in this scope |
| 312 | --> /home/kelvin/repos/libc/src/lib.rs:226:27 |
| 313 | | |
| 314 | 226 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; |
| 315 | | ^^^^^^ did you mean `c_schar`? |
| 316 | | |
| 317 | = help: possible candidate is found in another module, you can import it into scope: |
| 318 | `use core::os::raw::c_char;` |
| 319 | |
| 320 | error[E0412]: cannot find type `c_char` in this scope |
| 321 | --> /home/kelvin/repos/libc/src/lib.rs:226:46 |
| 322 | | |
| 323 | 226 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; |
| 324 | | ^^^^^^ did you mean `c_schar`? |
| 325 | | |
| 326 | = help: possible candidate is found in another module, you can import it into scope: |
| 327 | `use core::os::raw::c_char;` |
| 328 | |
| 329 | error[E0412]: cannot find type `c_char` in this scope |
| 330 | --> /home/kelvin/repos/libc/src/lib.rs:226:62 |
| 331 | | |
| 332 | 226 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; |
| 333 | | ^^^^^^ did you mean `c_schar`? |
| 334 | | |
| 335 | = help: possible candidate is found in another module, you can import it into scope: |
| 336 | `use core::os::raw::c_char;` |
| 337 | |
| 338 | error[E0412]: cannot find type `c_char` in this scope |
| 339 | --> /home/kelvin/repos/libc/src/lib.rs:227:28 |
| 340 | | |
| 341 | 227 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char; |
| 342 | | ^^^^^^ did you mean `c_schar`? |
| 343 | | |
| 344 | = help: possible candidate is found in another module, you can import it into scope: |
| 345 | `use core::os::raw::c_char;` |
| 346 | |
| 347 | error[E0412]: cannot find type `c_char` in this scope |
| 348 | --> /home/kelvin/repos/libc/src/lib.rs:227:47 |
| 349 | | |
| 350 | 227 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char; |
| 351 | | ^^^^^^ did you mean `c_schar`? |
| 352 | | |
| 353 | = help: possible candidate is found in another module, you can import it into scope: |
| 354 | `use core::os::raw::c_char;` |
| 355 | |
| 356 | error[E0412]: cannot find type `c_char` in this scope |
| 357 | --> /home/kelvin/repos/libc/src/lib.rs:227:74 |
| 358 | | |
| 359 | 227 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char; |
| 360 | | ^^^^^^ did you mean `c_schar`? |
| 361 | | |
| 362 | = help: possible candidate is found in another module, you can import it into scope: |
| 363 | `use core::os::raw::c_char;` |
| 364 | |
| 365 | error[E0412]: cannot find type `c_char` in this scope |
| 366 | --> /home/kelvin/repos/libc/src/lib.rs:228:30 |
| 367 | | |
| 368 | 228 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; |
| 369 | | ^^^^^^ did you mean `c_schar`? |
| 370 | | |
| 371 | = help: possible candidate is found in another module, you can import it into scope: |
| 372 | `use core::os::raw::c_char;` |
| 373 | |
| 374 | error[E0412]: cannot find type `c_char` in this scope |
| 375 | --> /home/kelvin/repos/libc/src/lib.rs:228:49 |
| 376 | | |
| 377 | 228 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; |
| 378 | | ^^^^^^ did you mean `c_schar`? |
| 379 | | |
| 380 | = help: possible candidate is found in another module, you can import it into scope: |
| 381 | `use core::os::raw::c_char;` |
| 382 | |
| 383 | error[E0412]: cannot find type `c_char` in this scope |
| 384 | --> /home/kelvin/repos/libc/src/lib.rs:229:31 |
| 385 | | |
| 386 | 229 | pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; |
| 387 | | ^^^^^^ did you mean `c_schar`? |
| 388 | | |
| 389 | = help: possible candidate is found in another module, you can import it into scope: |
| 390 | `use core::os::raw::c_char;` |
| 391 | |
| 392 | error[E0412]: cannot find type `c_char` in this scope |
| 393 | --> /home/kelvin/repos/libc/src/lib.rs:229:50 |
| 394 | | |
| 395 | 229 | pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; |
| 396 | | ^^^^^^ did you mean `c_schar`? |
| 397 | | |
| 398 | = help: possible candidate is found in another module, you can import it into scope: |
| 399 | `use core::os::raw::c_char;` |
| 400 | |
| 401 | error[E0412]: cannot find type `c_char` in this scope |
| 402 | --> /home/kelvin/repos/libc/src/lib.rs:230:31 |
| 403 | | |
| 404 | 230 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; |
| 405 | | ^^^^^^ did you mean `c_schar`? |
| 406 | | |
| 407 | = help: possible candidate is found in another module, you can import it into scope: |
| 408 | `use core::os::raw::c_char;` |
| 409 | |
| 410 | error[E0412]: cannot find type `c_char` in this scope |
| 411 | --> /home/kelvin/repos/libc/src/lib.rs:230:50 |
| 412 | | |
| 413 | 230 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; |
| 414 | | ^^^^^^ did you mean `c_schar`? |
| 415 | | |
| 416 | = help: possible candidate is found in another module, you can import it into scope: |
| 417 | `use core::os::raw::c_char;` |
| 418 | |
| 419 | error[E0412]: cannot find type `c_char` in this scope |
| 420 | --> /home/kelvin/repos/libc/src/lib.rs:231:30 |
| 421 | | |
| 422 | 231 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; |
| 423 | | ^^^^^^ did you mean `c_schar`? |
| 424 | | |
| 425 | = help: possible candidate is found in another module, you can import it into scope: |
| 426 | `use core::os::raw::c_char;` |
| 427 | |
| 428 | error[E0412]: cannot find type `c_char` in this scope |
| 429 | --> /home/kelvin/repos/libc/src/lib.rs:231:56 |
| 430 | | |
| 431 | 231 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; |
| 432 | | ^^^^^^ did you mean `c_schar`? |
| 433 | | |
| 434 | = help: possible candidate is found in another module, you can import it into scope: |
| 435 | `use core::os::raw::c_char;` |
| 436 | |
| 437 | error[E0412]: cannot find type `c_char` in this scope |
| 438 | --> /home/kelvin/repos/libc/src/lib.rs:232:31 |
| 439 | | |
| 440 | 232 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; |
| 441 | | ^^^^^^ did you mean `c_schar`? |
| 442 | | |
| 443 | = help: possible candidate is found in another module, you can import it into scope: |
| 444 | `use core::os::raw::c_char;` |
| 445 | |
| 446 | error[E0412]: cannot find type `c_char` in this scope |
| 447 | --> /home/kelvin/repos/libc/src/lib.rs:232:57 |
| 448 | | |
| 449 | 232 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; |
| 450 | | ^^^^^^ did you mean `c_schar`? |
| 451 | | |
| 452 | = help: possible candidate is found in another module, you can import it into scope: |
| 453 | `use core::os::raw::c_char;` |
| 454 | |
| 455 | error[E0412]: cannot find type `c_char` in this scope |
| 456 | --> /home/kelvin/repos/libc/src/lib.rs:233:30 |
| 457 | | |
| 458 | 233 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t; |
| 459 | | ^^^^^^ did you mean `c_schar`? |
| 460 | | |
| 461 | = help: possible candidate is found in another module, you can import it into scope: |
| 462 | `use core::os::raw::c_char;` |
| 463 | |
| 464 | error[E0412]: cannot find type `c_char` in this scope |
| 465 | --> /home/kelvin/repos/libc/src/lib.rs:233:49 |
| 466 | | |
| 467 | 233 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t; |
| 468 | | ^^^^^^ did you mean `c_schar`? |
| 469 | | |
| 470 | = help: possible candidate is found in another module, you can import it into scope: |
| 471 | `use core::os::raw::c_char;` |
| 472 | |
| 473 | error[E0412]: cannot find type `c_char` in this scope |
| 474 | --> /home/kelvin/repos/libc/src/lib.rs:234:31 |
| 475 | | |
| 476 | 234 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t; |
| 477 | | ^^^^^^ did you mean `c_schar`? |
| 478 | | |
| 479 | = help: possible candidate is found in another module, you can import it into scope: |
| 480 | `use core::os::raw::c_char;` |
| 481 | |
| 482 | error[E0412]: cannot find type `c_char` in this scope |
| 483 | --> /home/kelvin/repos/libc/src/lib.rs:234:50 |
| 484 | | |
| 485 | 234 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t; |
| 486 | | ^^^^^^ did you mean `c_schar`? |
| 487 | | |
| 488 | = help: possible candidate is found in another module, you can import it into scope: |
| 489 | `use core::os::raw::c_char;` |
| 490 | |
| 491 | error[E0412]: cannot find type `c_char` in this scope |
| 492 | --> /home/kelvin/repos/libc/src/lib.rs:235:30 |
| 493 | | |
| 494 | 235 | pub fn strdup(cs: *const c_char) -> *mut c_char; |
| 495 | | ^^^^^^ did you mean `c_schar`? |
| 496 | | |
| 497 | = help: possible candidate is found in another module, you can import it into scope: |
| 498 | `use core::os::raw::c_char;` |
| 499 | |
| 500 | error[E0412]: cannot find type `c_char` in this scope |
| 501 | --> /home/kelvin/repos/libc/src/lib.rs:235:46 |
| 502 | | |
| 503 | 235 | pub fn strdup(cs: *const c_char) -> *mut c_char; |
| 504 | | ^^^^^^ did you mean `c_schar`? |
| 505 | | |
| 506 | = help: possible candidate is found in another module, you can import it into scope: |
| 507 | `use core::os::raw::c_char;` |
| 508 | |
| 509 | error[E0412]: cannot find type `c_char` in this scope |
| 510 | --> /home/kelvin/repos/libc/src/lib.rs:236:31 |
| 511 | | |
| 512 | 236 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; |
| 513 | | ^^^^^^ did you mean `c_schar`? |
| 514 | | |
| 515 | = help: possible candidate is found in another module, you can import it into scope: |
| 516 | `use core::os::raw::c_char;` |
| 517 | |
| 518 | error[E0412]: cannot find type `c_char` in this scope |
| 519 | --> /home/kelvin/repos/libc/src/lib.rs:236:50 |
| 520 | | |
| 521 | 236 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; |
| 522 | | ^^^^^^ did you mean `c_schar`? |
| 523 | | |
| 524 | = help: possible candidate is found in another module, you can import it into scope: |
| 525 | `use core::os::raw::c_char;` |
| 526 | |
| 527 | error[E0412]: cannot find type `c_char` in this scope |
| 528 | --> /home/kelvin/repos/libc/src/lib.rs:236:66 |
| 529 | | |
| 530 | 236 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; |
| 531 | | ^^^^^^ did you mean `c_schar`? |
| 532 | | |
| 533 | = help: possible candidate is found in another module, you can import it into scope: |
| 534 | `use core::os::raw::c_char;` |
| 535 | |
| 536 | error[E0412]: cannot find type `c_char` in this scope |
| 537 | --> /home/kelvin/repos/libc/src/lib.rs:237:30 |
| 538 | | |
| 539 | 237 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; |
| 540 | | ^^^^^^ did you mean `c_schar`? |
| 541 | | |
| 542 | = help: possible candidate is found in another module, you can import it into scope: |
| 543 | `use core::os::raw::c_char;` |
| 544 | |
| 545 | error[E0412]: cannot find type `c_char` in this scope |
| 546 | --> /home/kelvin/repos/libc/src/lib.rs:237:49 |
| 547 | | |
| 548 | 237 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; |
| 549 | | ^^^^^^ did you mean `c_schar`? |
| 550 | | |
| 551 | = help: possible candidate is found in another module, you can import it into scope: |
| 552 | `use core::os::raw::c_char;` |
| 553 | |
| 554 | error[E0412]: cannot find type `c_char` in this scope |
| 555 | --> /home/kelvin/repos/libc/src/lib.rs:237:65 |
| 556 | | |
| 557 | 237 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; |
| 558 | | ^^^^^^ did you mean `c_schar`? |
| 559 | | |
| 560 | = help: possible candidate is found in another module, you can import it into scope: |
| 561 | `use core::os::raw::c_char;` |
| 562 | |
| 563 | error[E0412]: cannot find type `c_char` in this scope |
| 564 | --> /home/kelvin/repos/libc/src/lib.rs:238:30 |
| 565 | | |
| 566 | 238 | pub fn strlen(cs: *const c_char) -> size_t; |
| 567 | | ^^^^^^ did you mean `c_schar`? |
| 568 | | |
| 569 | = help: possible candidate is found in another module, you can import it into scope: |
| 570 | `use core::os::raw::c_char;` |
| 571 | |
| 572 | error[E0412]: cannot find type `c_char` in this scope |
| 573 | --> /home/kelvin/repos/libc/src/lib.rs:239:31 |
| 574 | | |
| 575 | 239 | pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; |
| 576 | | ^^^^^^ did you mean `c_schar`? |
| 577 | | |
| 578 | = help: possible candidate is found in another module, you can import it into scope: |
| 579 | `use core::os::raw::c_char;` |
| 580 | |
| 581 | error[E0412]: cannot find type `c_char` in this scope |
| 582 | --> /home/kelvin/repos/libc/src/lib.rs:242:39 |
| 583 | | |
| 584 | 242 | pub fn strerror(n: c_int) -> *mut c_char; |
| 585 | | ^^^^^^ did you mean `c_schar`? |
| 586 | | |
| 587 | = help: possible candidate is found in another module, you can import it into scope: |
| 588 | `use core::os::raw::c_char;` |
| 589 | |
| 590 | error[E0412]: cannot find type `c_char` in this scope |
| 591 | --> /home/kelvin/repos/libc/src/lib.rs:243:27 |
| 592 | | |
| 593 | 243 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; |
| 594 | | ^^^^^^ did you mean `c_schar`? |
| 595 | | |
| 596 | = help: possible candidate is found in another module, you can import it into scope: |
| 597 | `use core::os::raw::c_char;` |
| 598 | |
| 599 | error[E0412]: cannot find type `c_char` in this scope |
| 600 | --> /home/kelvin/repos/libc/src/lib.rs:243:45 |
| 601 | | |
| 602 | 243 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; |
| 603 | | ^^^^^^ did you mean `c_schar`? |
| 604 | | |
| 605 | = help: possible candidate is found in another module, you can import it into scope: |
| 606 | `use core::os::raw::c_char;` |
| 607 | |
| 608 | error[E0412]: cannot find type `c_char` in this scope |
| 609 | --> /home/kelvin/repos/libc/src/lib.rs:243:61 |
| 610 | | |
| 611 | 243 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; |
| 612 | | ^^^^^^ did you mean `c_schar`? |
| 613 | | |
| 614 | = help: possible candidate is found in another module, you can import it into scope: |
| 615 | `use core::os::raw::c_char;` |
| 616 | |
| 617 | error[E0412]: cannot find type `c_char` in this scope |
| 618 | --> /home/kelvin/repos/libc/src/lib.rs:244:28 |
| 619 | | |
| 620 | 244 | pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t; |
| 621 | | ^^^^^^ did you mean `c_schar`? |
| 622 | | |
| 623 | = help: possible candidate is found in another module, you can import it into scope: |
| 624 | `use core::os::raw::c_char;` |
| 625 | |
| 626 | error[E0412]: cannot find type `c_char` in this scope |
| 627 | --> /home/kelvin/repos/libc/src/lib.rs:244:47 |
| 628 | | |
| 629 | 244 | pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t; |
| 630 | | ^^^^^^ did you mean `c_schar`? |
| 631 | | |
| 632 | = help: possible candidate is found in another module, you can import it into scope: |
| 633 | `use core::os::raw::c_char;` |
| 634 | |
| 635 | error[E0412]: cannot find type `wchar_t` in this scope |
| 636 | --> /home/kelvin/repos/libc/src/lib.rs:245:31 |
| 637 | | |
| 638 | 245 | pub fn wcslen(buf: *const wchar_t) -> size_t; |
| 639 | | ^^^^^^^ not found in this scope |
| 640 | |
| 641 | error[E0412]: cannot find type `c_char` in this scope |
| 642 | --> /home/kelvin/repos/libc/src/lib.rs:246:32 |
| 643 | | |
| 644 | 246 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> ::size_t; |
| 645 | | ^^^^^^ did you mean `c_schar`? |
| 646 | | |
| 647 | = help: possible candidate is found in another module, you can import it into scope: |
| 648 | `use core::os::raw::c_char;` |
| 649 | |
| 650 | error[E0412]: cannot find type `wchar_t` in this scope |
| 651 | --> /home/kelvin/repos/libc/src/lib.rs:246:52 |
| 652 | | |
| 653 | 246 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> ::size_t; |
| 654 | | ^^^^^^^ not found in this scope |
| 655 | |
| 656 | error[E0412]: cannot find type `c_char` in this scope |
| 657 | --> /home/kelvin/repos/libc/src/lib.rs:260:27 |
| 658 | | |
| 659 | 260 | pub fn atof(s: *const c_char) -> c_double; |
| 660 | | ^^^^^^ did you mean `c_schar`? |
| 661 | | |
| 662 | = help: possible candidate is found in another module, you can import it into scope: |
| 663 | `use core::os::raw::c_char;` |
| 664 | |
| 665 | error[E0412]: cannot find type `c_long` in this scope |
| 666 | --> /home/kelvin/repos/libc/src/lib.rs:261:20 |
| 667 | | |
| 668 | 261 | pub fn labs(i: c_long) -> c_long; |
| 669 | | ^^^^^^ not found in this scope |
| 670 | | |
| 671 | = help: possible candidate is found in another module, you can import it into scope: |
| 672 | `use core::os::raw::c_long;` |
| 673 | |
| 674 | error[E0412]: cannot find type `c_long` in this scope |
| 675 | --> /home/kelvin/repos/libc/src/lib.rs:261:31 |
| 676 | | |
| 677 | 261 | pub fn labs(i: c_long) -> c_long; |
| 678 | | ^^^^^^ not found in this scope |
| 679 | | |
| 680 | = help: possible candidate is found in another module, you can import it into scope: |
| 681 | `use core::os::raw::c_long;` |
| 682 | |
| 683 | error[E0412]: cannot find type `c_char` in the crate root |
| 684 | --> /home/kelvin/repos/libc/src/unix/mod.rs:21:29 |
| 685 | | |
| 686 | 21 | pub gr_name: *mut ::c_char, |
| 687 | | ^^^^^^ did you mean `c_schar`? |
| 688 | | |
| 689 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 690 | | |
| 691 | 266 | / cfg_if! { |
| 692 | 267 | | if #[cfg(windows)] { |
| 693 | 268 | | mod windows; |
| 694 | 269 | | pub use windows::*; |
| 695 | ... | |
| 696 | 278 | | } |
| 697 | 279 | | } |
| 698 | | |_- in this macro invocation |
| 699 | | |
| 700 | = help: possible candidate is found in another module, you can import it into scope: |
| 701 | `use core::os::raw::c_char;` |
| 702 | |
| 703 | error[E0412]: cannot find type `c_char` in the crate root |
| 704 | --> /home/kelvin/repos/libc/src/unix/mod.rs:22:31 |
| 705 | | |
| 706 | 22 | pub gr_passwd: *mut ::c_char, |
| 707 | | ^^^^^^ did you mean `c_schar`? |
| 708 | | |
| 709 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 710 | | |
| 711 | 266 | / cfg_if! { |
| 712 | 267 | | if #[cfg(windows)] { |
| 713 | 268 | | mod windows; |
| 714 | 269 | | pub use windows::*; |
| 715 | ... | |
| 716 | 278 | | } |
| 717 | 279 | | } |
| 718 | | |_- in this macro invocation |
| 719 | | |
| 720 | = help: possible candidate is found in another module, you can import it into scope: |
| 721 | `use core::os::raw::c_char;` |
| 722 | |
| 723 | error[E0412]: cannot find type `c_char` in the crate root |
| 724 | --> /home/kelvin/repos/libc/src/unix/mod.rs:24:33 |
| 725 | | |
| 726 | 24 | pub gr_mem: *mut *mut ::c_char, |
| 727 | | ^^^^^^ did you mean `c_schar`? |
| 728 | | |
| 729 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 730 | | |
| 731 | 266 | / cfg_if! { |
| 732 | 267 | | if #[cfg(windows)] { |
| 733 | 268 | | mod windows; |
| 734 | 269 | | pub use windows::*; |
| 735 | ... | |
| 736 | 278 | | } |
| 737 | 279 | | } |
| 738 | | |_- in this macro invocation |
| 739 | | |
| 740 | = help: possible candidate is found in another module, you can import it into scope: |
| 741 | `use core::os::raw::c_char;` |
| 742 | |
| 743 | error[E0412]: cannot find type `time_t` in this scope |
| 744 | --> /home/kelvin/repos/libc/src/unix/mod.rs:28:21 |
| 745 | | |
| 746 | 28 | pub actime: time_t, |
| 747 | | ^^^^^^ not found in this scope |
| 748 | | |
| 749 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 750 | | |
| 751 | 266 | / cfg_if! { |
| 752 | 267 | | if #[cfg(windows)] { |
| 753 | 268 | | mod windows; |
| 754 | 269 | | pub use windows::*; |
| 755 | ... | |
| 756 | 278 | | } |
| 757 | 279 | | } |
| 758 | | |_- in this macro invocation |
| 759 | | |
| 760 | = help: possible candidates are found in other modules, you can import them into scope: |
| 761 | `use core::os::linux::raw::time_t;` |
| 762 | `use core::os::unix::raw::time_t;` |
| 763 | |
| 764 | error[E0412]: cannot find type `time_t` in this scope |
| 765 | --> /home/kelvin/repos/libc/src/unix/mod.rs:29:22 |
| 766 | | |
| 767 | 29 | pub modtime: time_t, |
| 768 | | ^^^^^^ not found in this scope |
| 769 | | |
| 770 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 771 | | |
| 772 | 266 | / cfg_if! { |
| 773 | 267 | | if #[cfg(windows)] { |
| 774 | 268 | | mod windows; |
| 775 | 269 | | pub use windows::*; |
| 776 | ... | |
| 777 | 278 | | } |
| 778 | 279 | | } |
| 779 | | |_- in this macro invocation |
| 780 | | |
| 781 | = help: possible candidates are found in other modules, you can import them into scope: |
| 782 | `use core::os::linux::raw::time_t;` |
| 783 | `use core::os::unix::raw::time_t;` |
| 784 | |
| 785 | error[E0412]: cannot find type `time_t` in this scope |
| 786 | --> /home/kelvin/repos/libc/src/unix/mod.rs:33:21 |
| 787 | | |
| 788 | 33 | pub tv_sec: time_t, |
| 789 | | ^^^^^^ not found in this scope |
| 790 | | |
| 791 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 792 | | |
| 793 | 266 | / cfg_if! { |
| 794 | 267 | | if #[cfg(windows)] { |
| 795 | 268 | | mod windows; |
| 796 | 269 | | pub use windows::*; |
| 797 | ... | |
| 798 | 278 | | } |
| 799 | 279 | | } |
| 800 | | |_- in this macro invocation |
| 801 | | |
| 802 | = help: possible candidates are found in other modules, you can import them into scope: |
| 803 | `use core::os::linux::raw::time_t;` |
| 804 | `use core::os::unix::raw::time_t;` |
| 805 | |
| 806 | error[E0412]: cannot find type `suseconds_t` in this scope |
| 807 | --> /home/kelvin/repos/libc/src/unix/mod.rs:34:22 |
| 808 | | |
| 809 | 34 | pub tv_usec: suseconds_t, |
| 810 | | ^^^^^^^^^^^ not found in this scope |
| 811 | | |
| 812 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 813 | | |
| 814 | 266 | / cfg_if! { |
| 815 | 267 | | if #[cfg(windows)] { |
| 816 | 268 | | mod windows; |
| 817 | 269 | | pub use windows::*; |
| 818 | ... | |
| 819 | 278 | | } |
| 820 | 279 | | } |
| 821 | | |_- in this macro invocation |
| 822 | |
| 823 | error[E0412]: cannot find type `time_t` in this scope |
| 824 | --> /home/kelvin/repos/libc/src/unix/mod.rs:38:21 |
| 825 | | |
| 826 | 38 | pub tv_sec: time_t, |
| 827 | | ^^^^^^ not found in this scope |
| 828 | | |
| 829 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 830 | | |
| 831 | 266 | / cfg_if! { |
| 832 | 267 | | if #[cfg(windows)] { |
| 833 | 268 | | mod windows; |
| 834 | 269 | | pub use windows::*; |
| 835 | ... | |
| 836 | 278 | | } |
| 837 | 279 | | } |
| 838 | | |_- in this macro invocation |
| 839 | | |
| 840 | = help: possible candidates are found in other modules, you can import them into scope: |
| 841 | `use core::os::linux::raw::time_t;` |
| 842 | `use core::os::unix::raw::time_t;` |
| 843 | |
| 844 | error[E0412]: cannot find type `c_long` in this scope |
| 845 | --> /home/kelvin/repos/libc/src/unix/mod.rs:39:22 |
| 846 | | |
| 847 | 39 | pub tv_nsec: c_long, |
| 848 | | ^^^^^^ not found in this scope |
| 849 | | |
| 850 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 851 | | |
| 852 | 266 | / cfg_if! { |
| 853 | 267 | | if #[cfg(windows)] { |
| 854 | 268 | | mod windows; |
| 855 | 269 | | pub use windows::*; |
| 856 | ... | |
| 857 | 278 | | } |
| 858 | 279 | | } |
| 859 | | |_- in this macro invocation |
| 860 | | |
| 861 | = help: possible candidate is found in another module, you can import it into scope: |
| 862 | `use core::os::raw::c_long;` |
| 863 | |
| 864 | error[E0412]: cannot find type `rlim_t` in this scope |
| 865 | --> /home/kelvin/repos/libc/src/unix/mod.rs:43:23 |
| 866 | | |
| 867 | 43 | pub rlim_cur: rlim_t, |
| 868 | | ^^^^^^ did you mean `rlimit`? |
| 869 | | |
| 870 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 871 | | |
| 872 | 266 | / cfg_if! { |
| 873 | 267 | | if #[cfg(windows)] { |
| 874 | 268 | | mod windows; |
| 875 | 269 | | pub use windows::*; |
| 876 | ... | |
| 877 | 278 | | } |
| 878 | 279 | | } |
| 879 | | |_- in this macro invocation |
| 880 | |
| 881 | error[E0412]: cannot find type `rlim_t` in this scope |
| 882 | --> /home/kelvin/repos/libc/src/unix/mod.rs:44:23 |
| 883 | | |
| 884 | 44 | pub rlim_max: rlim_t, |
| 885 | | ^^^^^^ did you mean `rlimit`? |
| 886 | | |
| 887 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 888 | | |
| 889 | 266 | / cfg_if! { |
| 890 | 267 | | if #[cfg(windows)] { |
| 891 | 268 | | mod windows; |
| 892 | 269 | | pub use windows::*; |
| 893 | ... | |
| 894 | 278 | | } |
| 895 | 279 | | } |
| 896 | | |_- in this macro invocation |
| 897 | |
| 898 | error[E0412]: cannot find type `c_long` in this scope |
| 899 | --> /home/kelvin/repos/libc/src/unix/mod.rs:50:24 |
| 900 | | |
| 901 | 50 | pub ru_maxrss: c_long, |
| 902 | | ^^^^^^ not found in this scope |
| 903 | | |
| 904 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 905 | | |
| 906 | 266 | / cfg_if! { |
| 907 | 267 | | if #[cfg(windows)] { |
| 908 | 268 | | mod windows; |
| 909 | 269 | | pub use windows::*; |
| 910 | ... | |
| 911 | 278 | | } |
| 912 | 279 | | } |
| 913 | | |_- in this macro invocation |
| 914 | | |
| 915 | = help: possible candidate is found in another module, you can import it into scope: |
| 916 | `use core::os::raw::c_long;` |
| 917 | |
| 918 | error[E0412]: cannot find type `c_long` in this scope |
| 919 | --> /home/kelvin/repos/libc/src/unix/mod.rs:51:23 |
| 920 | | |
| 921 | 51 | pub ru_ixrss: c_long, |
| 922 | | ^^^^^^ not found in this scope |
| 923 | | |
| 924 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 925 | | |
| 926 | 266 | / cfg_if! { |
| 927 | 267 | | if #[cfg(windows)] { |
| 928 | 268 | | mod windows; |
| 929 | 269 | | pub use windows::*; |
| 930 | ... | |
| 931 | 278 | | } |
| 932 | 279 | | } |
| 933 | | |_- in this macro invocation |
| 934 | | |
| 935 | = help: possible candidate is found in another module, you can import it into scope: |
| 936 | `use core::os::raw::c_long;` |
| 937 | |
| 938 | error[E0412]: cannot find type `c_long` in this scope |
| 939 | --> /home/kelvin/repos/libc/src/unix/mod.rs:52:23 |
| 940 | | |
| 941 | 52 | pub ru_idrss: c_long, |
| 942 | | ^^^^^^ not found in this scope |
| 943 | | |
| 944 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 945 | | |
| 946 | 266 | / cfg_if! { |
| 947 | 267 | | if #[cfg(windows)] { |
| 948 | 268 | | mod windows; |
| 949 | 269 | | pub use windows::*; |
| 950 | ... | |
| 951 | 278 | | } |
| 952 | 279 | | } |
| 953 | | |_- in this macro invocation |
| 954 | | |
| 955 | = help: possible candidate is found in another module, you can import it into scope: |
| 956 | `use core::os::raw::c_long;` |
| 957 | |
| 958 | error[E0412]: cannot find type `c_long` in this scope |
| 959 | --> /home/kelvin/repos/libc/src/unix/mod.rs:53:23 |
| 960 | | |
| 961 | 53 | pub ru_isrss: c_long, |
| 962 | | ^^^^^^ not found in this scope |
| 963 | | |
| 964 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 965 | | |
| 966 | 266 | / cfg_if! { |
| 967 | 267 | | if #[cfg(windows)] { |
| 968 | 268 | | mod windows; |
| 969 | 269 | | pub use windows::*; |
| 970 | ... | |
| 971 | 278 | | } |
| 972 | 279 | | } |
| 973 | | |_- in this macro invocation |
| 974 | | |
| 975 | = help: possible candidate is found in another module, you can import it into scope: |
| 976 | `use core::os::raw::c_long;` |
| 977 | |
| 978 | error[E0412]: cannot find type `c_long` in this scope |
| 979 | --> /home/kelvin/repos/libc/src/unix/mod.rs:54:24 |
| 980 | | |
| 981 | 54 | pub ru_minflt: c_long, |
| 982 | | ^^^^^^ not found in this scope |
| 983 | | |
| 984 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 985 | | |
| 986 | 266 | / cfg_if! { |
| 987 | 267 | | if #[cfg(windows)] { |
| 988 | 268 | | mod windows; |
| 989 | 269 | | pub use windows::*; |
| 990 | ... | |
| 991 | 278 | | } |
| 992 | 279 | | } |
| 993 | | |_- in this macro invocation |
| 994 | | |
| 995 | = help: possible candidate is found in another module, you can import it into scope: |
| 996 | `use core::os::raw::c_long;` |
| 997 | |
| 998 | error[E0412]: cannot find type `c_long` in this scope |
| 999 | --> /home/kelvin/repos/libc/src/unix/mod.rs:55:24 |
| 1000 | | |
| 1001 | 55 | pub ru_majflt: c_long, |
| 1002 | | ^^^^^^ not found in this scope |
| 1003 | | |
| 1004 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1005 | | |
| 1006 | 266 | / cfg_if! { |
| 1007 | 267 | | if #[cfg(windows)] { |
| 1008 | 268 | | mod windows; |
| 1009 | 269 | | pub use windows::*; |
| 1010 | ... | |
| 1011 | 278 | | } |
| 1012 | 279 | | } |
| 1013 | | |_- in this macro invocation |
| 1014 | | |
| 1015 | = help: possible candidate is found in another module, you can import it into scope: |
| 1016 | `use core::os::raw::c_long;` |
| 1017 | |
| 1018 | error[E0412]: cannot find type `c_long` in this scope |
| 1019 | --> /home/kelvin/repos/libc/src/unix/mod.rs:56:23 |
| 1020 | | |
| 1021 | 56 | pub ru_nswap: c_long, |
| 1022 | | ^^^^^^ not found in this scope |
| 1023 | | |
| 1024 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1025 | | |
| 1026 | 266 | / cfg_if! { |
| 1027 | 267 | | if #[cfg(windows)] { |
| 1028 | 268 | | mod windows; |
| 1029 | 269 | | pub use windows::*; |
| 1030 | ... | |
| 1031 | 278 | | } |
| 1032 | 279 | | } |
| 1033 | | |_- in this macro invocation |
| 1034 | | |
| 1035 | = help: possible candidate is found in another module, you can import it into scope: |
| 1036 | `use core::os::raw::c_long;` |
| 1037 | |
| 1038 | error[E0412]: cannot find type `c_long` in this scope |
| 1039 | --> /home/kelvin/repos/libc/src/unix/mod.rs:57:25 |
| 1040 | | |
| 1041 | 57 | pub ru_inblock: c_long, |
| 1042 | | ^^^^^^ not found in this scope |
| 1043 | | |
| 1044 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1045 | | |
| 1046 | 266 | / cfg_if! { |
| 1047 | 267 | | if #[cfg(windows)] { |
| 1048 | 268 | | mod windows; |
| 1049 | 269 | | pub use windows::*; |
| 1050 | ... | |
| 1051 | 278 | | } |
| 1052 | 279 | | } |
| 1053 | | |_- in this macro invocation |
| 1054 | | |
| 1055 | = help: possible candidate is found in another module, you can import it into scope: |
| 1056 | `use core::os::raw::c_long;` |
| 1057 | |
| 1058 | error[E0412]: cannot find type `c_long` in this scope |
| 1059 | --> /home/kelvin/repos/libc/src/unix/mod.rs:58:25 |
| 1060 | | |
| 1061 | 58 | pub ru_oublock: c_long, |
| 1062 | | ^^^^^^ not found in this scope |
| 1063 | | |
| 1064 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1065 | | |
| 1066 | 266 | / cfg_if! { |
| 1067 | 267 | | if #[cfg(windows)] { |
| 1068 | 268 | | mod windows; |
| 1069 | 269 | | pub use windows::*; |
| 1070 | ... | |
| 1071 | 278 | | } |
| 1072 | 279 | | } |
| 1073 | | |_- in this macro invocation |
| 1074 | | |
| 1075 | = help: possible candidate is found in another module, you can import it into scope: |
| 1076 | `use core::os::raw::c_long;` |
| 1077 | |
| 1078 | error[E0412]: cannot find type `c_long` in this scope |
| 1079 | --> /home/kelvin/repos/libc/src/unix/mod.rs:59:24 |
| 1080 | | |
| 1081 | 59 | pub ru_msgsnd: c_long, |
| 1082 | | ^^^^^^ not found in this scope |
| 1083 | | |
| 1084 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1085 | | |
| 1086 | 266 | / cfg_if! { |
| 1087 | 267 | | if #[cfg(windows)] { |
| 1088 | 268 | | mod windows; |
| 1089 | 269 | | pub use windows::*; |
| 1090 | ... | |
| 1091 | 278 | | } |
| 1092 | 279 | | } |
| 1093 | | |_- in this macro invocation |
| 1094 | | |
| 1095 | = help: possible candidate is found in another module, you can import it into scope: |
| 1096 | `use core::os::raw::c_long;` |
| 1097 | |
| 1098 | error[E0412]: cannot find type `c_long` in this scope |
| 1099 | --> /home/kelvin/repos/libc/src/unix/mod.rs:60:24 |
| 1100 | | |
| 1101 | 60 | pub ru_msgrcv: c_long, |
| 1102 | | ^^^^^^ not found in this scope |
| 1103 | | |
| 1104 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1105 | | |
| 1106 | 266 | / cfg_if! { |
| 1107 | 267 | | if #[cfg(windows)] { |
| 1108 | 268 | | mod windows; |
| 1109 | 269 | | pub use windows::*; |
| 1110 | ... | |
| 1111 | 278 | | } |
| 1112 | 279 | | } |
| 1113 | | |_- in this macro invocation |
| 1114 | | |
| 1115 | = help: possible candidate is found in another module, you can import it into scope: |
| 1116 | `use core::os::raw::c_long;` |
| 1117 | |
| 1118 | error[E0412]: cannot find type `c_long` in this scope |
| 1119 | --> /home/kelvin/repos/libc/src/unix/mod.rs:61:26 |
| 1120 | | |
| 1121 | 61 | pub ru_nsignals: c_long, |
| 1122 | | ^^^^^^ not found in this scope |
| 1123 | | |
| 1124 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1125 | | |
| 1126 | 266 | / cfg_if! { |
| 1127 | 267 | | if #[cfg(windows)] { |
| 1128 | 268 | | mod windows; |
| 1129 | 269 | | pub use windows::*; |
| 1130 | ... | |
| 1131 | 278 | | } |
| 1132 | 279 | | } |
| 1133 | | |_- in this macro invocation |
| 1134 | | |
| 1135 | = help: possible candidate is found in another module, you can import it into scope: |
| 1136 | `use core::os::raw::c_long;` |
| 1137 | |
| 1138 | error[E0412]: cannot find type `c_long` in this scope |
| 1139 | --> /home/kelvin/repos/libc/src/unix/mod.rs:62:23 |
| 1140 | | |
| 1141 | 62 | pub ru_nvcsw: c_long, |
| 1142 | | ^^^^^^ not found in this scope |
| 1143 | | |
| 1144 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1145 | | |
| 1146 | 266 | / cfg_if! { |
| 1147 | 267 | | if #[cfg(windows)] { |
| 1148 | 268 | | mod windows; |
| 1149 | 269 | | pub use windows::*; |
| 1150 | ... | |
| 1151 | 278 | | } |
| 1152 | 279 | | } |
| 1153 | | |_- in this macro invocation |
| 1154 | | |
| 1155 | = help: possible candidate is found in another module, you can import it into scope: |
| 1156 | `use core::os::raw::c_long;` |
| 1157 | |
| 1158 | error[E0412]: cannot find type `c_long` in this scope |
| 1159 | --> /home/kelvin/repos/libc/src/unix/mod.rs:63:24 |
| 1160 | | |
| 1161 | 63 | pub ru_nivcsw: c_long, |
| 1162 | | ^^^^^^ not found in this scope |
| 1163 | | |
| 1164 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1165 | | |
| 1166 | 266 | / cfg_if! { |
| 1167 | 267 | | if #[cfg(windows)] { |
| 1168 | 268 | | mod windows; |
| 1169 | 269 | | pub use windows::*; |
| 1170 | ... | |
| 1171 | 278 | | } |
| 1172 | 279 | | } |
| 1173 | | |_- in this macro invocation |
| 1174 | | |
| 1175 | = help: possible candidate is found in another module, you can import it into scope: |
| 1176 | `use core::os::raw::c_long;` |
| 1177 | |
| 1178 | error[E0412]: cannot find type `c_char` in the crate root |
| 1179 | --> /home/kelvin/repos/libc/src/unix/mod.rs:93:28 |
| 1180 | | |
| 1181 | 93 | pub h_name: *mut ::c_char, |
| 1182 | | ^^^^^^ did you mean `c_schar`? |
| 1183 | | |
| 1184 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1185 | | |
| 1186 | 266 | / cfg_if! { |
| 1187 | 267 | | if #[cfg(windows)] { |
| 1188 | 268 | | mod windows; |
| 1189 | 269 | | pub use windows::*; |
| 1190 | ... | |
| 1191 | 278 | | } |
| 1192 | 279 | | } |
| 1193 | | |_- in this macro invocation |
| 1194 | | |
| 1195 | = help: possible candidate is found in another module, you can import it into scope: |
| 1196 | `use core::os::raw::c_char;` |
| 1197 | |
| 1198 | error[E0412]: cannot find type `c_char` in the crate root |
| 1199 | --> /home/kelvin/repos/libc/src/unix/mod.rs:94:36 |
| 1200 | | |
| 1201 | 94 | pub h_aliases: *mut *mut ::c_char, |
| 1202 | | ^^^^^^ did you mean `c_schar`? |
| 1203 | | |
| 1204 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1205 | | |
| 1206 | 266 | / cfg_if! { |
| 1207 | 267 | | if #[cfg(windows)] { |
| 1208 | 268 | | mod windows; |
| 1209 | 269 | | pub use windows::*; |
| 1210 | ... | |
| 1211 | 278 | | } |
| 1212 | 279 | | } |
| 1213 | | |_- in this macro invocation |
| 1214 | | |
| 1215 | = help: possible candidate is found in another module, you can import it into scope: |
| 1216 | `use core::os::raw::c_char;` |
| 1217 | |
| 1218 | error[E0412]: cannot find type `c_char` in the crate root |
| 1219 | --> /home/kelvin/repos/libc/src/unix/mod.rs:97:38 |
| 1220 | | |
| 1221 | 97 | pub h_addr_list: *mut *mut ::c_char, |
| 1222 | | ^^^^^^ did you mean `c_schar`? |
| 1223 | | |
| 1224 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1225 | | |
| 1226 | 266 | / cfg_if! { |
| 1227 | 267 | | if #[cfg(windows)] { |
| 1228 | 268 | | mod windows; |
| 1229 | 269 | | pub use windows::*; |
| 1230 | ... | |
| 1231 | 278 | | } |
| 1232 | 279 | | } |
| 1233 | | |_- in this macro invocation |
| 1234 | | |
| 1235 | = help: possible candidate is found in another module, you can import it into scope: |
| 1236 | `use core::os::raw::c_char;` |
| 1237 | |
| 1238 | error[E0412]: cannot find type `c_char` in the crate root |
| 1239 | --> /home/kelvin/repos/libc/src/unix/mod.rs:251:36 |
| 1240 | | |
| 1241 | 251 | pub fn getgrnam(name: *const ::c_char) -> *mut group; |
| 1242 | | ^^^^^^ did you mean `c_schar`? |
| 1243 | | |
| 1244 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1245 | | |
| 1246 | 266 | / cfg_if! { |
| 1247 | 267 | | if #[cfg(windows)] { |
| 1248 | 268 | | mod windows; |
| 1249 | 269 | | pub use windows::*; |
| 1250 | ... | |
| 1251 | 278 | | } |
| 1252 | 279 | | } |
| 1253 | | |_- in this macro invocation |
| 1254 | | |
| 1255 | = help: possible candidate is found in another module, you can import it into scope: |
| 1256 | `use core::os::raw::c_char;` |
| 1257 | |
| 1258 | error[E0412]: cannot find type `c_char` in the crate root |
| 1259 | --> /home/kelvin/repos/libc/src/unix/mod.rs:256:36 |
| 1260 | | |
| 1261 | 256 | pub fn getpwnam(name: *const ::c_char) -> *mut passwd; |
| 1262 | | ^^^^^^ did you mean `c_schar`? |
| 1263 | | |
| 1264 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1265 | | |
| 1266 | 266 | / cfg_if! { |
| 1267 | 267 | | if #[cfg(windows)] { |
| 1268 | 268 | | mod windows; |
| 1269 | 269 | | pub use windows::*; |
| 1270 | ... | |
| 1271 | 278 | | } |
| 1272 | 279 | | } |
| 1273 | | |_- in this macro invocation |
| 1274 | | |
| 1275 | = help: possible candidate is found in another module, you can import it into scope: |
| 1276 | `use core::os::raw::c_char;` |
| 1277 | |
| 1278 | error[E0412]: cannot find type `passwd` in this scope |
| 1279 | --> /home/kelvin/repos/libc/src/unix/mod.rs:256:52 |
| 1280 | | |
| 1281 | 256 | pub fn getpwnam(name: *const ::c_char) -> *mut passwd; |
| 1282 | | ^^^^^^ not found in this scope |
| 1283 | | |
| 1284 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1285 | | |
| 1286 | 266 | / cfg_if! { |
| 1287 | 267 | | if #[cfg(windows)] { |
| 1288 | 268 | | mod windows; |
| 1289 | 269 | | pub use windows::*; |
| 1290 | ... | |
| 1291 | 278 | | } |
| 1292 | 279 | | } |
| 1293 | | |_- in this macro invocation |
| 1294 | |
| 1295 | error[E0412]: cannot find type `passwd` in this scope |
| 1296 | --> /home/kelvin/repos/libc/src/unix/mod.rs:258:43 |
| 1297 | | |
| 1298 | 258 | pub fn getpwuid(uid: ::uid_t) -> *mut passwd; |
| 1299 | | ^^^^^^ not found in this scope |
| 1300 | | |
| 1301 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1302 | | |
| 1303 | 266 | / cfg_if! { |
| 1304 | 267 | | if #[cfg(windows)] { |
| 1305 | 268 | | mod windows; |
| 1306 | 269 | | pub use windows::*; |
| 1307 | ... | |
| 1308 | 278 | | } |
| 1309 | 279 | | } |
| 1310 | | |_- in this macro invocation |
| 1311 | |
| 1312 | error[E0412]: cannot find type `c_char` in the crate root |
| 1313 | --> /home/kelvin/repos/libc/src/unix/mod.rs:261:37 |
| 1314 | | |
| 1315 | 261 | format: *const ::c_char, ...) -> ::c_int; |
| 1316 | | ^^^^^^ did you mean `c_schar`? |
| 1317 | | |
| 1318 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1319 | | |
| 1320 | 266 | / cfg_if! { |
| 1321 | 267 | | if #[cfg(windows)] { |
| 1322 | 268 | | mod windows; |
| 1323 | 269 | | pub use windows::*; |
| 1324 | ... | |
| 1325 | 278 | | } |
| 1326 | 279 | | } |
| 1327 | | |_- in this macro invocation |
| 1328 | | |
| 1329 | = help: possible candidate is found in another module, you can import it into scope: |
| 1330 | `use core::os::raw::c_char;` |
| 1331 | |
| 1332 | error[E0412]: cannot find type `c_char` in the crate root |
| 1333 | --> /home/kelvin/repos/libc/src/unix/mod.rs:262:36 |
| 1334 | | |
| 1335 | 262 | pub fn printf(format: *const ::c_char, ...) -> ::c_int; |
| 1336 | | ^^^^^^ did you mean `c_schar`? |
| 1337 | | |
| 1338 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1339 | | |
| 1340 | 266 | / cfg_if! { |
| 1341 | 267 | | if #[cfg(windows)] { |
| 1342 | 268 | | mod windows; |
| 1343 | 269 | | pub use windows::*; |
| 1344 | ... | |
| 1345 | 278 | | } |
| 1346 | 279 | | } |
| 1347 | | |_- in this macro invocation |
| 1348 | | |
| 1349 | = help: possible candidate is found in another module, you can import it into scope: |
| 1350 | `use core::os::raw::c_char;` |
| 1351 | |
| 1352 | error[E0412]: cannot find type `c_char` in the crate root |
| 1353 | --> /home/kelvin/repos/libc/src/unix/mod.rs:263:31 |
| 1354 | | |
| 1355 | 263 | pub fn snprintf(s: *mut ::c_char, n: ::size_t, |
| 1356 | | ^^^^^^ did you mean `c_schar`? |
| 1357 | | |
| 1358 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1359 | | |
| 1360 | 266 | / cfg_if! { |
| 1361 | 267 | | if #[cfg(windows)] { |
| 1362 | 268 | | mod windows; |
| 1363 | 269 | | pub use windows::*; |
| 1364 | ... | |
| 1365 | 278 | | } |
| 1366 | 279 | | } |
| 1367 | | |_- in this macro invocation |
| 1368 | | |
| 1369 | = help: possible candidate is found in another module, you can import it into scope: |
| 1370 | `use core::os::raw::c_char;` |
| 1371 | |
| 1372 | error[E0412]: cannot find type `c_char` in the crate root |
| 1373 | --> /home/kelvin/repos/libc/src/unix/mod.rs:264:38 |
| 1374 | | |
| 1375 | 264 | format: *const ::c_char, ...) -> ::c_int; |
| 1376 | | ^^^^^^ did you mean `c_schar`? |
| 1377 | | |
| 1378 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1379 | | |
| 1380 | 266 | / cfg_if! { |
| 1381 | 267 | | if #[cfg(windows)] { |
| 1382 | 268 | | mod windows; |
| 1383 | 269 | | pub use windows::*; |
| 1384 | ... | |
| 1385 | 278 | | } |
| 1386 | 279 | | } |
| 1387 | | |_- in this macro invocation |
| 1388 | | |
| 1389 | = help: possible candidate is found in another module, you can import it into scope: |
| 1390 | `use core::os::raw::c_char;` |
| 1391 | |
| 1392 | error[E0412]: cannot find type `c_char` in the crate root |
| 1393 | --> /home/kelvin/repos/libc/src/unix/mod.rs:265:30 |
| 1394 | | |
| 1395 | 265 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; |
| 1396 | | ^^^^^^ did you mean `c_schar`? |
| 1397 | | |
| 1398 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1399 | | |
| 1400 | 266 | / cfg_if! { |
| 1401 | 267 | | if #[cfg(windows)] { |
| 1402 | 268 | | mod windows; |
| 1403 | 269 | | pub use windows::*; |
| 1404 | ... | |
| 1405 | 278 | | } |
| 1406 | 279 | | } |
| 1407 | | |_- in this macro invocation |
| 1408 | | |
| 1409 | = help: possible candidate is found in another module, you can import it into scope: |
| 1410 | `use core::os::raw::c_char;` |
| 1411 | |
| 1412 | error[E0412]: cannot find type `c_char` in the crate root |
| 1413 | --> /home/kelvin/repos/libc/src/unix/mod.rs:265:55 |
| 1414 | | |
| 1415 | 265 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; |
| 1416 | | ^^^^^^ did you mean `c_schar`? |
| 1417 | | |
| 1418 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1419 | | |
| 1420 | 266 | / cfg_if! { |
| 1421 | 267 | | if #[cfg(windows)] { |
| 1422 | 268 | | mod windows; |
| 1423 | 269 | | pub use windows::*; |
| 1424 | ... | |
| 1425 | 278 | | } |
| 1426 | 279 | | } |
| 1427 | | |_- in this macro invocation |
| 1428 | | |
| 1429 | = help: possible candidate is found in another module, you can import it into scope: |
| 1430 | `use core::os::raw::c_char;` |
| 1431 | |
| 1432 | error[E0412]: cannot find type `c_char` in the crate root |
| 1433 | --> /home/kelvin/repos/libc/src/unix/mod.rs:266:57 |
| 1434 | | |
| 1435 | 266 | pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; |
| 1436 | | ^^^^^^ did you mean `c_schar`? |
| 1437 | | |
| 1438 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1439 | | |
| 1440 | 266 | / cfg_if! { |
| 1441 | 267 | | if #[cfg(windows)] { |
| 1442 | 268 | | mod windows; |
| 1443 | 269 | | pub use windows::*; |
| 1444 | ... | |
| 1445 | 278 | | } |
| 1446 | 279 | | } |
| 1447 | | |_- in this macro invocation |
| 1448 | | |
| 1449 | = help: possible candidate is found in another module, you can import it into scope: |
| 1450 | `use core::os::raw::c_char;` |
| 1451 | |
| 1452 | error[E0412]: cannot find type `c_char` in the crate root |
| 1453 | --> /home/kelvin/repos/libc/src/unix/mod.rs:267:35 |
| 1454 | | |
| 1455 | 267 | pub fn scanf(format: *const ::c_char, ...) -> ::c_int; |
| 1456 | | ^^^^^^ did you mean `c_schar`? |
| 1457 | | |
| 1458 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1459 | | |
| 1460 | 266 | / cfg_if! { |
| 1461 | 267 | | if #[cfg(windows)] { |
| 1462 | 268 | | mod windows; |
| 1463 | 269 | | pub use windows::*; |
| 1464 | ... | |
| 1465 | 278 | | } |
| 1466 | 279 | | } |
| 1467 | | |_- in this macro invocation |
| 1468 | | |
| 1469 | = help: possible candidate is found in another module, you can import it into scope: |
| 1470 | `use core::os::raw::c_char;` |
| 1471 | |
| 1472 | error[E0412]: cannot find type `c_char` in the crate root |
| 1473 | --> /home/kelvin/repos/libc/src/unix/mod.rs:268:31 |
| 1474 | | |
| 1475 | 268 | pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; |
| 1476 | | ^^^^^^ did you mean `c_schar`? |
| 1477 | | |
| 1478 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1479 | | |
| 1480 | 266 | / cfg_if! { |
| 1481 | 267 | | if #[cfg(windows)] { |
| 1482 | 268 | | mod windows; |
| 1483 | 269 | | pub use windows::*; |
| 1484 | ... | |
| 1485 | 278 | | } |
| 1486 | 279 | | } |
| 1487 | | |_- in this macro invocation |
| 1488 | | |
| 1489 | = help: possible candidate is found in another module, you can import it into scope: |
| 1490 | `use core::os::raw::c_char;` |
| 1491 | |
| 1492 | error[E0412]: cannot find type `c_char` in the crate root |
| 1493 | --> /home/kelvin/repos/libc/src/unix/mod.rs:268:56 |
| 1494 | | |
| 1495 | 268 | pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; |
| 1496 | | ^^^^^^ did you mean `c_schar`? |
| 1497 | | |
| 1498 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1499 | | |
| 1500 | 266 | / cfg_if! { |
| 1501 | 267 | | if #[cfg(windows)] { |
| 1502 | 268 | | mod windows; |
| 1503 | 269 | | pub use windows::*; |
| 1504 | ... | |
| 1505 | 278 | | } |
| 1506 | 279 | | } |
| 1507 | | |_- in this macro invocation |
| 1508 | | |
| 1509 | = help: possible candidate is found in another module, you can import it into scope: |
| 1510 | `use core::os::raw::c_char;` |
| 1511 | |
| 1512 | error[E0412]: cannot find type `sockaddr` in this scope |
| 1513 | --> /home/kelvin/repos/libc/src/unix/mod.rs:276:53 |
| 1514 | | |
| 1515 | 276 | pub fn connect(socket: ::c_int, address: *const sockaddr, |
| 1516 | | ^^^^^^^^ not found in this scope |
| 1517 | | |
| 1518 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1519 | | |
| 1520 | 266 | / cfg_if! { |
| 1521 | 267 | | if #[cfg(windows)] { |
| 1522 | 268 | | mod windows; |
| 1523 | 269 | | pub use windows::*; |
| 1524 | ... | |
| 1525 | 278 | | } |
| 1526 | 279 | | } |
| 1527 | | |_- in this macro invocation |
| 1528 | |
| 1529 | error[E0412]: cannot find type `socklen_t` in this scope |
| 1530 | --> /home/kelvin/repos/libc/src/unix/mod.rs:277:25 |
| 1531 | | |
| 1532 | 277 | len: socklen_t) -> ::c_int; |
| 1533 | | ^^^^^^^^^ did you mean `locale_t`? |
| 1534 | | |
| 1535 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1536 | | |
| 1537 | 266 | / cfg_if! { |
| 1538 | 267 | | if #[cfg(windows)] { |
| 1539 | 268 | | mod windows; |
| 1540 | 269 | | pub use windows::*; |
| 1541 | ... | |
| 1542 | 278 | | } |
| 1543 | 279 | | } |
| 1544 | | |_- in this macro invocation |
| 1545 | |
| 1546 | error[E0412]: cannot find type `sockaddr` in this scope |
| 1547 | --> /home/kelvin/repos/libc/src/unix/mod.rs:283:50 |
| 1548 | | |
| 1549 | 283 | pub fn accept(socket: ::c_int, address: *mut sockaddr, |
| 1550 | | ^^^^^^^^ not found in this scope |
| 1551 | | |
| 1552 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1553 | | |
| 1554 | 266 | / cfg_if! { |
| 1555 | 267 | | if #[cfg(windows)] { |
| 1556 | 268 | | mod windows; |
| 1557 | 269 | | pub use windows::*; |
| 1558 | ... | |
| 1559 | 278 | | } |
| 1560 | 279 | | } |
| 1561 | | |_- in this macro invocation |
| 1562 | |
| 1563 | error[E0412]: cannot find type `socklen_t` in this scope |
| 1564 | --> /home/kelvin/repos/libc/src/unix/mod.rs:284:37 |
| 1565 | | |
| 1566 | 284 | address_len: *mut socklen_t) -> ::c_int; |
| 1567 | | ^^^^^^^^^ did you mean `locale_t`? |
| 1568 | | |
| 1569 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1570 | | |
| 1571 | 266 | / cfg_if! { |
| 1572 | 267 | | if #[cfg(windows)] { |
| 1573 | 268 | | mod windows; |
| 1574 | 269 | | pub use windows::*; |
| 1575 | ... | |
| 1576 | 278 | | } |
| 1577 | 279 | | } |
| 1578 | | |_- in this macro invocation |
| 1579 | |
| 1580 | error[E0412]: cannot find type `sockaddr` in this scope |
| 1581 | --> /home/kelvin/repos/libc/src/unix/mod.rs:287:55 |
| 1582 | | |
| 1583 | 287 | pub fn getpeername(socket: ::c_int, address: *mut sockaddr, |
| 1584 | | ^^^^^^^^ not found in this scope |
| 1585 | | |
| 1586 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1587 | | |
| 1588 | 266 | / cfg_if! { |
| 1589 | 267 | | if #[cfg(windows)] { |
| 1590 | 268 | | mod windows; |
| 1591 | 269 | | pub use windows::*; |
| 1592 | ... | |
| 1593 | 278 | | } |
| 1594 | 279 | | } |
| 1595 | | |_- in this macro invocation |
| 1596 | |
| 1597 | error[E0412]: cannot find type `socklen_t` in this scope |
| 1598 | --> /home/kelvin/repos/libc/src/unix/mod.rs:288:42 |
| 1599 | | |
| 1600 | 288 | address_len: *mut socklen_t) -> ::c_int; |
| 1601 | | ^^^^^^^^^ did you mean `locale_t`? |
| 1602 | | |
| 1603 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1604 | | |
| 1605 | 266 | / cfg_if! { |
| 1606 | 267 | | if #[cfg(windows)] { |
| 1607 | 268 | | mod windows; |
| 1608 | 269 | | pub use windows::*; |
| 1609 | ... | |
| 1610 | 278 | | } |
| 1611 | 279 | | } |
| 1612 | | |_- in this macro invocation |
| 1613 | |
| 1614 | error[E0412]: cannot find type `sockaddr` in this scope |
| 1615 | --> /home/kelvin/repos/libc/src/unix/mod.rs:291:55 |
| 1616 | | |
| 1617 | 291 | pub fn getsockname(socket: ::c_int, address: *mut sockaddr, |
| 1618 | | ^^^^^^^^ not found in this scope |
| 1619 | | |
| 1620 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1621 | | |
| 1622 | 266 | / cfg_if! { |
| 1623 | 267 | | if #[cfg(windows)] { |
| 1624 | 268 | | mod windows; |
| 1625 | 269 | | pub use windows::*; |
| 1626 | ... | |
| 1627 | 278 | | } |
| 1628 | 279 | | } |
| 1629 | | |_- in this macro invocation |
| 1630 | |
| 1631 | error[E0412]: cannot find type `socklen_t` in this scope |
| 1632 | --> /home/kelvin/repos/libc/src/unix/mod.rs:292:42 |
| 1633 | | |
| 1634 | 292 | address_len: *mut socklen_t) -> ::c_int; |
| 1635 | | ^^^^^^^^^ did you mean `locale_t`? |
| 1636 | | |
| 1637 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1638 | | |
| 1639 | 266 | / cfg_if! { |
| 1640 | 267 | | if #[cfg(windows)] { |
| 1641 | 268 | | mod windows; |
| 1642 | 269 | | pub use windows::*; |
| 1643 | ... | |
| 1644 | 278 | | } |
| 1645 | 279 | | } |
| 1646 | | |_- in this macro invocation |
| 1647 | |
| 1648 | error[E0412]: cannot find type `socklen_t` in this scope |
| 1649 | --> /home/kelvin/repos/libc/src/unix/mod.rs:295:35 |
| 1650 | | |
| 1651 | 295 | option_len: socklen_t) -> ::c_int; |
| 1652 | | ^^^^^^^^^ did you mean `locale_t`? |
| 1653 | | |
| 1654 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1655 | | |
| 1656 | 266 | / cfg_if! { |
| 1657 | 267 | | if #[cfg(windows)] { |
| 1658 | 268 | | mod windows; |
| 1659 | 269 | | pub use windows::*; |
| 1660 | ... | |
| 1661 | 278 | | } |
| 1662 | 279 | | } |
| 1663 | | |_- in this macro invocation |
| 1664 | |
| 1665 | error[E0412]: cannot find type `sockaddr` in this scope |
| 1666 | --> /home/kelvin/repos/libc/src/unix/mod.rs:303:48 |
| 1667 | | |
| 1668 | 303 | flags: ::c_int, addr: *const sockaddr, |
| 1669 | | ^^^^^^^^ not found in this scope |
| 1670 | | |
| 1671 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1672 | | |
| 1673 | 266 | / cfg_if! { |
| 1674 | 267 | | if #[cfg(windows)] { |
| 1675 | 268 | | mod windows; |
| 1676 | 269 | | pub use windows::*; |
| 1677 | ... | |
| 1678 | 278 | | } |
| 1679 | 279 | | } |
| 1680 | | |_- in this macro invocation |
| 1681 | |
| 1682 | error[E0412]: cannot find type `socklen_t` in this scope |
| 1683 | --> /home/kelvin/repos/libc/src/unix/mod.rs:304:28 |
| 1684 | | |
| 1685 | 304 | addrlen: socklen_t) -> ::ssize_t; |
| 1686 | | ^^^^^^^^^ did you mean `locale_t`? |
| 1687 | | |
| 1688 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1689 | | |
| 1690 | 266 | / cfg_if! { |
| 1691 | 267 | | if #[cfg(windows)] { |
| 1692 | 268 | | mod windows; |
| 1693 | 269 | | pub use windows::*; |
| 1694 | ... | |
| 1695 | 278 | | } |
| 1696 | 279 | | } |
| 1697 | | |_- in this macro invocation |
| 1698 | |
| 1699 | error[E0412]: cannot find type `c_char` in this scope |
| 1700 | --> /home/kelvin/repos/libc/src/unix/mod.rs:309:31 |
| 1701 | | |
| 1702 | 309 | pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int; |
| 1703 | | ^^^^^^ did you mean `char`? |
| 1704 | | |
| 1705 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1706 | | |
| 1707 | 266 | / cfg_if! { |
| 1708 | 267 | | if #[cfg(windows)] { |
| 1709 | 268 | | mod windows; |
| 1710 | 269 | | pub use windows::*; |
| 1711 | ... | |
| 1712 | 278 | | } |
| 1713 | 279 | | } |
| 1714 | | |_- in this macro invocation |
| 1715 | | |
| 1716 | = help: possible candidate is found in another module, you can import it into scope: |
| 1717 | `use core::os::raw::c_char;` |
| 1718 | |
| 1719 | error[E0412]: cannot find type `mode_t` in this scope |
| 1720 | --> /home/kelvin/repos/libc/src/unix/mod.rs:309:45 |
| 1721 | | |
| 1722 | 309 | pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int; |
| 1723 | | ^^^^^^ not found in this scope |
| 1724 | | |
| 1725 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1726 | | |
| 1727 | 266 | / cfg_if! { |
| 1728 | 267 | | if #[cfg(windows)] { |
| 1729 | 268 | | mod windows; |
| 1730 | 269 | | pub use windows::*; |
| 1731 | ... | |
| 1732 | 278 | | } |
| 1733 | 279 | | } |
| 1734 | | |_- in this macro invocation |
| 1735 | | |
| 1736 | = help: possible candidates are found in other modules, you can import them into scope: |
| 1737 | `use core::os::linux::raw::mode_t;` |
| 1738 | `use core::os::unix::raw::mode_t;` |
| 1739 | |
| 1740 | error[E0412]: cannot find type `mode_t` in this scope |
| 1741 | --> /home/kelvin/repos/libc/src/unix/mod.rs:312:38 |
| 1742 | | |
| 1743 | 312 | pub fn fchmod(fd: ::c_int, mode: mode_t) -> ::c_int; |
| 1744 | | ^^^^^^ not found in this scope |
| 1745 | | |
| 1746 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1747 | | |
| 1748 | 266 | / cfg_if! { |
| 1749 | 267 | | if #[cfg(windows)] { |
| 1750 | 268 | | mod windows; |
| 1751 | 269 | | pub use windows::*; |
| 1752 | ... | |
| 1753 | 278 | | } |
| 1754 | 279 | | } |
| 1755 | | |_- in this macro invocation |
| 1756 | | |
| 1757 | = help: possible candidates are found in other modules, you can import them into scope: |
| 1758 | `use core::os::linux::raw::mode_t;` |
| 1759 | `use core::os::unix::raw::mode_t;` |
| 1760 | |
| 1761 | error[E0573]: expected type, found function `stat` |
| 1762 | --> /home/kelvin/repos/libc/src/unix/mod.rs:316:45 |
| 1763 | | |
| 1764 | 316 | pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int; |
| 1765 | | ^^^^ not a type |
| 1766 | | |
| 1767 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1768 | | |
| 1769 | 266 | / cfg_if! { |
| 1770 | 267 | | if #[cfg(windows)] { |
| 1771 | 268 | | mod windows; |
| 1772 | 269 | | pub use windows::*; |
| 1773 | ... | |
| 1774 | 278 | | } |
| 1775 | 279 | | } |
| 1776 | | |_- in this macro invocation |
| 1777 | | |
| 1778 | = help: possible better candidate is found in another module, you can import it into scope: |
| 1779 | `use core::os::linux::raw::stat;` |
| 1780 | |
| 1781 | error[E0412]: cannot find type `c_char` in this scope |
| 1782 | --> /home/kelvin/repos/libc/src/unix/mod.rs:318:31 |
| 1783 | | |
| 1784 | 318 | pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; |
| 1785 | | ^^^^^^ did you mean `char`? |
| 1786 | | |
| 1787 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1788 | | |
| 1789 | 266 | / cfg_if! { |
| 1790 | 267 | | if #[cfg(windows)] { |
| 1791 | 268 | | mod windows; |
| 1792 | 269 | | pub use windows::*; |
| 1793 | ... | |
| 1794 | 278 | | } |
| 1795 | 279 | | } |
| 1796 | | |_- in this macro invocation |
| 1797 | | |
| 1798 | = help: possible candidate is found in another module, you can import it into scope: |
| 1799 | `use core::os::raw::c_char;` |
| 1800 | |
| 1801 | error[E0412]: cannot find type `mode_t` in this scope |
| 1802 | --> /home/kelvin/repos/libc/src/unix/mod.rs:318:45 |
| 1803 | | |
| 1804 | 318 | pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; |
| 1805 | | ^^^^^^ not found in this scope |
| 1806 | | |
| 1807 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1808 | | |
| 1809 | 266 | / cfg_if! { |
| 1810 | 267 | | if #[cfg(windows)] { |
| 1811 | 268 | | mod windows; |
| 1812 | 269 | | pub use windows::*; |
| 1813 | ... | |
| 1814 | 278 | | } |
| 1815 | 279 | | } |
| 1816 | | |_- in this macro invocation |
| 1817 | | |
| 1818 | = help: possible candidates are found in other modules, you can import them into scope: |
| 1819 | `use core::os::linux::raw::mode_t;` |
| 1820 | `use core::os::unix::raw::mode_t;` |
| 1821 | |
| 1822 | error[E0412]: cannot find type `c_char` in this scope |
| 1823 | --> /home/kelvin/repos/libc/src/unix/mod.rs:322:30 |
| 1824 | | |
| 1825 | 322 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; |
| 1826 | | ^^^^^^ did you mean `char`? |
| 1827 | | |
| 1828 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1829 | | |
| 1830 | 266 | / cfg_if! { |
| 1831 | 267 | | if #[cfg(windows)] { |
| 1832 | 268 | | mod windows; |
| 1833 | 269 | | pub use windows::*; |
| 1834 | ... | |
| 1835 | 278 | | } |
| 1836 | 279 | | } |
| 1837 | | |_- in this macro invocation |
| 1838 | | |
| 1839 | = help: possible candidate is found in another module, you can import it into scope: |
| 1840 | `use core::os::raw::c_char;` |
| 1841 | |
| 1842 | error[E0573]: expected type, found function `stat` |
| 1843 | --> /home/kelvin/repos/libc/src/unix/mod.rs:322:48 |
| 1844 | | |
| 1845 | 322 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; |
| 1846 | | ^^^^ not a type |
| 1847 | | |
| 1848 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1849 | | |
| 1850 | 266 | / cfg_if! { |
| 1851 | 267 | | if #[cfg(windows)] { |
| 1852 | 268 | | mod windows; |
| 1853 | 269 | | pub use windows::*; |
| 1854 | ... | |
| 1855 | 278 | | } |
| 1856 | 279 | | } |
| 1857 | | |_- in this macro invocation |
| 1858 | | |
| 1859 | = help: possible better candidate is found in another module, you can import it into scope: |
| 1860 | `use core::os::linux::raw::stat;` |
| 1861 | |
| 1862 | error[E0412]: cannot find type `c_char` in this scope |
| 1863 | --> /home/kelvin/repos/libc/src/unix/mod.rs:326:34 |
| 1864 | | |
| 1865 | 326 | pub fn popen(command: *const c_char, |
| 1866 | | ^^^^^^ did you mean `char`? |
| 1867 | | |
| 1868 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1869 | | |
| 1870 | 266 | / cfg_if! { |
| 1871 | 267 | | if #[cfg(windows)] { |
| 1872 | 268 | | mod windows; |
| 1873 | 269 | | pub use windows::*; |
| 1874 | ... | |
| 1875 | 278 | | } |
| 1876 | 279 | | } |
| 1877 | | |_- in this macro invocation |
| 1878 | | |
| 1879 | = help: possible candidate is found in another module, you can import it into scope: |
| 1880 | `use core::os::raw::c_char;` |
| 1881 | |
| 1882 | error[E0412]: cannot find type `c_char` in this scope |
| 1883 | --> /home/kelvin/repos/libc/src/unix/mod.rs:327:31 |
| 1884 | | |
| 1885 | 327 | mode: *const c_char) -> *mut ::FILE; |
| 1886 | | ^^^^^^ did you mean `char`? |
| 1887 | | |
| 1888 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1889 | | |
| 1890 | 266 | / cfg_if! { |
| 1891 | 267 | | if #[cfg(windows)] { |
| 1892 | 268 | | mod windows; |
| 1893 | 269 | | pub use windows::*; |
| 1894 | ... | |
| 1895 | 278 | | } |
| 1896 | 279 | | } |
| 1897 | | |_- in this macro invocation |
| 1898 | | |
| 1899 | = help: possible candidate is found in another module, you can import it into scope: |
| 1900 | `use core::os::raw::c_char;` |
| 1901 | |
| 1902 | error[E0412]: cannot find type `c_char` in this scope |
| 1903 | --> /home/kelvin/repos/libc/src/unix/mod.rs:331:45 |
| 1904 | | |
| 1905 | 331 | pub fn fdopen(fd: ::c_int, mode: *const c_char) -> *mut ::FILE; |
| 1906 | | ^^^^^^ did you mean `char`? |
| 1907 | | |
| 1908 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1909 | | |
| 1910 | 266 | / cfg_if! { |
| 1911 | 267 | | if #[cfg(windows)] { |
| 1912 | 268 | | mod windows; |
| 1913 | 269 | | pub use windows::*; |
| 1914 | ... | |
| 1915 | 278 | | } |
| 1916 | 279 | | } |
| 1917 | | |_- in this macro invocation |
| 1918 | | |
| 1919 | = help: possible candidate is found in another module, you can import it into scope: |
| 1920 | `use core::os::raw::c_char;` |
| 1921 | |
| 1922 | error[E0412]: cannot find type `c_char` in this scope |
| 1923 | --> /home/kelvin/repos/libc/src/unix/mod.rs:336:30 |
| 1924 | | |
| 1925 | 336 | pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; |
| 1926 | | ^^^^^^ did you mean `char`? |
| 1927 | | |
| 1928 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1929 | | |
| 1930 | 266 | / cfg_if! { |
| 1931 | 267 | | if #[cfg(windows)] { |
| 1932 | 268 | | mod windows; |
| 1933 | 269 | | pub use windows::*; |
| 1934 | ... | |
| 1935 | 278 | | } |
| 1936 | 279 | | } |
| 1937 | | |_- in this macro invocation |
| 1938 | | |
| 1939 | = help: possible candidate is found in another module, you can import it into scope: |
| 1940 | `use core::os::raw::c_char;` |
| 1941 | |
| 1942 | error[E0412]: cannot find type `c_char` in this scope |
| 1943 | --> /home/kelvin/repos/libc/src/unix/mod.rs:339:31 |
| 1944 | | |
| 1945 | 339 | pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int; |
| 1946 | | ^^^^^^ did you mean `char`? |
| 1947 | | |
| 1948 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1949 | | |
| 1950 | 266 | / cfg_if! { |
| 1951 | 267 | | if #[cfg(windows)] { |
| 1952 | 268 | | mod windows; |
| 1953 | 269 | | pub use windows::*; |
| 1954 | ... | |
| 1955 | 278 | | } |
| 1956 | 279 | | } |
| 1957 | | |_- in this macro invocation |
| 1958 | | |
| 1959 | = help: possible candidate is found in another module, you can import it into scope: |
| 1960 | `use core::os::raw::c_char;` |
| 1961 | |
| 1962 | error[E0412]: cannot find type `mode_t` in this scope |
| 1963 | --> /home/kelvin/repos/libc/src/unix/mod.rs:339:45 |
| 1964 | | |
| 1965 | 339 | pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int; |
| 1966 | | ^^^^^^ not found in this scope |
| 1967 | | |
| 1968 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1969 | | |
| 1970 | 266 | / cfg_if! { |
| 1971 | 267 | | if #[cfg(windows)] { |
| 1972 | 268 | | mod windows; |
| 1973 | 269 | | pub use windows::*; |
| 1974 | ... | |
| 1975 | 278 | | } |
| 1976 | 279 | | } |
| 1977 | | |_- in this macro invocation |
| 1978 | | |
| 1979 | = help: possible candidates are found in other modules, you can import them into scope: |
| 1980 | `use core::os::linux::raw::mode_t;` |
| 1981 | `use core::os::unix::raw::mode_t;` |
| 1982 | |
| 1983 | error[E0412]: cannot find type `c_char` in this scope |
| 1984 | --> /home/kelvin/repos/libc/src/unix/mod.rs:349:36 |
| 1985 | | |
| 1986 | 349 | pub fn opendir(dirname: *const c_char) -> *mut ::DIR; |
| 1987 | | ^^^^^^ did you mean `char`? |
| 1988 | | |
| 1989 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 1990 | | |
| 1991 | 266 | / cfg_if! { |
| 1992 | 267 | | if #[cfg(windows)] { |
| 1993 | 268 | | mod windows; |
| 1994 | 269 | | pub use windows::*; |
| 1995 | ... | |
| 1996 | 278 | | } |
| 1997 | 279 | | } |
| 1998 | | |_- in this macro invocation |
| 1999 | | |
| 2000 | = help: possible candidate is found in another module, you can import it into scope: |
| 2001 | `use core::os::raw::c_char;` |
| 2002 | |
| 2003 | error[E0412]: cannot find type `dirent` in the crate root |
| 2004 | --> /home/kelvin/repos/libc/src/unix/mod.rs:352:48 |
| 2005 | | |
| 2006 | 352 | pub fn readdir(dirp: *mut ::DIR) -> *mut ::dirent; |
| 2007 | | ^^^^^^ not found in the crate root |
| 2008 | | |
| 2009 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2010 | | |
| 2011 | 266 | / cfg_if! { |
| 2012 | 267 | | if #[cfg(windows)] { |
| 2013 | 268 | | mod windows; |
| 2014 | 269 | | pub use windows::*; |
| 2015 | ... | |
| 2016 | 278 | | } |
| 2017 | 279 | | } |
| 2018 | | |_- in this macro invocation |
| 2019 | |
| 2020 | error[E0412]: cannot find type `dirent` in the crate root |
| 2021 | --> /home/kelvin/repos/libc/src/unix/mod.rs:356:54 |
| 2022 | | |
| 2023 | 356 | pub fn readdir_r(dirp: *mut ::DIR, entry: *mut ::dirent, |
| 2024 | | ^^^^^^ not found in the crate root |
| 2025 | | |
| 2026 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2027 | | |
| 2028 | 266 | / cfg_if! { |
| 2029 | 267 | | if #[cfg(windows)] { |
| 2030 | 268 | | mod windows; |
| 2031 | 269 | | pub use windows::*; |
| 2032 | ... | |
| 2033 | 278 | | } |
| 2034 | 279 | | } |
| 2035 | | |_- in this macro invocation |
| 2036 | |
| 2037 | error[E0412]: cannot find type `dirent` in the crate root |
| 2038 | --> /home/kelvin/repos/libc/src/unix/mod.rs:357:42 |
| 2039 | | |
| 2040 | 357 | result: *mut *mut ::dirent) -> ::c_int; |
| 2041 | | ^^^^^^ not found in the crate root |
| 2042 | | |
| 2043 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2044 | | |
| 2045 | 266 | / cfg_if! { |
| 2046 | 267 | | if #[cfg(windows)] { |
| 2047 | 268 | | mod windows; |
| 2048 | 269 | | pub use windows::*; |
| 2049 | ... | |
| 2050 | 278 | | } |
| 2051 | 279 | | } |
| 2052 | | |_- in this macro invocation |
| 2053 | |
| 2054 | error[E0412]: cannot find type `c_char` in the crate root |
| 2055 | --> /home/kelvin/repos/libc/src/unix/mod.rs:367:54 |
| 2056 | | |
| 2057 | 367 | pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, |
| 2058 | | ^^^^^^ did you mean `c_schar`? |
| 2059 | | |
| 2060 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2061 | | |
| 2062 | 266 | / cfg_if! { |
| 2063 | 267 | | if #[cfg(windows)] { |
| 2064 | 268 | | mod windows; |
| 2065 | 269 | | pub use windows::*; |
| 2066 | ... | |
| 2067 | 278 | | } |
| 2068 | 279 | | } |
| 2069 | | |_- in this macro invocation |
| 2070 | | |
| 2071 | = help: possible candidate is found in another module, you can import it into scope: |
| 2072 | `use core::os::raw::c_char;` |
| 2073 | |
| 2074 | error[E0412]: cannot find type `c_char` in the crate root |
| 2075 | --> /home/kelvin/repos/libc/src/unix/mod.rs:369:57 |
| 2076 | | |
| 2077 | 369 | pub fn faccessat(dirfd: ::c_int, pathname: *const ::c_char, |
| 2078 | | ^^^^^^ did you mean `c_schar`? |
| 2079 | | |
| 2080 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2081 | | |
| 2082 | 266 | / cfg_if! { |
| 2083 | 267 | | if #[cfg(windows)] { |
| 2084 | 268 | | mod windows; |
| 2085 | 269 | | pub use windows::*; |
| 2086 | ... | |
| 2087 | 278 | | } |
| 2088 | 279 | | } |
| 2089 | | |_- in this macro invocation |
| 2090 | | |
| 2091 | = help: possible candidate is found in another module, you can import it into scope: |
| 2092 | `use core::os::raw::c_char;` |
| 2093 | |
| 2094 | error[E0412]: cannot find type `c_char` in the crate root |
| 2095 | --> /home/kelvin/repos/libc/src/unix/mod.rs:371:56 |
| 2096 | | |
| 2097 | 371 | pub fn fchmodat(dirfd: ::c_int, pathname: *const ::c_char, |
| 2098 | | ^^^^^^ did you mean `c_schar`? |
| 2099 | | |
| 2100 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2101 | | |
| 2102 | 266 | / cfg_if! { |
| 2103 | 267 | | if #[cfg(windows)] { |
| 2104 | 268 | | mod windows; |
| 2105 | 269 | | pub use windows::*; |
| 2106 | ... | |
| 2107 | 278 | | } |
| 2108 | 279 | | } |
| 2109 | | |_- in this macro invocation |
| 2110 | | |
| 2111 | = help: possible candidate is found in another module, you can import it into scope: |
| 2112 | `use core::os::raw::c_char;` |
| 2113 | |
| 2114 | error[E0412]: cannot find type `mode_t` in the crate root |
| 2115 | --> /home/kelvin/repos/libc/src/unix/mod.rs:372:29 |
| 2116 | | |
| 2117 | 372 | mode: ::mode_t, flags: ::c_int) -> ::c_int; |
| 2118 | | ^^^^^^ not found in the crate root |
| 2119 | | |
| 2120 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2121 | | |
| 2122 | 266 | / cfg_if! { |
| 2123 | 267 | | if #[cfg(windows)] { |
| 2124 | 268 | | mod windows; |
| 2125 | 269 | | pub use windows::*; |
| 2126 | ... | |
| 2127 | 278 | | } |
| 2128 | 279 | | } |
| 2129 | | |_- in this macro invocation |
| 2130 | | |
| 2131 | = help: possible candidates are found in other modules, you can import them into scope: |
| 2132 | `use core::os::linux::raw::mode_t;` |
| 2133 | `use core::os::unix::raw::mode_t;` |
| 2134 | |
| 2135 | error[E0412]: cannot find type `c_char` in the crate root |
| 2136 | --> /home/kelvin/repos/libc/src/unix/mod.rs:376:56 |
| 2137 | | |
| 2138 | 376 | pub fn fchownat(dirfd: ::c_int, pathname: *const ::c_char, |
| 2139 | | ^^^^^^ did you mean `c_schar`? |
| 2140 | | |
| 2141 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2142 | | |
| 2143 | 266 | / cfg_if! { |
| 2144 | 267 | | if #[cfg(windows)] { |
| 2145 | 268 | | mod windows; |
| 2146 | 269 | | pub use windows::*; |
| 2147 | ... | |
| 2148 | 278 | | } |
| 2149 | 279 | | } |
| 2150 | | |_- in this macro invocation |
| 2151 | | |
| 2152 | = help: possible candidate is found in another module, you can import it into scope: |
| 2153 | `use core::os::raw::c_char;` |
| 2154 | |
| 2155 | error[E0412]: cannot find type `c_char` in the crate root |
| 2156 | --> /home/kelvin/repos/libc/src/unix/mod.rs:380:55 |
| 2157 | | |
| 2158 | 380 | pub fn fstatat(dirfd: ::c_int, pathname: *const ::c_char, |
| 2159 | | ^^^^^^ did you mean `c_schar`? |
| 2160 | | |
| 2161 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2162 | | |
| 2163 | 266 | / cfg_if! { |
| 2164 | 267 | | if #[cfg(windows)] { |
| 2165 | 268 | | mod windows; |
| 2166 | 269 | | pub use windows::*; |
| 2167 | ... | |
| 2168 | 278 | | } |
| 2169 | 279 | | } |
| 2170 | | |_- in this macro invocation |
| 2171 | | |
| 2172 | = help: possible candidate is found in another module, you can import it into scope: |
| 2173 | `use core::os::raw::c_char;` |
| 2174 | |
| 2175 | error[E0573]: expected type, found function `stat` |
| 2176 | --> /home/kelvin/repos/libc/src/unix/mod.rs:381:30 |
| 2177 | | |
| 2178 | 381 | buf: *mut stat, flags: ::c_int) -> ::c_int; |
| 2179 | | ^^^^ not a type |
| 2180 | | |
| 2181 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2182 | | |
| 2183 | 266 | / cfg_if! { |
| 2184 | 267 | | if #[cfg(windows)] { |
| 2185 | 268 | | mod windows; |
| 2186 | 269 | | pub use windows::*; |
| 2187 | ... | |
| 2188 | 278 | | } |
| 2189 | 279 | | } |
| 2190 | | |_- in this macro invocation |
| 2191 | | |
| 2192 | = help: possible better candidate is found in another module, you can import it into scope: |
| 2193 | `use core::os::linux::raw::stat;` |
| 2194 | |
| 2195 | error[E0412]: cannot find type `c_char` in the crate root |
| 2196 | --> /home/kelvin/repos/libc/src/unix/mod.rs:382:56 |
| 2197 | | |
| 2198 | 382 | pub fn linkat(olddirfd: ::c_int, oldpath: *const ::c_char, |
| 2199 | | ^^^^^^ did you mean `c_schar`? |
| 2200 | | |
| 2201 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2202 | | |
| 2203 | 266 | / cfg_if! { |
| 2204 | 267 | | if #[cfg(windows)] { |
| 2205 | 268 | | mod windows; |
| 2206 | 269 | | pub use windows::*; |
| 2207 | ... | |
| 2208 | 278 | | } |
| 2209 | 279 | | } |
| 2210 | | |_- in this macro invocation |
| 2211 | | |
| 2212 | = help: possible candidate is found in another module, you can import it into scope: |
| 2213 | `use core::os::raw::c_char;` |
| 2214 | |
| 2215 | error[E0412]: cannot find type `c_char` in the crate root |
| 2216 | --> /home/kelvin/repos/libc/src/unix/mod.rs:383:56 |
| 2217 | | |
| 2218 | 383 | newdirfd: ::c_int, newpath: *const ::c_char, |
| 2219 | | ^^^^^^ did you mean `c_schar`? |
| 2220 | | |
| 2221 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2222 | | |
| 2223 | 266 | / cfg_if! { |
| 2224 | 267 | | if #[cfg(windows)] { |
| 2225 | 268 | | mod windows; |
| 2226 | 269 | | pub use windows::*; |
| 2227 | ... | |
| 2228 | 278 | | } |
| 2229 | 279 | | } |
| 2230 | | |_- in this macro invocation |
| 2231 | | |
| 2232 | = help: possible candidate is found in another module, you can import it into scope: |
| 2233 | `use core::os::raw::c_char;` |
| 2234 | |
| 2235 | error[E0412]: cannot find type `c_char` in the crate root |
| 2236 | --> /home/kelvin/repos/libc/src/unix/mod.rs:385:55 |
| 2237 | | |
| 2238 | 385 | pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char, |
| 2239 | | ^^^^^^ did you mean `c_schar`? |
| 2240 | | |
| 2241 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2242 | | |
| 2243 | 266 | / cfg_if! { |
| 2244 | 267 | | if #[cfg(windows)] { |
| 2245 | 268 | | mod windows; |
| 2246 | 269 | | pub use windows::*; |
| 2247 | ... | |
| 2248 | 278 | | } |
| 2249 | 279 | | } |
| 2250 | | |_- in this macro invocation |
| 2251 | | |
| 2252 | = help: possible candidate is found in another module, you can import it into scope: |
| 2253 | `use core::os::raw::c_char;` |
| 2254 | |
| 2255 | error[E0412]: cannot find type `mode_t` in the crate root |
| 2256 | --> /home/kelvin/repos/libc/src/unix/mod.rs:386:28 |
| 2257 | | |
| 2258 | 386 | mode: ::mode_t) -> ::c_int; |
| 2259 | | ^^^^^^ not found in the crate root |
| 2260 | | |
| 2261 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2262 | | |
| 2263 | 266 | / cfg_if! { |
| 2264 | 267 | | if #[cfg(windows)] { |
| 2265 | 268 | | mod windows; |
| 2266 | 269 | | pub use windows::*; |
| 2267 | ... | |
| 2268 | 278 | | } |
| 2269 | 279 | | } |
| 2270 | | |_- in this macro invocation |
| 2271 | | |
| 2272 | = help: possible candidates are found in other modules, you can import them into scope: |
| 2273 | `use core::os::linux::raw::mode_t;` |
| 2274 | `use core::os::unix::raw::mode_t;` |
| 2275 | |
| 2276 | error[E0412]: cannot find type `c_char` in the crate root |
| 2277 | --> /home/kelvin/repos/libc/src/unix/mod.rs:387:58 |
| 2278 | | |
| 2279 | 387 | pub fn readlinkat(dirfd: ::c_int, pathname: *const ::c_char, |
| 2280 | | ^^^^^^ did you mean `c_schar`? |
| 2281 | | |
| 2282 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2283 | | |
| 2284 | 266 | / cfg_if! { |
| 2285 | 267 | | if #[cfg(windows)] { |
| 2286 | 268 | | mod windows; |
| 2287 | 269 | | pub use windows::*; |
| 2288 | ... | |
| 2289 | 278 | | } |
| 2290 | 279 | | } |
| 2291 | | |_- in this macro invocation |
| 2292 | | |
| 2293 | = help: possible candidate is found in another module, you can import it into scope: |
| 2294 | `use core::os::raw::c_char;` |
| 2295 | |
| 2296 | error[E0412]: cannot find type `c_char` in the crate root |
| 2297 | --> /home/kelvin/repos/libc/src/unix/mod.rs:388:35 |
| 2298 | | |
| 2299 | 388 | buf: *mut ::c_char, bufsiz: ::size_t) -> ::ssize_t; |
| 2300 | | ^^^^^^ did you mean `c_schar`? |
| 2301 | | |
| 2302 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2303 | | |
| 2304 | 266 | / cfg_if! { |
| 2305 | 267 | | if #[cfg(windows)] { |
| 2306 | 268 | | mod windows; |
| 2307 | 269 | | pub use windows::*; |
| 2308 | ... | |
| 2309 | 278 | | } |
| 2310 | 279 | | } |
| 2311 | | |_- in this macro invocation |
| 2312 | | |
| 2313 | = help: possible candidate is found in another module, you can import it into scope: |
| 2314 | `use core::os::raw::c_char;` |
| 2315 | |
| 2316 | error[E0412]: cannot find type `c_char` in the crate root |
| 2317 | --> /home/kelvin/repos/libc/src/unix/mod.rs:389:58 |
| 2318 | | |
| 2319 | 389 | pub fn renameat(olddirfd: ::c_int, oldpath: *const ::c_char, |
| 2320 | | ^^^^^^ did you mean `c_schar`? |
| 2321 | | |
| 2322 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2323 | | |
| 2324 | 266 | / cfg_if! { |
| 2325 | 267 | | if #[cfg(windows)] { |
| 2326 | 268 | | mod windows; |
| 2327 | 269 | | pub use windows::*; |
| 2328 | ... | |
| 2329 | 278 | | } |
| 2330 | 279 | | } |
| 2331 | | |_- in this macro invocation |
| 2332 | | |
| 2333 | = help: possible candidate is found in another module, you can import it into scope: |
| 2334 | `use core::os::raw::c_char;` |
| 2335 | |
| 2336 | error[E0412]: cannot find type `c_char` in the crate root |
| 2337 | --> /home/kelvin/repos/libc/src/unix/mod.rs:390:58 |
| 2338 | | |
| 2339 | 390 | newdirfd: ::c_int, newpath: *const ::c_char) |
| 2340 | | ^^^^^^ did you mean `c_schar`? |
| 2341 | | |
| 2342 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2343 | | |
| 2344 | 266 | / cfg_if! { |
| 2345 | 267 | | if #[cfg(windows)] { |
| 2346 | 268 | | mod windows; |
| 2347 | 269 | | pub use windows::*; |
| 2348 | ... | |
| 2349 | 278 | | } |
| 2350 | 279 | | } |
| 2351 | | |_- in this macro invocation |
| 2352 | | |
| 2353 | = help: possible candidate is found in another module, you can import it into scope: |
| 2354 | `use core::os::raw::c_char;` |
| 2355 | |
| 2356 | error[E0412]: cannot find type `c_char` in the crate root |
| 2357 | --> /home/kelvin/repos/libc/src/unix/mod.rs:392:39 |
| 2358 | | |
| 2359 | 392 | pub fn symlinkat(target: *const ::c_char, newdirfd: ::c_int, |
| 2360 | | ^^^^^^ did you mean `c_schar`? |
| 2361 | | |
| 2362 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2363 | | |
| 2364 | 266 | / cfg_if! { |
| 2365 | 267 | | if #[cfg(windows)] { |
| 2366 | 268 | | mod windows; |
| 2367 | 269 | | pub use windows::*; |
| 2368 | ... | |
| 2369 | 278 | | } |
| 2370 | 279 | | } |
| 2371 | | |_- in this macro invocation |
| 2372 | | |
| 2373 | = help: possible candidate is found in another module, you can import it into scope: |
| 2374 | `use core::os::raw::c_char;` |
| 2375 | |
| 2376 | error[E0412]: cannot find type `c_char` in the crate root |
| 2377 | --> /home/kelvin/repos/libc/src/unix/mod.rs:393:41 |
| 2378 | | |
| 2379 | 393 | linkpath: *const ::c_char) -> ::c_int; |
| 2380 | | ^^^^^^ did you mean `c_schar`? |
| 2381 | | |
| 2382 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2383 | | |
| 2384 | 266 | / cfg_if! { |
| 2385 | 267 | | if #[cfg(windows)] { |
| 2386 | 268 | | mod windows; |
| 2387 | 269 | | pub use windows::*; |
| 2388 | ... | |
| 2389 | 278 | | } |
| 2390 | 279 | | } |
| 2391 | | |_- in this macro invocation |
| 2392 | | |
| 2393 | = help: possible candidate is found in another module, you can import it into scope: |
| 2394 | `use core::os::raw::c_char;` |
| 2395 | |
| 2396 | error[E0412]: cannot find type `c_char` in the crate root |
| 2397 | --> /home/kelvin/repos/libc/src/unix/mod.rs:394:56 |
| 2398 | | |
| 2399 | 394 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, |
| 2400 | | ^^^^^^ did you mean `c_schar`? |
| 2401 | | |
| 2402 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2403 | | |
| 2404 | 266 | / cfg_if! { |
| 2405 | 267 | | if #[cfg(windows)] { |
| 2406 | 268 | | mod windows; |
| 2407 | 269 | | pub use windows::*; |
| 2408 | ... | |
| 2409 | 278 | | } |
| 2410 | 279 | | } |
| 2411 | | |_- in this macro invocation |
| 2412 | | |
| 2413 | = help: possible candidate is found in another module, you can import it into scope: |
| 2414 | `use core::os::raw::c_char;` |
| 2415 | |
| 2416 | error[E0412]: cannot find type `c_char` in this scope |
| 2417 | --> /home/kelvin/repos/libc/src/unix/mod.rs:397:32 |
| 2418 | | |
| 2419 | 397 | pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int; |
| 2420 | | ^^^^^^ did you mean `char`? |
| 2421 | | |
| 2422 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2423 | | |
| 2424 | 266 | / cfg_if! { |
| 2425 | 267 | | if #[cfg(windows)] { |
| 2426 | 268 | | mod windows; |
| 2427 | 269 | | pub use windows::*; |
| 2428 | ... | |
| 2429 | 278 | | } |
| 2430 | 279 | | } |
| 2431 | | |_- in this macro invocation |
| 2432 | | |
| 2433 | = help: possible candidate is found in another module, you can import it into scope: |
| 2434 | `use core::os::raw::c_char;` |
| 2435 | |
| 2436 | error[E0412]: cannot find type `c_char` in this scope |
| 2437 | --> /home/kelvin/repos/libc/src/unix/mod.rs:399:30 |
| 2438 | | |
| 2439 | 399 | pub fn chdir(dir: *const c_char) -> ::c_int; |
| 2440 | | ^^^^^^ did you mean `char`? |
| 2441 | | |
| 2442 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2443 | | |
| 2444 | 266 | / cfg_if! { |
| 2445 | 267 | | if #[cfg(windows)] { |
| 2446 | 268 | | mod windows; |
| 2447 | 269 | | pub use windows::*; |
| 2448 | ... | |
| 2449 | 278 | | } |
| 2450 | 279 | | } |
| 2451 | | |_- in this macro invocation |
| 2452 | | |
| 2453 | = help: possible candidate is found in another module, you can import it into scope: |
| 2454 | `use core::os::raw::c_char;` |
| 2455 | |
| 2456 | error[E0412]: cannot find type `c_char` in this scope |
| 2457 | --> /home/kelvin/repos/libc/src/unix/mod.rs:401:31 |
| 2458 | | |
| 2459 | 401 | pub fn chown(path: *const c_char, uid: uid_t, |
| 2460 | | ^^^^^^ did you mean `char`? |
| 2461 | | |
| 2462 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2463 | | |
| 2464 | 266 | / cfg_if! { |
| 2465 | 267 | | if #[cfg(windows)] { |
| 2466 | 268 | | mod windows; |
| 2467 | 269 | | pub use windows::*; |
| 2468 | ... | |
| 2469 | 278 | | } |
| 2470 | 279 | | } |
| 2471 | | |_- in this macro invocation |
| 2472 | | |
| 2473 | = help: possible candidate is found in another module, you can import it into scope: |
| 2474 | `use core::os::raw::c_char;` |
| 2475 | |
| 2476 | error[E0412]: cannot find type `c_char` in this scope |
| 2477 | --> /home/kelvin/repos/libc/src/unix/mod.rs:405:32 |
| 2478 | | |
| 2479 | 405 | pub fn lchown(path: *const c_char, uid: uid_t, |
| 2480 | | ^^^^^^ did you mean `char`? |
| 2481 | | |
| 2482 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2483 | | |
| 2484 | 266 | / cfg_if! { |
| 2485 | 267 | | if #[cfg(windows)] { |
| 2486 | 268 | | mod windows; |
| 2487 | 269 | | pub use windows::*; |
| 2488 | ... | |
| 2489 | 278 | | } |
| 2490 | 279 | | } |
| 2491 | | |_- in this macro invocation |
| 2492 | | |
| 2493 | = help: possible candidate is found in another module, you can import it into scope: |
| 2494 | `use core::os::raw::c_char;` |
| 2495 | |
| 2496 | error[E0412]: cannot find type `c_char` in this scope |
| 2497 | --> /home/kelvin/repos/libc/src/unix/mod.rs:412:31 |
| 2498 | | |
| 2499 | 412 | pub fn execl(path: *const c_char, |
| 2500 | | ^^^^^^ did you mean `char`? |
| 2501 | | |
| 2502 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2503 | | |
| 2504 | 266 | / cfg_if! { |
| 2505 | 267 | | if #[cfg(windows)] { |
| 2506 | 268 | | mod windows; |
| 2507 | 269 | | pub use windows::*; |
| 2508 | ... | |
| 2509 | 278 | | } |
| 2510 | 279 | | } |
| 2511 | | |_- in this macro invocation |
| 2512 | | |
| 2513 | = help: possible candidate is found in another module, you can import it into scope: |
| 2514 | `use core::os::raw::c_char;` |
| 2515 | |
| 2516 | error[E0412]: cannot find type `c_char` in this scope |
| 2517 | --> /home/kelvin/repos/libc/src/unix/mod.rs:413:31 |
| 2518 | | |
| 2519 | 413 | arg0: *const c_char, ...) -> ::c_int; |
| 2520 | | ^^^^^^ did you mean `char`? |
| 2521 | | |
| 2522 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2523 | | |
| 2524 | 266 | / cfg_if! { |
| 2525 | 267 | | if #[cfg(windows)] { |
| 2526 | 268 | | mod windows; |
| 2527 | 269 | | pub use windows::*; |
| 2528 | ... | |
| 2529 | 278 | | } |
| 2530 | 279 | | } |
| 2531 | | |_- in this macro invocation |
| 2532 | | |
| 2533 | = help: possible candidate is found in another module, you can import it into scope: |
| 2534 | `use core::os::raw::c_char;` |
| 2535 | |
| 2536 | error[E0412]: cannot find type `c_char` in the crate root |
| 2537 | --> /home/kelvin/repos/libc/src/unix/mod.rs:414:34 |
| 2538 | | |
| 2539 | 414 | pub fn execle(path: *const ::c_char, |
| 2540 | | ^^^^^^ did you mean `c_schar`? |
| 2541 | | |
| 2542 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2543 | | |
| 2544 | 266 | / cfg_if! { |
| 2545 | 267 | | if #[cfg(windows)] { |
| 2546 | 268 | | mod windows; |
| 2547 | 269 | | pub use windows::*; |
| 2548 | ... | |
| 2549 | 278 | | } |
| 2550 | 279 | | } |
| 2551 | | |_- in this macro invocation |
| 2552 | | |
| 2553 | = help: possible candidate is found in another module, you can import it into scope: |
| 2554 | `use core::os::raw::c_char;` |
| 2555 | |
| 2556 | error[E0412]: cannot find type `c_char` in the crate root |
| 2557 | --> /home/kelvin/repos/libc/src/unix/mod.rs:415:34 |
| 2558 | | |
| 2559 | 415 | arg0: *const ::c_char, ...) -> ::c_int; |
| 2560 | | ^^^^^^ did you mean `c_schar`? |
| 2561 | | |
| 2562 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2563 | | |
| 2564 | 266 | / cfg_if! { |
| 2565 | 267 | | if #[cfg(windows)] { |
| 2566 | 268 | | mod windows; |
| 2567 | 269 | | pub use windows::*; |
| 2568 | ... | |
| 2569 | 278 | | } |
| 2570 | 279 | | } |
| 2571 | | |_- in this macro invocation |
| 2572 | | |
| 2573 | = help: possible candidate is found in another module, you can import it into scope: |
| 2574 | `use core::os::raw::c_char;` |
| 2575 | |
| 2576 | error[E0412]: cannot find type `c_char` in the crate root |
| 2577 | --> /home/kelvin/repos/libc/src/unix/mod.rs:416:34 |
| 2578 | | |
| 2579 | 416 | pub fn execlp(file: *const ::c_char, |
| 2580 | | ^^^^^^ did you mean `c_schar`? |
| 2581 | | |
| 2582 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2583 | | |
| 2584 | 266 | / cfg_if! { |
| 2585 | 267 | | if #[cfg(windows)] { |
| 2586 | 268 | | mod windows; |
| 2587 | 269 | | pub use windows::*; |
| 2588 | ... | |
| 2589 | 278 | | } |
| 2590 | 279 | | } |
| 2591 | | |_- in this macro invocation |
| 2592 | | |
| 2593 | = help: possible candidate is found in another module, you can import it into scope: |
| 2594 | `use core::os::raw::c_char;` |
| 2595 | |
| 2596 | error[E0412]: cannot find type `c_char` in the crate root |
| 2597 | --> /home/kelvin/repos/libc/src/unix/mod.rs:417:34 |
| 2598 | | |
| 2599 | 417 | arg0: *const ::c_char, ...) -> ::c_int; |
| 2600 | | ^^^^^^ did you mean `c_schar`? |
| 2601 | | |
| 2602 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2603 | | |
| 2604 | 266 | / cfg_if! { |
| 2605 | 267 | | if #[cfg(windows)] { |
| 2606 | 268 | | mod windows; |
| 2607 | 269 | | pub use windows::*; |
| 2608 | ... | |
| 2609 | 278 | | } |
| 2610 | 279 | | } |
| 2611 | | |_- in this macro invocation |
| 2612 | | |
| 2613 | = help: possible candidate is found in another module, you can import it into scope: |
| 2614 | `use core::os::raw::c_char;` |
| 2615 | |
| 2616 | error[E0412]: cannot find type `c_char` in this scope |
| 2617 | --> /home/kelvin/repos/libc/src/unix/mod.rs:418:31 |
| 2618 | | |
| 2619 | 418 | pub fn execv(prog: *const c_char, |
| 2620 | | ^^^^^^ did you mean `char`? |
| 2621 | | |
| 2622 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2623 | | |
| 2624 | 266 | / cfg_if! { |
| 2625 | 267 | | if #[cfg(windows)] { |
| 2626 | 268 | | mod windows; |
| 2627 | 269 | | pub use windows::*; |
| 2628 | ... | |
| 2629 | 278 | | } |
| 2630 | 279 | | } |
| 2631 | | |_- in this macro invocation |
| 2632 | | |
| 2633 | = help: possible candidate is found in another module, you can import it into scope: |
| 2634 | `use core::os::raw::c_char;` |
| 2635 | |
| 2636 | error[E0412]: cannot find type `c_char` in this scope |
| 2637 | --> /home/kelvin/repos/libc/src/unix/mod.rs:419:38 |
| 2638 | | |
| 2639 | 419 | argv: *const *const c_char) -> ::c_int; |
| 2640 | | ^^^^^^ did you mean `char`? |
| 2641 | | |
| 2642 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2643 | | |
| 2644 | 266 | / cfg_if! { |
| 2645 | 267 | | if #[cfg(windows)] { |
| 2646 | 268 | | mod windows; |
| 2647 | 269 | | pub use windows::*; |
| 2648 | ... | |
| 2649 | 278 | | } |
| 2650 | 279 | | } |
| 2651 | | |_- in this macro invocation |
| 2652 | | |
| 2653 | = help: possible candidate is found in another module, you can import it into scope: |
| 2654 | `use core::os::raw::c_char;` |
| 2655 | |
| 2656 | error[E0412]: cannot find type `c_char` in this scope |
| 2657 | --> /home/kelvin/repos/libc/src/unix/mod.rs:420:32 |
| 2658 | | |
| 2659 | 420 | pub fn execve(prog: *const c_char, argv: *const *const c_char, |
| 2660 | | ^^^^^^ did you mean `char`? |
| 2661 | | |
| 2662 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2663 | | |
| 2664 | 266 | / cfg_if! { |
| 2665 | 267 | | if #[cfg(windows)] { |
| 2666 | 268 | | mod windows; |
| 2667 | 269 | | pub use windows::*; |
| 2668 | ... | |
| 2669 | 278 | | } |
| 2670 | 279 | | } |
| 2671 | | |_- in this macro invocation |
| 2672 | | |
| 2673 | = help: possible candidate is found in another module, you can import it into scope: |
| 2674 | `use core::os::raw::c_char;` |
| 2675 | |
| 2676 | error[E0412]: cannot find type `c_char` in this scope |
| 2677 | --> /home/kelvin/repos/libc/src/unix/mod.rs:420:60 |
| 2678 | | |
| 2679 | 420 | pub fn execve(prog: *const c_char, argv: *const *const c_char, |
| 2680 | | ^^^^^^ did you mean `char`? |
| 2681 | | |
| 2682 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2683 | | |
| 2684 | 266 | / cfg_if! { |
| 2685 | 267 | | if #[cfg(windows)] { |
| 2686 | 268 | | mod windows; |
| 2687 | 269 | | pub use windows::*; |
| 2688 | ... | |
| 2689 | 278 | | } |
| 2690 | 279 | | } |
| 2691 | | |_- in this macro invocation |
| 2692 | | |
| 2693 | = help: possible candidate is found in another module, you can import it into scope: |
| 2694 | `use core::os::raw::c_char;` |
| 2695 | |
| 2696 | error[E0412]: cannot find type `c_char` in this scope |
| 2697 | --> /home/kelvin/repos/libc/src/unix/mod.rs:421:39 |
| 2698 | | |
| 2699 | 421 | envp: *const *const c_char) |
| 2700 | | ^^^^^^ did you mean `char`? |
| 2701 | | |
| 2702 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2703 | | |
| 2704 | 266 | / cfg_if! { |
| 2705 | 267 | | if #[cfg(windows)] { |
| 2706 | 268 | | mod windows; |
| 2707 | 269 | | pub use windows::*; |
| 2708 | ... | |
| 2709 | 278 | | } |
| 2710 | 279 | | } |
| 2711 | | |_- in this macro invocation |
| 2712 | | |
| 2713 | = help: possible candidate is found in another module, you can import it into scope: |
| 2714 | `use core::os::raw::c_char;` |
| 2715 | |
| 2716 | error[E0412]: cannot find type `c_char` in this scope |
| 2717 | --> /home/kelvin/repos/libc/src/unix/mod.rs:423:29 |
| 2718 | | |
| 2719 | 423 | pub fn execvp(c: *const c_char, |
| 2720 | | ^^^^^^ did you mean `char`? |
| 2721 | | |
| 2722 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2723 | | |
| 2724 | 266 | / cfg_if! { |
| 2725 | 267 | | if #[cfg(windows)] { |
| 2726 | 268 | | mod windows; |
| 2727 | 269 | | pub use windows::*; |
| 2728 | ... | |
| 2729 | 278 | | } |
| 2730 | 279 | | } |
| 2731 | | |_- in this macro invocation |
| 2732 | | |
| 2733 | = help: possible candidate is found in another module, you can import it into scope: |
| 2734 | `use core::os::raw::c_char;` |
| 2735 | |
| 2736 | error[E0412]: cannot find type `c_char` in this scope |
| 2737 | --> /home/kelvin/repos/libc/src/unix/mod.rs:424:39 |
| 2738 | | |
| 2739 | 424 | argv: *const *const c_char) -> ::c_int; |
| 2740 | | ^^^^^^ did you mean `char`? |
| 2741 | | |
| 2742 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2743 | | |
| 2744 | 266 | / cfg_if! { |
| 2745 | 267 | | if #[cfg(windows)] { |
| 2746 | 268 | | mod windows; |
| 2747 | 269 | | pub use windows::*; |
| 2748 | ... | |
| 2749 | 278 | | } |
| 2750 | 279 | | } |
| 2751 | | |_- in this macro invocation |
| 2752 | | |
| 2753 | = help: possible candidate is found in another module, you can import it into scope: |
| 2754 | `use core::os::raw::c_char;` |
| 2755 | |
| 2756 | error[E0412]: cannot find type `c_long` in this scope |
| 2757 | --> /home/kelvin/repos/libc/src/unix/mod.rs:426:58 |
| 2758 | | |
| 2759 | 426 | pub fn fpathconf(filedes: ::c_int, name: ::c_int) -> c_long; |
| 2760 | | ^^^^^^ not found in this scope |
| 2761 | | |
| 2762 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2763 | | |
| 2764 | 266 | / cfg_if! { |
| 2765 | 267 | | if #[cfg(windows)] { |
| 2766 | 268 | | mod windows; |
| 2767 | 269 | | pub use windows::*; |
| 2768 | ... | |
| 2769 | 278 | | } |
| 2770 | 279 | | } |
| 2771 | | |_- in this macro invocation |
| 2772 | | |
| 2773 | = help: possible candidate is found in another module, you can import it into scope: |
| 2774 | `use core::os::raw::c_long;` |
| 2775 | |
| 2776 | error[E0412]: cannot find type `c_char` in this scope |
| 2777 | --> /home/kelvin/repos/libc/src/unix/mod.rs:427:29 |
| 2778 | | |
| 2779 | 427 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char; |
| 2780 | | ^^^^^^ did you mean `char`? |
| 2781 | | |
| 2782 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2783 | | |
| 2784 | 266 | / cfg_if! { |
| 2785 | 267 | | if #[cfg(windows)] { |
| 2786 | 268 | | mod windows; |
| 2787 | 269 | | pub use windows::*; |
| 2788 | ... | |
| 2789 | 278 | | } |
| 2790 | 279 | | } |
| 2791 | | |_- in this macro invocation |
| 2792 | | |
| 2793 | = help: possible candidate is found in another module, you can import it into scope: |
| 2794 | `use core::os::raw::c_char;` |
| 2795 | |
| 2796 | error[E0412]: cannot find type `c_char` in this scope |
| 2797 | --> /home/kelvin/repos/libc/src/unix/mod.rs:427:61 |
| 2798 | | |
| 2799 | 427 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char; |
| 2800 | | ^^^^^^ did you mean `char`? |
| 2801 | | |
| 2802 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2803 | | |
| 2804 | 266 | / cfg_if! { |
| 2805 | 267 | | if #[cfg(windows)] { |
| 2806 | 268 | | mod windows; |
| 2807 | 269 | | pub use windows::*; |
| 2808 | ... | |
| 2809 | 278 | | } |
| 2810 | 279 | | } |
| 2811 | | |_- in this macro invocation |
| 2812 | | |
| 2813 | = help: possible candidate is found in another module, you can import it into scope: |
| 2814 | `use core::os::raw::c_char;` |
| 2815 | |
| 2816 | error[E0412]: cannot find type `c_char` in this scope |
| 2817 | --> /home/kelvin/repos/libc/src/unix/mod.rs:433:31 |
| 2818 | | |
| 2819 | 433 | pub fn getlogin() -> *mut c_char; |
| 2820 | | ^^^^^^ did you mean `char`? |
| 2821 | | |
| 2822 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2823 | | |
| 2824 | 266 | / cfg_if! { |
| 2825 | 267 | | if #[cfg(windows)] { |
| 2826 | 268 | | mod windows; |
| 2827 | 269 | | pub use windows::*; |
| 2828 | ... | |
| 2829 | 278 | | } |
| 2830 | 279 | | } |
| 2831 | | |_- in this macro invocation |
| 2832 | | |
| 2833 | = help: possible candidate is found in another module, you can import it into scope: |
| 2834 | `use core::os::raw::c_char;` |
| 2835 | |
| 2836 | error[E0412]: cannot find type `c_char` in this scope |
| 2837 | --> /home/kelvin/repos/libc/src/unix/mod.rs:436:52 |
| 2838 | | |
| 2839 | 436 | pub fn getopt(argc: ::c_int, argv: *const *mut c_char, |
| 2840 | | ^^^^^^ did you mean `char`? |
| 2841 | | |
| 2842 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2843 | | |
| 2844 | 266 | / cfg_if! { |
| 2845 | 267 | | if #[cfg(windows)] { |
| 2846 | 268 | | mod windows; |
| 2847 | 269 | | pub use windows::*; |
| 2848 | ... | |
| 2849 | 278 | | } |
| 2850 | 279 | | } |
| 2851 | | |_- in this macro invocation |
| 2852 | | |
| 2853 | = help: possible candidate is found in another module, you can import it into scope: |
| 2854 | `use core::os::raw::c_char;` |
| 2855 | |
| 2856 | error[E0412]: cannot find type `c_char` in this scope |
| 2857 | --> /home/kelvin/repos/libc/src/unix/mod.rs:437:34 |
| 2858 | | |
| 2859 | 437 | optstr: *const c_char) -> ::c_int; |
| 2860 | | ^^^^^^ did you mean `char`? |
| 2861 | | |
| 2862 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2863 | | |
| 2864 | 266 | / cfg_if! { |
| 2865 | 267 | | if #[cfg(windows)] { |
| 2866 | 268 | | mod windows; |
| 2867 | 269 | | pub use windows::*; |
| 2868 | ... | |
| 2869 | 278 | | } |
| 2870 | 279 | | } |
| 2871 | | |_- in this macro invocation |
| 2872 | | |
| 2873 | = help: possible candidate is found in another module, you can import it into scope: |
| 2874 | `use core::os::raw::c_char;` |
| 2875 | |
| 2876 | error[E0412]: cannot find type `c_char` in this scope |
| 2877 | --> /home/kelvin/repos/libc/src/unix/mod.rs:444:29 |
| 2878 | | |
| 2879 | 444 | pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; |
| 2880 | | ^^^^^^ did you mean `char`? |
| 2881 | | |
| 2882 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2883 | | |
| 2884 | 266 | / cfg_if! { |
| 2885 | 267 | | if #[cfg(windows)] { |
| 2886 | 268 | | mod windows; |
| 2887 | 269 | | pub use windows::*; |
| 2888 | ... | |
| 2889 | 278 | | } |
| 2890 | 279 | | } |
| 2891 | | |_- in this macro invocation |
| 2892 | | |
| 2893 | = help: possible candidate is found in another module, you can import it into scope: |
| 2894 | `use core::os::raw::c_char;` |
| 2895 | |
| 2896 | error[E0412]: cannot find type `c_char` in this scope |
| 2897 | --> /home/kelvin/repos/libc/src/unix/mod.rs:444:49 |
| 2898 | | |
| 2899 | 444 | pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; |
| 2900 | | ^^^^^^ did you mean `char`? |
| 2901 | | |
| 2902 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2903 | | |
| 2904 | 266 | / cfg_if! { |
| 2905 | 267 | | if #[cfg(windows)] { |
| 2906 | 268 | | mod windows; |
| 2907 | 269 | | pub use windows::*; |
| 2908 | ... | |
| 2909 | 278 | | } |
| 2910 | 279 | | } |
| 2911 | | |_- in this macro invocation |
| 2912 | | |
| 2913 | = help: possible candidate is found in another module, you can import it into scope: |
| 2914 | `use core::os::raw::c_char;` |
| 2915 | |
| 2916 | error[E0412]: cannot find type `off_t` in this scope |
| 2917 | --> /home/kelvin/repos/libc/src/unix/mod.rs:445:39 |
| 2918 | | |
| 2919 | 445 | pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t; |
| 2920 | | ^^^^^ not found in this scope |
| 2921 | | |
| 2922 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2923 | | |
| 2924 | 266 | / cfg_if! { |
| 2925 | 267 | | if #[cfg(windows)] { |
| 2926 | 268 | | mod windows; |
| 2927 | 269 | | pub use windows::*; |
| 2928 | ... | |
| 2929 | 278 | | } |
| 2930 | 279 | | } |
| 2931 | | |_- in this macro invocation |
| 2932 | | |
| 2933 | = help: possible candidates are found in other modules, you can import them into scope: |
| 2934 | `use core::os::linux::raw::off_t;` |
| 2935 | `use core::os::unix::raw::off_t;` |
| 2936 | |
| 2937 | error[E0412]: cannot find type `off_t` in this scope |
| 2938 | --> /home/kelvin/repos/libc/src/unix/mod.rs:445:66 |
| 2939 | | |
| 2940 | 445 | pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t; |
| 2941 | | ^^^^^ not found in this scope |
| 2942 | | |
| 2943 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2944 | | |
| 2945 | 266 | / cfg_if! { |
| 2946 | 267 | | if #[cfg(windows)] { |
| 2947 | 268 | | mod windows; |
| 2948 | 269 | | pub use windows::*; |
| 2949 | ... | |
| 2950 | 278 | | } |
| 2951 | 279 | | } |
| 2952 | | |_- in this macro invocation |
| 2953 | | |
| 2954 | = help: possible candidates are found in other modules, you can import them into scope: |
| 2955 | `use core::os::linux::raw::off_t;` |
| 2956 | `use core::os::unix::raw::off_t;` |
| 2957 | |
| 2958 | error[E0412]: cannot find type `c_char` in this scope |
| 2959 | --> /home/kelvin/repos/libc/src/unix/mod.rs:446:34 |
| 2960 | | |
| 2961 | 446 | pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long; |
| 2962 | | ^^^^^^ did you mean `char`? |
| 2963 | | |
| 2964 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2965 | | |
| 2966 | 266 | / cfg_if! { |
| 2967 | 267 | | if #[cfg(windows)] { |
| 2968 | 268 | | mod windows; |
| 2969 | 269 | | pub use windows::*; |
| 2970 | ... | |
| 2971 | 278 | | } |
| 2972 | 279 | | } |
| 2973 | | |_- in this macro invocation |
| 2974 | | |
| 2975 | = help: possible candidate is found in another module, you can import it into scope: |
| 2976 | `use core::os::raw::c_char;` |
| 2977 | |
| 2978 | error[E0412]: cannot find type `c_long` in this scope |
| 2979 | --> /home/kelvin/repos/libc/src/unix/mod.rs:446:60 |
| 2980 | | |
| 2981 | 446 | pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long; |
| 2982 | | ^^^^^^ not found in this scope |
| 2983 | | |
| 2984 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 2985 | | |
| 2986 | 266 | / cfg_if! { |
| 2987 | 267 | | if #[cfg(windows)] { |
| 2988 | 268 | | mod windows; |
| 2989 | 269 | | pub use windows::*; |
| 2990 | ... | |
| 2991 | 278 | | } |
| 2992 | 279 | | } |
| 2993 | | |_- in this macro invocation |
| 2994 | | |
| 2995 | = help: possible candidate is found in another module, you can import it into scope: |
| 2996 | `use core::os::raw::c_long;` |
| 2997 | |
| 2998 | error[E0412]: cannot find type `c_char` in this scope |
| 2999 | --> /home/kelvin/repos/libc/src/unix/mod.rs:458:31 |
| 3000 | | |
| 3001 | 458 | pub fn rmdir(path: *const c_char) -> ::c_int; |
| 3002 | | ^^^^^^ did you mean `char`? |
| 3003 | | |
| 3004 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3005 | | |
| 3006 | 266 | / cfg_if! { |
| 3007 | 267 | | if #[cfg(windows)] { |
| 3008 | 268 | | mod windows; |
| 3009 | 269 | | pub use windows::*; |
| 3010 | ... | |
| 3011 | 278 | | } |
| 3012 | 279 | | } |
| 3013 | | |_- in this macro invocation |
| 3014 | | |
| 3015 | = help: possible candidate is found in another module, you can import it into scope: |
| 3016 | `use core::os::raw::c_char;` |
| 3017 | |
| 3018 | error[E0412]: cannot find type `c_char` in this scope |
| 3019 | --> /home/kelvin/repos/libc/src/unix/mod.rs:473:41 |
| 3020 | | |
| 3021 | 473 | pub fn ttyname(fd: ::c_int) -> *mut c_char; |
| 3022 | | ^^^^^^ did you mean `char`? |
| 3023 | | |
| 3024 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3025 | | |
| 3026 | 266 | / cfg_if! { |
| 3027 | 267 | | if #[cfg(windows)] { |
| 3028 | 268 | | mod windows; |
| 3029 | 269 | | pub use windows::*; |
| 3030 | ... | |
| 3031 | 278 | | } |
| 3032 | 279 | | } |
| 3033 | | |_- in this macro invocation |
| 3034 | | |
| 3035 | = help: possible candidate is found in another module, you can import it into scope: |
| 3036 | `use core::os::raw::c_char;` |
| 3037 | |
| 3038 | error[E0412]: cannot find type `c_char` in this scope |
| 3039 | --> /home/kelvin/repos/libc/src/unix/mod.rs:474:29 |
| 3040 | | |
| 3041 | 474 | pub fn unlink(c: *const c_char) -> ::c_int; |
| 3042 | | ^^^^^^ did you mean `char`? |
| 3043 | | |
| 3044 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3045 | | |
| 3046 | 266 | / cfg_if! { |
| 3047 | 267 | | if #[cfg(windows)] { |
| 3048 | 268 | | mod windows; |
| 3049 | 269 | | pub use windows::*; |
| 3050 | ... | |
| 3051 | 278 | | } |
| 3052 | 279 | | } |
| 3053 | | |_- in this macro invocation |
| 3054 | | |
| 3055 | = help: possible candidate is found in another module, you can import it into scope: |
| 3056 | `use core::os::raw::c_char;` |
| 3057 | |
| 3058 | error[E0412]: cannot find type `off_t` in this scope |
| 3059 | --> /home/kelvin/repos/libc/src/unix/mod.rs:489:26 |
| 3060 | | |
| 3061 | 489 | offset: off_t) -> ::ssize_t; |
| 3062 | | ^^^^^ not found in this scope |
| 3063 | | |
| 3064 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3065 | | |
| 3066 | 266 | / cfg_if! { |
| 3067 | 267 | | if #[cfg(windows)] { |
| 3068 | 268 | | mod windows; |
| 3069 | 269 | | pub use windows::*; |
| 3070 | ... | |
| 3071 | 278 | | } |
| 3072 | 279 | | } |
| 3073 | | |_- in this macro invocation |
| 3074 | | |
| 3075 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3076 | `use core::os::linux::raw::off_t;` |
| 3077 | `use core::os::unix::raw::off_t;` |
| 3078 | |
| 3079 | error[E0412]: cannot find type `off_t` in this scope |
| 3080 | --> /home/kelvin/repos/libc/src/unix/mod.rs:493:27 |
| 3081 | | |
| 3082 | 493 | offset: off_t) -> ::ssize_t; |
| 3083 | | ^^^^^ not found in this scope |
| 3084 | | |
| 3085 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3086 | | |
| 3087 | 266 | / cfg_if! { |
| 3088 | 267 | | if #[cfg(windows)] { |
| 3089 | 268 | | mod windows; |
| 3090 | 269 | | pub use windows::*; |
| 3091 | ... | |
| 3092 | 278 | | } |
| 3093 | 279 | | } |
| 3094 | | |_- in this macro invocation |
| 3095 | | |
| 3096 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3097 | `use core::os::linux::raw::off_t;` |
| 3098 | `use core::os::unix::raw::off_t;` |
| 3099 | |
| 3100 | error[E0412]: cannot find type `mode_t` in this scope |
| 3101 | --> /home/kelvin/repos/libc/src/unix/mod.rs:494:24 |
| 3102 | | |
| 3103 | 494 | pub fn umask(mask: mode_t) -> mode_t; |
| 3104 | | ^^^^^^ not found in this scope |
| 3105 | | |
| 3106 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3107 | | |
| 3108 | 266 | / cfg_if! { |
| 3109 | 267 | | if #[cfg(windows)] { |
| 3110 | 268 | | mod windows; |
| 3111 | 269 | | pub use windows::*; |
| 3112 | ... | |
| 3113 | 278 | | } |
| 3114 | 279 | | } |
| 3115 | | |_- in this macro invocation |
| 3116 | | |
| 3117 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3118 | `use core::os::linux::raw::mode_t;` |
| 3119 | `use core::os::unix::raw::mode_t;` |
| 3120 | |
| 3121 | error[E0412]: cannot find type `mode_t` in this scope |
| 3122 | --> /home/kelvin/repos/libc/src/unix/mod.rs:494:35 |
| 3123 | | |
| 3124 | 494 | pub fn umask(mask: mode_t) -> mode_t; |
| 3125 | | ^^^^^^ not found in this scope |
| 3126 | | |
| 3127 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3128 | | |
| 3129 | 266 | / cfg_if! { |
| 3130 | 267 | | if #[cfg(windows)] { |
| 3131 | 268 | | mod windows; |
| 3132 | 269 | | pub use windows::*; |
| 3133 | ... | |
| 3134 | 278 | | } |
| 3135 | 279 | | } |
| 3136 | | |_- in this macro invocation |
| 3137 | | |
| 3138 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3139 | `use core::os::linux::raw::mode_t;` |
| 3140 | `use core::os::unix::raw::mode_t;` |
| 3141 | |
| 3142 | error[E0412]: cannot find type `c_char` in this scope |
| 3143 | --> /home/kelvin/repos/libc/src/unix/mod.rs:497:31 |
| 3144 | | |
| 3145 | 497 | pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int; |
| 3146 | | ^^^^^^ did you mean `char`? |
| 3147 | | |
| 3148 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3149 | | |
| 3150 | 266 | / cfg_if! { |
| 3151 | 267 | | if #[cfg(windows)] { |
| 3152 | 268 | | mod windows; |
| 3153 | 269 | | pub use windows::*; |
| 3154 | ... | |
| 3155 | 278 | | } |
| 3156 | 279 | | } |
| 3157 | | |_- in this macro invocation |
| 3158 | | |
| 3159 | = help: possible candidate is found in another module, you can import it into scope: |
| 3160 | `use core::os::raw::c_char;` |
| 3161 | |
| 3162 | error[E0412]: cannot find type `off_t` in this scope |
| 3163 | --> /home/kelvin/repos/libc/src/unix/mod.rs:515:25 |
| 3164 | | |
| 3165 | 515 | offset: off_t) |
| 3166 | | ^^^^^ not found in this scope |
| 3167 | | |
| 3168 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3169 | | |
| 3170 | 266 | / cfg_if! { |
| 3171 | 267 | | if #[cfg(windows)] { |
| 3172 | 268 | | mod windows; |
| 3173 | 269 | | pub use windows::*; |
| 3174 | ... | |
| 3175 | 278 | | } |
| 3176 | 279 | | } |
| 3177 | | |_- in this macro invocation |
| 3178 | | |
| 3179 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3180 | `use core::os::linux::raw::off_t;` |
| 3181 | `use core::os::unix::raw::off_t;` |
| 3182 | |
| 3183 | error[E0412]: cannot find type `c_char` in this scope |
| 3184 | --> /home/kelvin/repos/libc/src/unix/mod.rs:521:42 |
| 3185 | | |
| 3186 | 521 | pub fn if_nametoindex(ifname: *const c_char) -> ::c_uint; |
| 3187 | | ^^^^^^ did you mean `char`? |
| 3188 | | |
| 3189 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3190 | | |
| 3191 | 266 | / cfg_if! { |
| 3192 | 267 | | if #[cfg(windows)] { |
| 3193 | 268 | | mod windows; |
| 3194 | 269 | | pub use windows::*; |
| 3195 | ... | |
| 3196 | 278 | | } |
| 3197 | 279 | | } |
| 3198 | | |_- in this macro invocation |
| 3199 | | |
| 3200 | = help: possible candidate is found in another module, you can import it into scope: |
| 3201 | `use core::os::raw::c_char;` |
| 3202 | |
| 3203 | error[E0412]: cannot find type `c_char` in the crate root |
| 3204 | --> /home/kelvin/repos/libc/src/unix/mod.rs:523:42 |
| 3205 | | |
| 3206 | 523 | ifname: *mut ::c_char) -> *mut ::c_char; |
| 3207 | | ^^^^^^ did you mean `c_schar`? |
| 3208 | | |
| 3209 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3210 | | |
| 3211 | 266 | / cfg_if! { |
| 3212 | 267 | | if #[cfg(windows)] { |
| 3213 | 268 | | mod windows; |
| 3214 | 269 | | pub use windows::*; |
| 3215 | ... | |
| 3216 | 278 | | } |
| 3217 | 279 | | } |
| 3218 | | |_- in this macro invocation |
| 3219 | | |
| 3220 | = help: possible candidate is found in another module, you can import it into scope: |
| 3221 | `use core::os::raw::c_char;` |
| 3222 | |
| 3223 | error[E0412]: cannot find type `c_char` in the crate root |
| 3224 | --> /home/kelvin/repos/libc/src/unix/mod.rs:523:60 |
| 3225 | | |
| 3226 | 523 | ifname: *mut ::c_char) -> *mut ::c_char; |
| 3227 | | ^^^^^^ did you mean `c_schar`? |
| 3228 | | |
| 3229 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3230 | | |
| 3231 | 266 | / cfg_if! { |
| 3232 | 267 | | if #[cfg(windows)] { |
| 3233 | 268 | | mod windows; |
| 3234 | 269 | | pub use windows::*; |
| 3235 | ... | |
| 3236 | 278 | | } |
| 3237 | 279 | | } |
| 3238 | | |_- in this macro invocation |
| 3239 | | |
| 3240 | = help: possible candidate is found in another module, you can import it into scope: |
| 3241 | `use core::os::raw::c_char;` |
| 3242 | |
| 3243 | error[E0412]: cannot find type `c_char` in this scope |
| 3244 | --> /home/kelvin/repos/libc/src/unix/mod.rs:527:31 |
| 3245 | | |
| 3246 | 527 | pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; |
| 3247 | | ^^^^^^ did you mean `char`? |
| 3248 | | |
| 3249 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3250 | | |
| 3251 | 266 | / cfg_if! { |
| 3252 | 267 | | if #[cfg(windows)] { |
| 3253 | 268 | | mod windows; |
| 3254 | 269 | | pub use windows::*; |
| 3255 | ... | |
| 3256 | 278 | | } |
| 3257 | 279 | | } |
| 3258 | | |_- in this macro invocation |
| 3259 | | |
| 3260 | = help: possible candidate is found in another module, you can import it into scope: |
| 3261 | `use core::os::raw::c_char;` |
| 3262 | |
| 3263 | error[E0573]: expected type, found function `stat` |
| 3264 | --> /home/kelvin/repos/libc/src/unix/mod.rs:527:49 |
| 3265 | | |
| 3266 | 527 | pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; |
| 3267 | | ^^^^ not a type |
| 3268 | | |
| 3269 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3270 | | |
| 3271 | 266 | / cfg_if! { |
| 3272 | 267 | | if #[cfg(windows)] { |
| 3273 | 268 | | mod windows; |
| 3274 | 269 | | pub use windows::*; |
| 3275 | ... | |
| 3276 | 278 | | } |
| 3277 | 279 | | } |
| 3278 | | |_- in this macro invocation |
| 3279 | | |
| 3280 | = help: possible better candidate is found in another module, you can import it into scope: |
| 3281 | `use core::os::linux::raw::stat;` |
| 3282 | |
| 3283 | error[E0412]: cannot find type `c_char` in this scope |
| 3284 | --> /home/kelvin/repos/libc/src/unix/mod.rs:535:32 |
| 3285 | | |
| 3286 | 535 | pub fn setenv(name: *const c_char, val: *const c_char, |
| 3287 | | ^^^^^^ did you mean `char`? |
| 3288 | | |
| 3289 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3290 | | |
| 3291 | 266 | / cfg_if! { |
| 3292 | 267 | | if #[cfg(windows)] { |
| 3293 | 268 | | mod windows; |
| 3294 | 269 | | pub use windows::*; |
| 3295 | ... | |
| 3296 | 278 | | } |
| 3297 | 279 | | } |
| 3298 | | |_- in this macro invocation |
| 3299 | | |
| 3300 | = help: possible candidate is found in another module, you can import it into scope: |
| 3301 | `use core::os::raw::c_char;` |
| 3302 | |
| 3303 | error[E0412]: cannot find type `c_char` in this scope |
| 3304 | --> /home/kelvin/repos/libc/src/unix/mod.rs:535:52 |
| 3305 | | |
| 3306 | 535 | pub fn setenv(name: *const c_char, val: *const c_char, |
| 3307 | | ^^^^^^ did you mean `char`? |
| 3308 | | |
| 3309 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3310 | | |
| 3311 | 266 | / cfg_if! { |
| 3312 | 267 | | if #[cfg(windows)] { |
| 3313 | 268 | | mod windows; |
| 3314 | 269 | | pub use windows::*; |
| 3315 | ... | |
| 3316 | 278 | | } |
| 3317 | 279 | | } |
| 3318 | | |_- in this macro invocation |
| 3319 | | |
| 3320 | = help: possible candidate is found in another module, you can import it into scope: |
| 3321 | `use core::os::raw::c_char;` |
| 3322 | |
| 3323 | error[E0412]: cannot find type `c_char` in this scope |
| 3324 | --> /home/kelvin/repos/libc/src/unix/mod.rs:540:34 |
| 3325 | | |
| 3326 | 540 | pub fn unsetenv(name: *const c_char) -> ::c_int; |
| 3327 | | ^^^^^^ did you mean `char`? |
| 3328 | | |
| 3329 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3330 | | |
| 3331 | 266 | / cfg_if! { |
| 3332 | 267 | | if #[cfg(windows)] { |
| 3333 | 268 | | mod windows; |
| 3334 | 269 | | pub use windows::*; |
| 3335 | ... | |
| 3336 | 278 | | } |
| 3337 | 279 | | } |
| 3338 | | |_- in this macro invocation |
| 3339 | | |
| 3340 | = help: possible candidate is found in another module, you can import it into scope: |
| 3341 | `use core::os::raw::c_char;` |
| 3342 | |
| 3343 | error[E0412]: cannot find type `c_char` in this scope |
| 3344 | --> /home/kelvin/repos/libc/src/unix/mod.rs:542:34 |
| 3345 | | |
| 3346 | 542 | pub fn symlink(path1: *const c_char, |
| 3347 | | ^^^^^^ did you mean `char`? |
| 3348 | | |
| 3349 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3350 | | |
| 3351 | 266 | / cfg_if! { |
| 3352 | 267 | | if #[cfg(windows)] { |
| 3353 | 268 | | mod windows; |
| 3354 | 269 | | pub use windows::*; |
| 3355 | ... | |
| 3356 | 278 | | } |
| 3357 | 279 | | } |
| 3358 | | |_- in this macro invocation |
| 3359 | | |
| 3360 | = help: possible candidate is found in another module, you can import it into scope: |
| 3361 | `use core::os::raw::c_char;` |
| 3362 | |
| 3363 | error[E0412]: cannot find type `c_char` in this scope |
| 3364 | --> /home/kelvin/repos/libc/src/unix/mod.rs:543:34 |
| 3365 | | |
| 3366 | 543 | path2: *const c_char) -> ::c_int; |
| 3367 | | ^^^^^^ did you mean `char`? |
| 3368 | | |
| 3369 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3370 | | |
| 3371 | 266 | / cfg_if! { |
| 3372 | 267 | | if #[cfg(windows)] { |
| 3373 | 268 | | mod windows; |
| 3374 | 269 | | pub use windows::*; |
| 3375 | ... | |
| 3376 | 278 | | } |
| 3377 | 279 | | } |
| 3378 | | |_- in this macro invocation |
| 3379 | | |
| 3380 | = help: possible candidate is found in another module, you can import it into scope: |
| 3381 | `use core::os::raw::c_char;` |
| 3382 | |
| 3383 | error[E0412]: cannot find type `off_t` in this scope |
| 3384 | --> /home/kelvin/repos/libc/src/unix/mod.rs:545:43 |
| 3385 | | |
| 3386 | 545 | pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int; |
| 3387 | | ^^^^^ not found in this scope |
| 3388 | | |
| 3389 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3390 | | |
| 3391 | 266 | / cfg_if! { |
| 3392 | 267 | | if #[cfg(windows)] { |
| 3393 | 268 | | mod windows; |
| 3394 | 269 | | pub use windows::*; |
| 3395 | ... | |
| 3396 | 278 | | } |
| 3397 | 279 | | } |
| 3398 | | |_- in this macro invocation |
| 3399 | | |
| 3400 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3401 | `use core::os::linux::raw::off_t;` |
| 3402 | `use core::os::unix::raw::off_t;` |
| 3403 | |
| 3404 | error[E0412]: cannot find type `c_char` in the crate root |
| 3405 | --> /home/kelvin/repos/libc/src/unix/mod.rs:561:40 |
| 3406 | | |
| 3407 | 561 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) |
| 3408 | | ^^^^^^ did you mean `c_schar`? |
| 3409 | | |
| 3410 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3411 | | |
| 3412 | 266 | / cfg_if! { |
| 3413 | 267 | | if #[cfg(windows)] { |
| 3414 | 268 | | mod windows; |
| 3415 | 269 | | pub use windows::*; |
| 3416 | ... | |
| 3417 | 278 | | } |
| 3418 | 279 | | } |
| 3419 | | |_- in this macro invocation |
| 3420 | | |
| 3421 | = help: possible candidate is found in another module, you can import it into scope: |
| 3422 | `use core::os::raw::c_char;` |
| 3423 | |
| 3424 | error[E0412]: cannot find type `c_char` in the crate root |
| 3425 | --> /home/kelvin/repos/libc/src/unix/mod.rs:561:65 |
| 3426 | | |
| 3427 | 561 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) |
| 3428 | | ^^^^^^ did you mean `c_schar`? |
| 3429 | | |
| 3430 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3431 | | |
| 3432 | 266 | / cfg_if! { |
| 3433 | 267 | | if #[cfg(windows)] { |
| 3434 | 268 | | mod windows; |
| 3435 | 269 | | pub use windows::*; |
| 3436 | ... | |
| 3437 | 278 | | } |
| 3438 | 279 | | } |
| 3439 | | |_- in this macro invocation |
| 3440 | | |
| 3441 | = help: possible candidate is found in another module, you can import it into scope: |
| 3442 | `use core::os::raw::c_char;` |
| 3443 | |
| 3444 | error[E0412]: cannot find type `c_char` in the crate root |
| 3445 | --> /home/kelvin/repos/libc/src/unix/mod.rs:562:31 |
| 3446 | | |
| 3447 | 562 | -> *mut ::c_char; |
| 3448 | | ^^^^^^ did you mean `c_schar`? |
| 3449 | | |
| 3450 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3451 | | |
| 3452 | 266 | / cfg_if! { |
| 3453 | 267 | | if #[cfg(windows)] { |
| 3454 | 268 | | mod windows; |
| 3455 | 269 | | pub use windows::*; |
| 3456 | ... | |
| 3457 | 278 | | } |
| 3458 | 279 | | } |
| 3459 | | |_- in this macro invocation |
| 3460 | | |
| 3461 | = help: possible candidate is found in another module, you can import it into scope: |
| 3462 | `use core::os::raw::c_char;` |
| 3463 | |
| 3464 | error[E0412]: cannot find type `pthread_t` in the crate root |
| 3465 | --> /home/kelvin/repos/libc/src/unix/mod.rs:570:32 |
| 3466 | | |
| 3467 | 570 | pub fn pthread_self() -> ::pthread_t; |
| 3468 | | ^^^^^^^^^ not found in the crate root |
| 3469 | | |
| 3470 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3471 | | |
| 3472 | 266 | / cfg_if! { |
| 3473 | 267 | | if #[cfg(windows)] { |
| 3474 | 268 | | mod windows; |
| 3475 | 269 | | pub use windows::*; |
| 3476 | ... | |
| 3477 | 278 | | } |
| 3478 | 279 | | } |
| 3479 | | |_- in this macro invocation |
| 3480 | | |
| 3481 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3482 | `use core::os::linux::raw::pthread_t;` |
| 3483 | `use core::os::unix::raw::pthread_t;` |
| 3484 | |
| 3485 | error[E0412]: cannot find type `pthread_t` in the crate root |
| 3486 | --> /home/kelvin/repos/libc/src/unix/mod.rs:571:42 |
| 3487 | | |
| 3488 | 571 | pub fn pthread_create(native: *mut ::pthread_t, |
| 3489 | | ^^^^^^^^^ not found in the crate root |
| 3490 | | |
| 3491 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3492 | | |
| 3493 | 266 | / cfg_if! { |
| 3494 | 267 | | if #[cfg(windows)] { |
| 3495 | 268 | | mod windows; |
| 3496 | 269 | | pub use windows::*; |
| 3497 | ... | |
| 3498 | 278 | | } |
| 3499 | 279 | | } |
| 3500 | | |_- in this macro invocation |
| 3501 | | |
| 3502 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3503 | `use core::os::linux::raw::pthread_t;` |
| 3504 | `use core::os::unix::raw::pthread_t;` |
| 3505 | |
| 3506 | error[E0412]: cannot find type `pthread_attr_t` in the crate root |
| 3507 | --> /home/kelvin/repos/libc/src/unix/mod.rs:572:42 |
| 3508 | | |
| 3509 | 572 | attr: *const ::pthread_attr_t, |
| 3510 | | ^^^^^^^^^^^^^^ not found in the crate root |
| 3511 | | |
| 3512 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3513 | | |
| 3514 | 266 | / cfg_if! { |
| 3515 | 267 | | if #[cfg(windows)] { |
| 3516 | 268 | | mod windows; |
| 3517 | 269 | | pub use windows::*; |
| 3518 | ... | |
| 3519 | 278 | | } |
| 3520 | 279 | | } |
| 3521 | | |_- in this macro invocation |
| 3522 | |
| 3523 | error[E0412]: cannot find type `pthread_t` in the crate root |
| 3524 | --> /home/kelvin/repos/libc/src/unix/mod.rs:577:35 |
| 3525 | | |
| 3526 | 577 | pub fn pthread_join(native: ::pthread_t, |
| 3527 | | ^^^^^^^^^ not found in the crate root |
| 3528 | | |
| 3529 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3530 | | |
| 3531 | 266 | / cfg_if! { |
| 3532 | 267 | | if #[cfg(windows)] { |
| 3533 | 268 | | mod windows; |
| 3534 | 269 | | pub use windows::*; |
| 3535 | ... | |
| 3536 | 278 | | } |
| 3537 | 279 | | } |
| 3538 | | |_- in this macro invocation |
| 3539 | | |
| 3540 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3541 | `use core::os::linux::raw::pthread_t;` |
| 3542 | `use core::os::unix::raw::pthread_t;` |
| 3543 | |
| 3544 | error[E0412]: cannot find type `pthread_attr_t` in the crate root |
| 3545 | --> /home/kelvin/repos/libc/src/unix/mod.rs:580:43 |
| 3546 | | |
| 3547 | 580 | pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int; |
| 3548 | | ^^^^^^^^^^^^^^ not found in the crate root |
| 3549 | | |
| 3550 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3551 | | |
| 3552 | 266 | / cfg_if! { |
| 3553 | 267 | | if #[cfg(windows)] { |
| 3554 | 268 | | mod windows; |
| 3555 | 269 | | pub use windows::*; |
| 3556 | ... | |
| 3557 | 278 | | } |
| 3558 | 279 | | } |
| 3559 | | |_- in this macro invocation |
| 3560 | |
| 3561 | error[E0412]: cannot find type `pthread_attr_t` in the crate root |
| 3562 | --> /home/kelvin/repos/libc/src/unix/mod.rs:581:46 |
| 3563 | | |
| 3564 | 581 | pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int; |
| 3565 | | ^^^^^^^^^^^^^^ not found in the crate root |
| 3566 | | |
| 3567 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3568 | | |
| 3569 | 266 | / cfg_if! { |
| 3570 | 267 | | if #[cfg(windows)] { |
| 3571 | 268 | | mod windows; |
| 3572 | 269 | | pub use windows::*; |
| 3573 | ... | |
| 3574 | 278 | | } |
| 3575 | 279 | | } |
| 3576 | | |_- in this macro invocation |
| 3577 | |
| 3578 | error[E0412]: cannot find type `pthread_attr_t` in the crate root |
| 3579 | --> /home/kelvin/repos/libc/src/unix/mod.rs:582:51 |
| 3580 | | |
| 3581 | 582 | pub fn pthread_attr_setstacksize(attr: *mut ::pthread_attr_t, |
| 3582 | | ^^^^^^^^^^^^^^ not found in the crate root |
| 3583 | | |
| 3584 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3585 | | |
| 3586 | 266 | / cfg_if! { |
| 3587 | 267 | | if #[cfg(windows)] { |
| 3588 | 268 | | mod windows; |
| 3589 | 269 | | pub use windows::*; |
| 3590 | ... | |
| 3591 | 278 | | } |
| 3592 | 279 | | } |
| 3593 | | |_- in this macro invocation |
| 3594 | |
| 3595 | error[E0412]: cannot find type `pthread_attr_t` in the crate root |
| 3596 | --> /home/kelvin/repos/libc/src/unix/mod.rs:584:53 |
| 3597 | | |
| 3598 | 584 | pub fn pthread_attr_setdetachstate(attr: *mut ::pthread_attr_t, |
| 3599 | | ^^^^^^^^^^^^^^ not found in the crate root |
| 3600 | | |
| 3601 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3602 | | |
| 3603 | 266 | / cfg_if! { |
| 3604 | 267 | | if #[cfg(windows)] { |
| 3605 | 268 | | mod windows; |
| 3606 | 269 | | pub use windows::*; |
| 3607 | ... | |
| 3608 | 278 | | } |
| 3609 | 279 | | } |
| 3610 | | |_- in this macro invocation |
| 3611 | |
| 3612 | error[E0412]: cannot find type `pthread_t` in the crate root |
| 3613 | --> /home/kelvin/repos/libc/src/unix/mod.rs:586:37 |
| 3614 | | |
| 3615 | 586 | pub fn pthread_detach(thread: ::pthread_t) -> ::c_int; |
| 3616 | | ^^^^^^^^^ not found in the crate root |
| 3617 | | |
| 3618 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3619 | | |
| 3620 | 266 | / cfg_if! { |
| 3621 | 267 | | if #[cfg(windows)] { |
| 3622 | 268 | | mod windows; |
| 3623 | 269 | | pub use windows::*; |
| 3624 | ... | |
| 3625 | 278 | | } |
| 3626 | 279 | | } |
| 3627 | | |_- in this macro invocation |
| 3628 | | |
| 3629 | = help: possible candidates are found in other modules, you can import them into scope: |
| 3630 | `use core::os::linux::raw::pthread_t;` |
| 3631 | `use core::os::unix::raw::pthread_t;` |
| 3632 | |
| 3633 | error[E0412]: cannot find type `pthread_key_t` in this scope |
| 3634 | --> /home/kelvin/repos/libc/src/unix/mod.rs:589:41 |
| 3635 | | |
| 3636 | 589 | pub fn pthread_key_create(key: *mut pthread_key_t, |
| 3637 | | ^^^^^^^^^^^^^ not found in this scope |
| 3638 | | |
| 3639 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3640 | | |
| 3641 | 266 | / cfg_if! { |
| 3642 | 267 | | if #[cfg(windows)] { |
| 3643 | 268 | | mod windows; |
| 3644 | 269 | | pub use windows::*; |
| 3645 | ... | |
| 3646 | 278 | | } |
| 3647 | 279 | | } |
| 3648 | | |_- in this macro invocation |
| 3649 | |
| 3650 | error[E0412]: cannot find type `pthread_key_t` in this scope |
| 3651 | --> /home/kelvin/repos/libc/src/unix/mod.rs:592:36 |
| 3652 | | |
| 3653 | 592 | pub fn pthread_key_delete(key: pthread_key_t) -> ::c_int; |
| 3654 | | ^^^^^^^^^^^^^ not found in this scope |
| 3655 | | |
| 3656 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3657 | | |
| 3658 | 266 | / cfg_if! { |
| 3659 | 267 | | if #[cfg(windows)] { |
| 3660 | 268 | | mod windows; |
| 3661 | 269 | | pub use windows::*; |
| 3662 | ... | |
| 3663 | 278 | | } |
| 3664 | 279 | | } |
| 3665 | | |_- in this macro invocation |
| 3666 | |
| 3667 | error[E0412]: cannot find type `pthread_key_t` in this scope |
| 3668 | --> /home/kelvin/repos/libc/src/unix/mod.rs:593:37 |
| 3669 | | |
| 3670 | 593 | pub fn pthread_getspecific(key: pthread_key_t) -> *mut ::c_void; |
| 3671 | | ^^^^^^^^^^^^^ not found in this scope |
| 3672 | | |
| 3673 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3674 | | |
| 3675 | 266 | / cfg_if! { |
| 3676 | 267 | | if #[cfg(windows)] { |
| 3677 | 268 | | mod windows; |
| 3678 | 269 | | pub use windows::*; |
| 3679 | ... | |
| 3680 | 278 | | } |
| 3681 | 279 | | } |
| 3682 | | |_- in this macro invocation |
| 3683 | |
| 3684 | error[E0412]: cannot find type `pthread_key_t` in this scope |
| 3685 | --> /home/kelvin/repos/libc/src/unix/mod.rs:594:37 |
| 3686 | | |
| 3687 | 594 | pub fn pthread_setspecific(key: pthread_key_t, value: *const ::c_void) |
| 3688 | | ^^^^^^^^^^^^^ not found in this scope |
| 3689 | | |
| 3690 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3691 | | |
| 3692 | 266 | / cfg_if! { |
| 3693 | 267 | | if #[cfg(windows)] { |
| 3694 | 268 | | mod windows; |
| 3695 | 269 | | pub use windows::*; |
| 3696 | ... | |
| 3697 | 278 | | } |
| 3698 | 279 | | } |
| 3699 | | |_- in this macro invocation |
| 3700 | |
| 3701 | error[E0412]: cannot find type `pthread_mutex_t` in this scope |
| 3702 | --> /home/kelvin/repos/libc/src/unix/mod.rs:596:42 |
| 3703 | | |
| 3704 | 596 | pub fn pthread_mutex_init(lock: *mut pthread_mutex_t, |
| 3705 | | ^^^^^^^^^^^^^^^ not found in this scope |
| 3706 | | |
| 3707 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3708 | | |
| 3709 | 266 | / cfg_if! { |
| 3710 | 267 | | if #[cfg(windows)] { |
| 3711 | 268 | | mod windows; |
| 3712 | 269 | | pub use windows::*; |
| 3713 | ... | |
| 3714 | 278 | | } |
| 3715 | 279 | | } |
| 3716 | | |_- in this macro invocation |
| 3717 | |
| 3718 | error[E0412]: cannot find type `pthread_mutexattr_t` in this scope |
| 3719 | --> /home/kelvin/repos/libc/src/unix/mod.rs:597:44 |
| 3720 | | |
| 3721 | 597 | attr: *const pthread_mutexattr_t) -> ::c_int; |
| 3722 | | ^^^^^^^^^^^^^^^^^^^ not found in this scope |
| 3723 | | |
| 3724 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3725 | | |
| 3726 | 266 | / cfg_if! { |
| 3727 | 267 | | if #[cfg(windows)] { |
| 3728 | 268 | | mod windows; |
| 3729 | 269 | | pub use windows::*; |
| 3730 | ... | |
| 3731 | 278 | | } |
| 3732 | 279 | | } |
| 3733 | | |_- in this macro invocation |
| 3734 | |
| 3735 | error[E0412]: cannot find type `pthread_mutex_t` in this scope |
| 3736 | --> /home/kelvin/repos/libc/src/unix/mod.rs:598:45 |
| 3737 | | |
| 3738 | 598 | pub fn pthread_mutex_destroy(lock: *mut pthread_mutex_t) -> ::c_int; |
| 3739 | | ^^^^^^^^^^^^^^^ not found in this scope |
| 3740 | | |
| 3741 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3742 | | |
| 3743 | 266 | / cfg_if! { |
| 3744 | 267 | | if #[cfg(windows)] { |
| 3745 | 268 | | mod windows; |
| 3746 | 269 | | pub use windows::*; |
| 3747 | ... | |
| 3748 | 278 | | } |
| 3749 | 279 | | } |
| 3750 | | |_- in this macro invocation |
| 3751 | |
| 3752 | error[E0412]: cannot find type `pthread_mutex_t` in this scope |
| 3753 | --> /home/kelvin/repos/libc/src/unix/mod.rs:599:42 |
| 3754 | | |
| 3755 | 599 | pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> ::c_int; |
| 3756 | | ^^^^^^^^^^^^^^^ not found in this scope |
| 3757 | | |
| 3758 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3759 | | |
| 3760 | 266 | / cfg_if! { |
| 3761 | 267 | | if #[cfg(windows)] { |
| 3762 | 268 | | mod windows; |
| 3763 | 269 | | pub use windows::*; |
| 3764 | ... | |
| 3765 | 278 | | } |
| 3766 | 279 | | } |
| 3767 | | |_- in this macro invocation |
| 3768 | |
| 3769 | error[E0412]: cannot find type `pthread_mutex_t` in this scope |
| 3770 | --> /home/kelvin/repos/libc/src/unix/mod.rs:600:45 |
| 3771 | | |
| 3772 | 600 | pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> ::c_int; |
| 3773 | | ^^^^^^^^^^^^^^^ not found in this scope |
| 3774 | | |
| 3775 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3776 | | |
| 3777 | 266 | / cfg_if! { |
| 3778 | 267 | | if #[cfg(windows)] { |
| 3779 | 268 | | mod windows; |
| 3780 | 269 | | pub use windows::*; |
| 3781 | ... | |
| 3782 | 278 | | } |
| 3783 | 279 | | } |
| 3784 | | |_- in this macro invocation |
| 3785 | |
| 3786 | error[E0412]: cannot find type `pthread_mutex_t` in this scope |
| 3787 | --> /home/kelvin/repos/libc/src/unix/mod.rs:601:44 |
| 3788 | | |
| 3789 | 601 | pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> ::c_int; |
| 3790 | | ^^^^^^^^^^^^^^^ not found in this scope |
| 3791 | | |
| 3792 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3793 | | |
| 3794 | 266 | / cfg_if! { |
| 3795 | 267 | | if #[cfg(windows)] { |
| 3796 | 268 | | mod windows; |
| 3797 | 269 | | pub use windows::*; |
| 3798 | ... | |
| 3799 | 278 | | } |
| 3800 | 279 | | } |
| 3801 | | |_- in this macro invocation |
| 3802 | |
| 3803 | error[E0412]: cannot find type `pthread_mutexattr_t` in this scope |
| 3804 | --> /home/kelvin/repos/libc/src/unix/mod.rs:603:46 |
| 3805 | | |
| 3806 | 603 | pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> ::c_int; |
| 3807 | | ^^^^^^^^^^^^^^^^^^^ not found in this scope |
| 3808 | | |
| 3809 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3810 | | |
| 3811 | 266 | / cfg_if! { |
| 3812 | 267 | | if #[cfg(windows)] { |
| 3813 | 268 | | mod windows; |
| 3814 | 269 | | pub use windows::*; |
| 3815 | ... | |
| 3816 | 278 | | } |
| 3817 | 279 | | } |
| 3818 | | |_- in this macro invocation |
| 3819 | |
| 3820 | error[E0412]: cannot find type `pthread_mutexattr_t` in this scope |
| 3821 | --> /home/kelvin/repos/libc/src/unix/mod.rs:606:49 |
| 3822 | | |
| 3823 | 606 | pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> ::c_int; |
| 3824 | | ^^^^^^^^^^^^^^^^^^^ not found in this scope |
| 3825 | | |
| 3826 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3827 | | |
| 3828 | 266 | / cfg_if! { |
| 3829 | 267 | | if #[cfg(windows)] { |
| 3830 | 268 | | mod windows; |
| 3831 | 269 | | pub use windows::*; |
| 3832 | ... | |
| 3833 | 278 | | } |
| 3834 | 279 | | } |
| 3835 | | |_- in this macro invocation |
| 3836 | |
| 3837 | error[E0412]: cannot find type `pthread_mutexattr_t` in this scope |
| 3838 | --> /home/kelvin/repos/libc/src/unix/mod.rs:607:49 |
| 3839 | | |
| 3840 | 607 | pub fn pthread_mutexattr_settype(attr: *mut pthread_mutexattr_t, |
| 3841 | | ^^^^^^^^^^^^^^^^^^^ not found in this scope |
| 3842 | | |
| 3843 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3844 | | |
| 3845 | 266 | / cfg_if! { |
| 3846 | 267 | | if #[cfg(windows)] { |
| 3847 | 268 | | mod windows; |
| 3848 | 269 | | pub use windows::*; |
| 3849 | ... | |
| 3850 | 278 | | } |
| 3851 | 279 | | } |
| 3852 | | |_- in this macro invocation |
| 3853 | |
| 3854 | error[E0412]: cannot find type `pthread_cond_t` in this scope |
| 3855 | --> /home/kelvin/repos/libc/src/unix/mod.rs:612:41 |
| 3856 | | |
| 3857 | 612 | pub fn pthread_cond_init(cond: *mut pthread_cond_t, |
| 3858 | | ^^^^^^^^^^^^^^ not found in this scope |
| 3859 | | |
| 3860 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3861 | | |
| 3862 | 266 | / cfg_if! { |
| 3863 | 267 | | if #[cfg(windows)] { |
| 3864 | 268 | | mod windows; |
| 3865 | 269 | | pub use windows::*; |
| 3866 | ... | |
| 3867 | 278 | | } |
| 3868 | 279 | | } |
| 3869 | | |_- in this macro invocation |
| 3870 | |
| 3871 | error[E0412]: cannot find type `pthread_condattr_t` in this scope |
| 3872 | --> /home/kelvin/repos/libc/src/unix/mod.rs:613:43 |
| 3873 | | |
| 3874 | 613 | attr: *const pthread_condattr_t) -> ::c_int; |
| 3875 | | ^^^^^^^^^^^^^^^^^^ not found in this scope |
| 3876 | | |
| 3877 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3878 | | |
| 3879 | 266 | / cfg_if! { |
| 3880 | 267 | | if #[cfg(windows)] { |
| 3881 | 268 | | mod windows; |
| 3882 | 269 | | pub use windows::*; |
| 3883 | ... | |
| 3884 | 278 | | } |
| 3885 | 279 | | } |
| 3886 | | |_- in this macro invocation |
| 3887 | |
| 3888 | error[E0412]: cannot find type `pthread_cond_t` in this scope |
| 3889 | --> /home/kelvin/repos/libc/src/unix/mod.rs:616:41 |
| 3890 | | |
| 3891 | 616 | pub fn pthread_cond_wait(cond: *mut pthread_cond_t, |
| 3892 | | ^^^^^^^^^^^^^^ not found in this scope |
| 3893 | | |
| 3894 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3895 | | |
| 3896 | 266 | / cfg_if! { |
| 3897 | 267 | | if #[cfg(windows)] { |
| 3898 | 268 | | mod windows; |
| 3899 | 269 | | pub use windows::*; |
| 3900 | ... | |
| 3901 | 278 | | } |
| 3902 | 279 | | } |
| 3903 | | |_- in this macro invocation |
| 3904 | |
| 3905 | error[E0412]: cannot find type `pthread_mutex_t` in this scope |
| 3906 | --> /home/kelvin/repos/libc/src/unix/mod.rs:617:41 |
| 3907 | | |
| 3908 | 617 | lock: *mut pthread_mutex_t) -> ::c_int; |
| 3909 | | ^^^^^^^^^^^^^^^ not found in this scope |
| 3910 | | |
| 3911 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3912 | | |
| 3913 | 266 | / cfg_if! { |
| 3914 | 267 | | if #[cfg(windows)] { |
| 3915 | 268 | | mod windows; |
| 3916 | 269 | | pub use windows::*; |
| 3917 | ... | |
| 3918 | 278 | | } |
| 3919 | 279 | | } |
| 3920 | | |_- in this macro invocation |
| 3921 | |
| 3922 | error[E0412]: cannot find type `pthread_cond_t` in this scope |
| 3923 | --> /home/kelvin/repos/libc/src/unix/mod.rs:620:46 |
| 3924 | | |
| 3925 | 620 | pub fn pthread_cond_timedwait(cond: *mut pthread_cond_t, |
| 3926 | | ^^^^^^^^^^^^^^ not found in this scope |
| 3927 | | |
| 3928 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3929 | | |
| 3930 | 266 | / cfg_if! { |
| 3931 | 267 | | if #[cfg(windows)] { |
| 3932 | 268 | | mod windows; |
| 3933 | 269 | | pub use windows::*; |
| 3934 | ... | |
| 3935 | 278 | | } |
| 3936 | 279 | | } |
| 3937 | | |_- in this macro invocation |
| 3938 | |
| 3939 | error[E0412]: cannot find type `pthread_mutex_t` in this scope |
| 3940 | --> /home/kelvin/repos/libc/src/unix/mod.rs:621:42 |
| 3941 | | |
| 3942 | 621 | lock: *mut pthread_mutex_t, |
| 3943 | | ^^^^^^^^^^^^^^^ not found in this scope |
| 3944 | | |
| 3945 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3946 | | |
| 3947 | 266 | / cfg_if! { |
| 3948 | 267 | | if #[cfg(windows)] { |
| 3949 | 268 | | mod windows; |
| 3950 | 269 | | pub use windows::*; |
| 3951 | ... | |
| 3952 | 278 | | } |
| 3953 | 279 | | } |
| 3954 | | |_- in this macro invocation |
| 3955 | |
| 3956 | error[E0412]: cannot find type `pthread_cond_t` in this scope |
| 3957 | --> /home/kelvin/repos/libc/src/unix/mod.rs:623:43 |
| 3958 | | |
| 3959 | 623 | pub fn pthread_cond_signal(cond: *mut pthread_cond_t) -> ::c_int; |
| 3960 | | ^^^^^^^^^^^^^^ not found in this scope |
| 3961 | | |
| 3962 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3963 | | |
| 3964 | 266 | / cfg_if! { |
| 3965 | 267 | | if #[cfg(windows)] { |
| 3966 | 268 | | mod windows; |
| 3967 | 269 | | pub use windows::*; |
| 3968 | ... | |
| 3969 | 278 | | } |
| 3970 | 279 | | } |
| 3971 | | |_- in this macro invocation |
| 3972 | |
| 3973 | error[E0412]: cannot find type `pthread_cond_t` in this scope |
| 3974 | --> /home/kelvin/repos/libc/src/unix/mod.rs:624:46 |
| 3975 | | |
| 3976 | 624 | pub fn pthread_cond_broadcast(cond: *mut pthread_cond_t) -> ::c_int; |
| 3977 | | ^^^^^^^^^^^^^^ not found in this scope |
| 3978 | | |
| 3979 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3980 | | |
| 3981 | 266 | / cfg_if! { |
| 3982 | 267 | | if #[cfg(windows)] { |
| 3983 | 268 | | mod windows; |
| 3984 | 269 | | pub use windows::*; |
| 3985 | ... | |
| 3986 | 278 | | } |
| 3987 | 279 | | } |
| 3988 | | |_- in this macro invocation |
| 3989 | |
| 3990 | error[E0412]: cannot find type `pthread_cond_t` in this scope |
| 3991 | --> /home/kelvin/repos/libc/src/unix/mod.rs:625:44 |
| 3992 | | |
| 3993 | 625 | pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> ::c_int; |
| 3994 | | ^^^^^^^^^^^^^^ not found in this scope |
| 3995 | | |
| 3996 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 3997 | | |
| 3998 | 266 | / cfg_if! { |
| 3999 | 267 | | if #[cfg(windows)] { |
| 4000 | 268 | | mod windows; |
| 4001 | 269 | | pub use windows::*; |
| 4002 | ... | |
| 4003 | 278 | | } |
| 4004 | 279 | | } |
| 4005 | | |_- in this macro invocation |
| 4006 | |
| 4007 | error[E0412]: cannot find type `pthread_condattr_t` in this scope |
| 4008 | --> /home/kelvin/repos/libc/src/unix/mod.rs:626:45 |
| 4009 | | |
| 4010 | 626 | pub fn pthread_condattr_init(attr: *mut pthread_condattr_t) -> ::c_int; |
| 4011 | | ^^^^^^^^^^^^^^^^^^ not found in this scope |
| 4012 | | |
| 4013 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4014 | | |
| 4015 | 266 | / cfg_if! { |
| 4016 | 267 | | if #[cfg(windows)] { |
| 4017 | 268 | | mod windows; |
| 4018 | 269 | | pub use windows::*; |
| 4019 | ... | |
| 4020 | 278 | | } |
| 4021 | 279 | | } |
| 4022 | | |_- in this macro invocation |
| 4023 | |
| 4024 | error[E0412]: cannot find type `pthread_condattr_t` in this scope |
| 4025 | --> /home/kelvin/repos/libc/src/unix/mod.rs:627:48 |
| 4026 | | |
| 4027 | 627 | pub fn pthread_condattr_destroy(attr: *mut pthread_condattr_t) -> ::c_int; |
| 4028 | | ^^^^^^^^^^^^^^^^^^ not found in this scope |
| 4029 | | |
| 4030 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4031 | | |
| 4032 | 266 | / cfg_if! { |
| 4033 | 267 | | if #[cfg(windows)] { |
| 4034 | 268 | | mod windows; |
| 4035 | 269 | | pub use windows::*; |
| 4036 | ... | |
| 4037 | 278 | | } |
| 4038 | 279 | | } |
| 4039 | | |_- in this macro invocation |
| 4040 | |
| 4041 | error[E0412]: cannot find type `pthread_rwlock_t` in this scope |
| 4042 | --> /home/kelvin/repos/libc/src/unix/mod.rs:630:46 |
| 4043 | | |
| 4044 | 630 | pub fn pthread_rwlock_destroy(lock: *mut pthread_rwlock_t) -> ::c_int; |
| 4045 | | ^^^^^^^^^^^^^^^^ not found in this scope |
| 4046 | | |
| 4047 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4048 | | |
| 4049 | 266 | / cfg_if! { |
| 4050 | 267 | | if #[cfg(windows)] { |
| 4051 | 268 | | mod windows; |
| 4052 | 269 | | pub use windows::*; |
| 4053 | ... | |
| 4054 | 278 | | } |
| 4055 | 279 | | } |
| 4056 | | |_- in this macro invocation |
| 4057 | |
| 4058 | error[E0412]: cannot find type `pthread_rwlock_t` in this scope |
| 4059 | --> /home/kelvin/repos/libc/src/unix/mod.rs:633:45 |
| 4060 | | |
| 4061 | 633 | pub fn pthread_rwlock_rdlock(lock: *mut pthread_rwlock_t) -> ::c_int; |
| 4062 | | ^^^^^^^^^^^^^^^^ not found in this scope |
| 4063 | | |
| 4064 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4065 | | |
| 4066 | 266 | / cfg_if! { |
| 4067 | 267 | | if #[cfg(windows)] { |
| 4068 | 268 | | mod windows; |
| 4069 | 269 | | pub use windows::*; |
| 4070 | ... | |
| 4071 | 278 | | } |
| 4072 | 279 | | } |
| 4073 | | |_- in this macro invocation |
| 4074 | |
| 4075 | error[E0412]: cannot find type `pthread_rwlock_t` in this scope |
| 4076 | --> /home/kelvin/repos/libc/src/unix/mod.rs:636:48 |
| 4077 | | |
| 4078 | 636 | pub fn pthread_rwlock_tryrdlock(lock: *mut pthread_rwlock_t) -> ::c_int; |
| 4079 | | ^^^^^^^^^^^^^^^^ not found in this scope |
| 4080 | | |
| 4081 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4082 | | |
| 4083 | 266 | / cfg_if! { |
| 4084 | 267 | | if #[cfg(windows)] { |
| 4085 | 268 | | mod windows; |
| 4086 | 269 | | pub use windows::*; |
| 4087 | ... | |
| 4088 | 278 | | } |
| 4089 | 279 | | } |
| 4090 | | |_- in this macro invocation |
| 4091 | |
| 4092 | error[E0412]: cannot find type `pthread_rwlock_t` in this scope |
| 4093 | --> /home/kelvin/repos/libc/src/unix/mod.rs:639:45 |
| 4094 | | |
| 4095 | 639 | pub fn pthread_rwlock_wrlock(lock: *mut pthread_rwlock_t) -> ::c_int; |
| 4096 | | ^^^^^^^^^^^^^^^^ not found in this scope |
| 4097 | | |
| 4098 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4099 | | |
| 4100 | 266 | / cfg_if! { |
| 4101 | 267 | | if #[cfg(windows)] { |
| 4102 | 268 | | mod windows; |
| 4103 | 269 | | pub use windows::*; |
| 4104 | ... | |
| 4105 | 278 | | } |
| 4106 | 279 | | } |
| 4107 | | |_- in this macro invocation |
| 4108 | |
| 4109 | error[E0412]: cannot find type `pthread_rwlock_t` in this scope |
| 4110 | --> /home/kelvin/repos/libc/src/unix/mod.rs:642:48 |
| 4111 | | |
| 4112 | 642 | pub fn pthread_rwlock_trywrlock(lock: *mut pthread_rwlock_t) -> ::c_int; |
| 4113 | | ^^^^^^^^^^^^^^^^ not found in this scope |
| 4114 | | |
| 4115 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4116 | | |
| 4117 | 266 | / cfg_if! { |
| 4118 | 267 | | if #[cfg(windows)] { |
| 4119 | 268 | | mod windows; |
| 4120 | 269 | | pub use windows::*; |
| 4121 | ... | |
| 4122 | 278 | | } |
| 4123 | 279 | | } |
| 4124 | | |_- in this macro invocation |
| 4125 | |
| 4126 | error[E0412]: cannot find type `pthread_rwlock_t` in this scope |
| 4127 | --> /home/kelvin/repos/libc/src/unix/mod.rs:645:45 |
| 4128 | | |
| 4129 | 645 | pub fn pthread_rwlock_unlock(lock: *mut pthread_rwlock_t) -> ::c_int; |
| 4130 | | ^^^^^^^^^^^^^^^^ not found in this scope |
| 4131 | | |
| 4132 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4133 | | |
| 4134 | 266 | / cfg_if! { |
| 4135 | 267 | | if #[cfg(windows)] { |
| 4136 | 268 | | mod windows; |
| 4137 | 269 | | pub use windows::*; |
| 4138 | ... | |
| 4139 | 278 | | } |
| 4140 | 279 | | } |
| 4141 | | |_- in this macro invocation |
| 4142 | |
| 4143 | error[E0412]: cannot find type `sigset_t` in this scope |
| 4144 | --> /home/kelvin/repos/libc/src/unix/mod.rs:648:54 |
| 4145 | | |
| 4146 | 648 | pub fn pthread_sigmask(how: ::c_int, set: *const sigset_t, |
| 4147 | | ^^^^^^^^ not found in this scope |
| 4148 | | |
| 4149 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4150 | | |
| 4151 | 266 | / cfg_if! { |
| 4152 | 267 | | if #[cfg(windows)] { |
| 4153 | 268 | | mod windows; |
| 4154 | 269 | | pub use windows::*; |
| 4155 | ... | |
| 4156 | 278 | | } |
| 4157 | 279 | | } |
| 4158 | | |_- in this macro invocation |
| 4159 | |
| 4160 | error[E0412]: cannot find type `sigset_t` in this scope |
| 4161 | --> /home/kelvin/repos/libc/src/unix/mod.rs:649:41 |
| 4162 | | |
| 4163 | 649 | oldset: *mut sigset_t) -> ::c_int; |
| 4164 | | ^^^^^^^^ not found in this scope |
| 4165 | | |
| 4166 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4167 | | |
| 4168 | 266 | / cfg_if! { |
| 4169 | 267 | | if #[cfg(windows)] { |
| 4170 | 268 | | mod windows; |
| 4171 | 269 | | pub use windows::*; |
| 4172 | ... | |
| 4173 | 278 | | } |
| 4174 | 279 | | } |
| 4175 | | |_- in this macro invocation |
| 4176 | |
| 4177 | error[E0412]: cannot find type `pthread_t` in the crate root |
| 4178 | --> /home/kelvin/repos/libc/src/unix/mod.rs:650:35 |
| 4179 | | |
| 4180 | 650 | pub fn pthread_kill(thread: ::pthread_t, sig: ::c_int) -> ::c_int; |
| 4181 | | ^^^^^^^^^ not found in the crate root |
| 4182 | | |
| 4183 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4184 | | |
| 4185 | 266 | / cfg_if! { |
| 4186 | 267 | | if #[cfg(windows)] { |
| 4187 | 268 | | mod windows; |
| 4188 | 269 | | pub use windows::*; |
| 4189 | ... | |
| 4190 | 278 | | } |
| 4191 | 279 | | } |
| 4192 | | |_- in this macro invocation |
| 4193 | | |
| 4194 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4195 | `use core::os::linux::raw::pthread_t;` |
| 4196 | `use core::os::unix::raw::pthread_t;` |
| 4197 | |
| 4198 | error[E0412]: cannot find type `c_char` in this scope |
| 4199 | --> /home/kelvin/repos/libc/src/unix/mod.rs:653:50 |
| 4200 | | |
| 4201 | 653 | pub fn strerror_r(errnum: ::c_int, buf: *mut c_char, |
| 4202 | | ^^^^^^ did you mean `char`? |
| 4203 | | |
| 4204 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4205 | | |
| 4206 | 266 | / cfg_if! { |
| 4207 | 267 | | if #[cfg(windows)] { |
| 4208 | 268 | | mod windows; |
| 4209 | 269 | | pub use windows::*; |
| 4210 | ... | |
| 4211 | 278 | | } |
| 4212 | 279 | | } |
| 4213 | | |_- in this macro invocation |
| 4214 | | |
| 4215 | = help: possible candidate is found in another module, you can import it into scope: |
| 4216 | `use core::os::raw::c_char;` |
| 4217 | |
| 4218 | error[E0412]: cannot find type `socklen_t` in the crate root |
| 4219 | --> /home/kelvin/repos/libc/src/unix/mod.rs:660:38 |
| 4220 | | |
| 4221 | 660 | optlen: *mut ::socklen_t) -> ::c_int; |
| 4222 | | ^^^^^^^^^ did you mean `locale_t`? |
| 4223 | | |
| 4224 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4225 | | |
| 4226 | 266 | / cfg_if! { |
| 4227 | 267 | | if #[cfg(windows)] { |
| 4228 | 268 | | mod windows; |
| 4229 | 269 | | pub use windows::*; |
| 4230 | ... | |
| 4231 | 278 | | } |
| 4232 | 279 | | } |
| 4233 | | |_- in this macro invocation |
| 4234 | |
| 4235 | error[E0573]: expected type, found function `sigaction` |
| 4236 | --> /home/kelvin/repos/libc/src/unix/mod.rs:664:34 |
| 4237 | | |
| 4238 | 664 | act: *const sigaction, |
| 4239 | | ^^^^^^^^^ not a type |
| 4240 | | |
| 4241 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4242 | | |
| 4243 | 266 | / cfg_if! { |
| 4244 | 267 | | if #[cfg(windows)] { |
| 4245 | 268 | | mod windows; |
| 4246 | 269 | | pub use windows::*; |
| 4247 | ... | |
| 4248 | 278 | | } |
| 4249 | 279 | | } |
| 4250 | | |_- in this macro invocation |
| 4251 | |
| 4252 | error[E0573]: expected type, found function `sigaction` |
| 4253 | --> /home/kelvin/repos/libc/src/unix/mod.rs:665:35 |
| 4254 | | |
| 4255 | 665 | oldact: *mut sigaction) -> ::c_int; |
| 4256 | | ^^^^^^^^^ not a type |
| 4257 | | |
| 4258 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4259 | | |
| 4260 | 266 | / cfg_if! { |
| 4261 | 267 | | if #[cfg(windows)] { |
| 4262 | 268 | | mod windows; |
| 4263 | 269 | | pub use windows::*; |
| 4264 | ... | |
| 4265 | 278 | | } |
| 4266 | 279 | | } |
| 4267 | | |_- in this macro invocation |
| 4268 | |
| 4269 | error[E0412]: cannot find type `stack_t` in this scope |
| 4270 | --> /home/kelvin/repos/libc/src/unix/mod.rs:669:35 |
| 4271 | | |
| 4272 | 669 | pub fn sigaltstack(ss: *const stack_t, |
| 4273 | | ^^^^^^^ not found in this scope |
| 4274 | | |
| 4275 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4276 | | |
| 4277 | 266 | / cfg_if! { |
| 4278 | 267 | | if #[cfg(windows)] { |
| 4279 | 268 | | mod windows; |
| 4280 | 269 | | pub use windows::*; |
| 4281 | ... | |
| 4282 | 278 | | } |
| 4283 | 279 | | } |
| 4284 | | |_- in this macro invocation |
| 4285 | |
| 4286 | error[E0412]: cannot find type `stack_t` in this scope |
| 4287 | --> /home/kelvin/repos/libc/src/unix/mod.rs:670:34 |
| 4288 | | |
| 4289 | 670 | oss: *mut stack_t) -> ::c_int; |
| 4290 | | ^^^^^^^ not found in this scope |
| 4291 | | |
| 4292 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4293 | | |
| 4294 | 266 | / cfg_if! { |
| 4295 | 267 | | if #[cfg(windows)] { |
| 4296 | 268 | | mod windows; |
| 4297 | 269 | | pub use windows::*; |
| 4298 | ... | |
| 4299 | 278 | | } |
| 4300 | 279 | | } |
| 4301 | | |_- in this macro invocation |
| 4302 | |
| 4303 | error[E0412]: cannot find type `sigset_t` in this scope |
| 4304 | --> /home/kelvin/repos/libc/src/unix/mod.rs:674:32 |
| 4305 | | |
| 4306 | 674 | pub fn sigwait(set: *const sigset_t, |
| 4307 | | ^^^^^^^^ not found in this scope |
| 4308 | | |
| 4309 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4310 | | |
| 4311 | 266 | / cfg_if! { |
| 4312 | 267 | | if #[cfg(windows)] { |
| 4313 | 268 | | mod windows; |
| 4314 | 269 | | pub use windows::*; |
| 4315 | ... | |
| 4316 | 278 | | } |
| 4317 | 279 | | } |
| 4318 | | |_- in this macro invocation |
| 4319 | |
| 4320 | error[E0412]: cannot find type `c_char` in the crate root |
| 4321 | --> /home/kelvin/repos/libc/src/unix/mod.rs:678:38 |
| 4322 | | |
| 4323 | 678 | pub fn utimes(filename: *const ::c_char, |
| 4324 | | ^^^^^^ did you mean `c_schar`? |
| 4325 | | |
| 4326 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4327 | | |
| 4328 | 266 | / cfg_if! { |
| 4329 | 267 | | if #[cfg(windows)] { |
| 4330 | 268 | | mod windows; |
| 4331 | 269 | | pub use windows::*; |
| 4332 | ... | |
| 4333 | 278 | | } |
| 4334 | 279 | | } |
| 4335 | | |_- in this macro invocation |
| 4336 | | |
| 4337 | = help: possible candidate is found in another module, you can import it into scope: |
| 4338 | `use core::os::raw::c_char;` |
| 4339 | |
| 4340 | error[E0412]: cannot find type `c_char` in the crate root |
| 4341 | --> /home/kelvin/repos/libc/src/unix/mod.rs:680:38 |
| 4342 | | |
| 4343 | 680 | pub fn dlopen(filename: *const ::c_char, |
| 4344 | | ^^^^^^ did you mean `c_schar`? |
| 4345 | | |
| 4346 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4347 | | |
| 4348 | 266 | / cfg_if! { |
| 4349 | 267 | | if #[cfg(windows)] { |
| 4350 | 268 | | mod windows; |
| 4351 | 269 | | pub use windows::*; |
| 4352 | ... | |
| 4353 | 278 | | } |
| 4354 | 279 | | } |
| 4355 | | |_- in this macro invocation |
| 4356 | | |
| 4357 | = help: possible candidate is found in another module, you can import it into scope: |
| 4358 | `use core::os::raw::c_char;` |
| 4359 | |
| 4360 | error[E0412]: cannot find type `c_char` in the crate root |
| 4361 | --> /home/kelvin/repos/libc/src/unix/mod.rs:682:32 |
| 4362 | | |
| 4363 | 682 | pub fn dlerror() -> *mut ::c_char; |
| 4364 | | ^^^^^^ did you mean `c_schar`? |
| 4365 | | |
| 4366 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4367 | | |
| 4368 | 266 | / cfg_if! { |
| 4369 | 267 | | if #[cfg(windows)] { |
| 4370 | 268 | | mod windows; |
| 4371 | 269 | | pub use windows::*; |
| 4372 | ... | |
| 4373 | 278 | | } |
| 4374 | 279 | | } |
| 4375 | | |_- in this macro invocation |
| 4376 | | |
| 4377 | = help: possible candidate is found in another module, you can import it into scope: |
| 4378 | `use core::os::raw::c_char;` |
| 4379 | |
| 4380 | error[E0412]: cannot find type `c_char` in the crate root |
| 4381 | --> /home/kelvin/repos/libc/src/unix/mod.rs:684:35 |
| 4382 | | |
| 4383 | 684 | symbol: *const ::c_char) -> *mut ::c_void; |
| 4384 | | ^^^^^^ did you mean `c_schar`? |
| 4385 | | |
| 4386 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4387 | | |
| 4388 | 266 | / cfg_if! { |
| 4389 | 267 | | if #[cfg(windows)] { |
| 4390 | 268 | | mod windows; |
| 4391 | 269 | | pub use windows::*; |
| 4392 | ... | |
| 4393 | 278 | | } |
| 4394 | 279 | | } |
| 4395 | | |_- in this macro invocation |
| 4396 | | |
| 4397 | = help: possible candidate is found in another module, you can import it into scope: |
| 4398 | `use core::os::raw::c_char;` |
| 4399 | |
| 4400 | error[E0412]: cannot find type `Dl_info` in this scope |
| 4401 | --> /home/kelvin/repos/libc/src/unix/mod.rs:686:53 |
| 4402 | | |
| 4403 | 686 | pub fn dladdr(addr: *const ::c_void, info: *mut Dl_info) -> ::c_int; |
| 4404 | | ^^^^^^^ not found in this scope |
| 4405 | | |
| 4406 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4407 | | |
| 4408 | 266 | / cfg_if! { |
| 4409 | 267 | | if #[cfg(windows)] { |
| 4410 | 268 | | mod windows; |
| 4411 | 269 | | pub use windows::*; |
| 4412 | ... | |
| 4413 | 278 | | } |
| 4414 | 279 | | } |
| 4415 | | |_- in this macro invocation |
| 4416 | |
| 4417 | error[E0412]: cannot find type `c_char` in this scope |
| 4418 | --> /home/kelvin/repos/libc/src/unix/mod.rs:688:37 |
| 4419 | | |
| 4420 | 688 | pub fn getaddrinfo(node: *const c_char, |
| 4421 | | ^^^^^^ did you mean `char`? |
| 4422 | | |
| 4423 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4424 | | |
| 4425 | 266 | / cfg_if! { |
| 4426 | 267 | | if #[cfg(windows)] { |
| 4427 | 268 | | mod windows; |
| 4428 | 269 | | pub use windows::*; |
| 4429 | ... | |
| 4430 | 278 | | } |
| 4431 | 279 | | } |
| 4432 | | |_- in this macro invocation |
| 4433 | | |
| 4434 | = help: possible candidate is found in another module, you can import it into scope: |
| 4435 | `use core::os::raw::c_char;` |
| 4436 | |
| 4437 | error[E0412]: cannot find type `c_char` in this scope |
| 4438 | --> /home/kelvin/repos/libc/src/unix/mod.rs:689:40 |
| 4439 | | |
| 4440 | 689 | service: *const c_char, |
| 4441 | | ^^^^^^ did you mean `char`? |
| 4442 | | |
| 4443 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4444 | | |
| 4445 | 266 | / cfg_if! { |
| 4446 | 267 | | if #[cfg(windows)] { |
| 4447 | 268 | | mod windows; |
| 4448 | 269 | | pub use windows::*; |
| 4449 | ... | |
| 4450 | 278 | | } |
| 4451 | 279 | | } |
| 4452 | | |_- in this macro invocation |
| 4453 | | |
| 4454 | = help: possible candidate is found in another module, you can import it into scope: |
| 4455 | `use core::os::raw::c_char;` |
| 4456 | |
| 4457 | error[E0412]: cannot find type `addrinfo` in this scope |
| 4458 | --> /home/kelvin/repos/libc/src/unix/mod.rs:690:38 |
| 4459 | | |
| 4460 | 690 | hints: *const addrinfo, |
| 4461 | | ^^^^^^^^ not found in this scope |
| 4462 | | |
| 4463 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4464 | | |
| 4465 | 266 | / cfg_if! { |
| 4466 | 267 | | if #[cfg(windows)] { |
| 4467 | 268 | | mod windows; |
| 4468 | 269 | | pub use windows::*; |
| 4469 | ... | |
| 4470 | 278 | | } |
| 4471 | 279 | | } |
| 4472 | | |_- in this macro invocation |
| 4473 | |
| 4474 | error[E0412]: cannot find type `addrinfo` in this scope |
| 4475 | --> /home/kelvin/repos/libc/src/unix/mod.rs:691:39 |
| 4476 | | |
| 4477 | 691 | res: *mut *mut addrinfo) -> ::c_int; |
| 4478 | | ^^^^^^^^ not found in this scope |
| 4479 | | |
| 4480 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4481 | | |
| 4482 | 266 | / cfg_if! { |
| 4483 | 267 | | if #[cfg(windows)] { |
| 4484 | 268 | | mod windows; |
| 4485 | 269 | | pub use windows::*; |
| 4486 | ... | |
| 4487 | 278 | | } |
| 4488 | 279 | | } |
| 4489 | | |_- in this macro invocation |
| 4490 | |
| 4491 | error[E0412]: cannot find type `addrinfo` in this scope |
| 4492 | --> /home/kelvin/repos/libc/src/unix/mod.rs:692:35 |
| 4493 | | |
| 4494 | 692 | pub fn freeaddrinfo(res: *mut addrinfo); |
| 4495 | | ^^^^^^^^ not found in this scope |
| 4496 | | |
| 4497 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4498 | | |
| 4499 | 266 | / cfg_if! { |
| 4500 | 267 | | if #[cfg(windows)] { |
| 4501 | 268 | | mod windows; |
| 4502 | 269 | | pub use windows::*; |
| 4503 | ... | |
| 4504 | 278 | | } |
| 4505 | 279 | | } |
| 4506 | | |_- in this macro invocation |
| 4507 | |
| 4508 | error[E0412]: cannot find type `c_char` in the crate root |
| 4509 | --> /home/kelvin/repos/libc/src/unix/mod.rs:693:55 |
| 4510 | | |
| 4511 | 693 | pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char; |
| 4512 | | ^^^^^^ did you mean `c_schar`? |
| 4513 | | |
| 4514 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4515 | | |
| 4516 | 266 | / cfg_if! { |
| 4517 | 267 | | if #[cfg(windows)] { |
| 4518 | 268 | | mod windows; |
| 4519 | 269 | | pub use windows::*; |
| 4520 | ... | |
| 4521 | 278 | | } |
| 4522 | 279 | | } |
| 4523 | | |_- in this macro invocation |
| 4524 | | |
| 4525 | = help: possible candidate is found in another module, you can import it into scope: |
| 4526 | `use core::os::raw::c_char;` |
| 4527 | |
| 4528 | error[E0412]: cannot find type `time_t` in this scope |
| 4529 | --> /home/kelvin/repos/libc/src/unix/mod.rs:696:36 |
| 4530 | | |
| 4531 | 696 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; |
| 4532 | | ^^^^^^ not found in this scope |
| 4533 | | |
| 4534 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4535 | | |
| 4536 | 266 | / cfg_if! { |
| 4537 | 267 | | if #[cfg(windows)] { |
| 4538 | 268 | | mod windows; |
| 4539 | 269 | | pub use windows::*; |
| 4540 | ... | |
| 4541 | 278 | | } |
| 4542 | 279 | | } |
| 4543 | | |_- in this macro invocation |
| 4544 | | |
| 4545 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4546 | `use core::os::linux::raw::time_t;` |
| 4547 | `use core::os::unix::raw::time_t;` |
| 4548 | |
| 4549 | error[E0412]: cannot find type `tm` in this scope |
| 4550 | --> /home/kelvin/repos/libc/src/unix/mod.rs:696:57 |
| 4551 | | |
| 4552 | 696 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; |
| 4553 | | ^^ not found in this scope |
| 4554 | | |
| 4555 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4556 | | |
| 4557 | 266 | / cfg_if! { |
| 4558 | 267 | | if #[cfg(windows)] { |
| 4559 | 268 | | mod windows; |
| 4560 | 269 | | pub use windows::*; |
| 4561 | ... | |
| 4562 | 278 | | } |
| 4563 | 279 | | } |
| 4564 | | |_- in this macro invocation |
| 4565 | |
| 4566 | error[E0412]: cannot find type `tm` in this scope |
| 4567 | --> /home/kelvin/repos/libc/src/unix/mod.rs:696:69 |
| 4568 | | |
| 4569 | 696 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; |
| 4570 | | ^^ not found in this scope |
| 4571 | | |
| 4572 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4573 | | |
| 4574 | 266 | / cfg_if! { |
| 4575 | 267 | | if #[cfg(windows)] { |
| 4576 | 268 | | mod windows; |
| 4577 | 269 | | pub use windows::*; |
| 4578 | ... | |
| 4579 | 278 | | } |
| 4580 | 279 | | } |
| 4581 | | |_- in this macro invocation |
| 4582 | |
| 4583 | error[E0412]: cannot find type `time_t` in this scope |
| 4584 | --> /home/kelvin/repos/libc/src/unix/mod.rs:698:39 |
| 4585 | | |
| 4586 | 698 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; |
| 4587 | | ^^^^^^ not found in this scope |
| 4588 | | |
| 4589 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4590 | | |
| 4591 | 266 | / cfg_if! { |
| 4592 | 267 | | if #[cfg(windows)] { |
| 4593 | 268 | | mod windows; |
| 4594 | 269 | | pub use windows::*; |
| 4595 | ... | |
| 4596 | 278 | | } |
| 4597 | 279 | | } |
| 4598 | | |_- in this macro invocation |
| 4599 | | |
| 4600 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4601 | `use core::os::linux::raw::time_t;` |
| 4602 | `use core::os::unix::raw::time_t;` |
| 4603 | |
| 4604 | error[E0412]: cannot find type `tm` in this scope |
| 4605 | --> /home/kelvin/repos/libc/src/unix/mod.rs:698:60 |
| 4606 | | |
| 4607 | 698 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; |
| 4608 | | ^^ not found in this scope |
| 4609 | | |
| 4610 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4611 | | |
| 4612 | 266 | / cfg_if! { |
| 4613 | 267 | | if #[cfg(windows)] { |
| 4614 | 268 | | mod windows; |
| 4615 | 269 | | pub use windows::*; |
| 4616 | ... | |
| 4617 | 278 | | } |
| 4618 | 279 | | } |
| 4619 | | |_- in this macro invocation |
| 4620 | |
| 4621 | error[E0412]: cannot find type `tm` in this scope |
| 4622 | --> /home/kelvin/repos/libc/src/unix/mod.rs:698:72 |
| 4623 | | |
| 4624 | 698 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; |
| 4625 | | ^^ not found in this scope |
| 4626 | | |
| 4627 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4628 | | |
| 4629 | 266 | / cfg_if! { |
| 4630 | 267 | | if #[cfg(windows)] { |
| 4631 | 268 | | mod windows; |
| 4632 | 269 | | pub use windows::*; |
| 4633 | ... | |
| 4634 | 278 | | } |
| 4635 | 279 | | } |
| 4636 | | |_- in this macro invocation |
| 4637 | |
| 4638 | error[E0412]: cannot find type `tm` in this scope |
| 4639 | --> /home/kelvin/repos/libc/src/unix/mod.rs:702:28 |
| 4640 | | |
| 4641 | 702 | pub fn mktime(tm: *mut tm) -> time_t; |
| 4642 | | ^^ not found in this scope |
| 4643 | | |
| 4644 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4645 | | |
| 4646 | 266 | / cfg_if! { |
| 4647 | 267 | | if #[cfg(windows)] { |
| 4648 | 268 | | mod windows; |
| 4649 | 269 | | pub use windows::*; |
| 4650 | ... | |
| 4651 | 278 | | } |
| 4652 | 279 | | } |
| 4653 | | |_- in this macro invocation |
| 4654 | |
| 4655 | error[E0412]: cannot find type `time_t` in this scope |
| 4656 | --> /home/kelvin/repos/libc/src/unix/mod.rs:702:35 |
| 4657 | | |
| 4658 | 702 | pub fn mktime(tm: *mut tm) -> time_t; |
| 4659 | | ^^^^^^ not found in this scope |
| 4660 | | |
| 4661 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4662 | | |
| 4663 | 266 | / cfg_if! { |
| 4664 | 267 | | if #[cfg(windows)] { |
| 4665 | 268 | | mod windows; |
| 4666 | 269 | | pub use windows::*; |
| 4667 | ... | |
| 4668 | 278 | | } |
| 4669 | 279 | | } |
| 4670 | | |_- in this macro invocation |
| 4671 | | |
| 4672 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4673 | `use core::os::linux::raw::time_t;` |
| 4674 | `use core::os::unix::raw::time_t;` |
| 4675 | |
| 4676 | error[E0412]: cannot find type `time_t` in this scope |
| 4677 | --> /home/kelvin/repos/libc/src/unix/mod.rs:704:28 |
| 4678 | | |
| 4679 | 704 | pub fn time(time: *mut time_t) -> time_t; |
| 4680 | | ^^^^^^ not found in this scope |
| 4681 | | |
| 4682 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4683 | | |
| 4684 | 266 | / cfg_if! { |
| 4685 | 267 | | if #[cfg(windows)] { |
| 4686 | 268 | | mod windows; |
| 4687 | 269 | | pub use windows::*; |
| 4688 | ... | |
| 4689 | 278 | | } |
| 4690 | 279 | | } |
| 4691 | | |_- in this macro invocation |
| 4692 | | |
| 4693 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4694 | `use core::os::linux::raw::time_t;` |
| 4695 | `use core::os::unix::raw::time_t;` |
| 4696 | |
| 4697 | error[E0412]: cannot find type `time_t` in this scope |
| 4698 | --> /home/kelvin/repos/libc/src/unix/mod.rs:704:39 |
| 4699 | | |
| 4700 | 704 | pub fn time(time: *mut time_t) -> time_t; |
| 4701 | | ^^^^^^ not found in this scope |
| 4702 | | |
| 4703 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4704 | | |
| 4705 | 266 | / cfg_if! { |
| 4706 | 267 | | if #[cfg(windows)] { |
| 4707 | 268 | | mod windows; |
| 4708 | 269 | | pub use windows::*; |
| 4709 | ... | |
| 4710 | 278 | | } |
| 4711 | 279 | | } |
| 4712 | | |_- in this macro invocation |
| 4713 | | |
| 4714 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4715 | `use core::os::linux::raw::time_t;` |
| 4716 | `use core::os::unix::raw::time_t;` |
| 4717 | |
| 4718 | error[E0412]: cannot find type `time_t` in this scope |
| 4719 | --> /home/kelvin/repos/libc/src/unix/mod.rs:706:35 |
| 4720 | | |
| 4721 | 706 | pub fn localtime(time: *const time_t) -> *mut tm; |
| 4722 | | ^^^^^^ not found in this scope |
| 4723 | | |
| 4724 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4725 | | |
| 4726 | 266 | / cfg_if! { |
| 4727 | 267 | | if #[cfg(windows)] { |
| 4728 | 268 | | mod windows; |
| 4729 | 269 | | pub use windows::*; |
| 4730 | ... | |
| 4731 | 278 | | } |
| 4732 | 279 | | } |
| 4733 | | |_- in this macro invocation |
| 4734 | | |
| 4735 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4736 | `use core::os::linux::raw::time_t;` |
| 4737 | `use core::os::unix::raw::time_t;` |
| 4738 | |
| 4739 | error[E0412]: cannot find type `tm` in this scope |
| 4740 | --> /home/kelvin/repos/libc/src/unix/mod.rs:706:51 |
| 4741 | | |
| 4742 | 706 | pub fn localtime(time: *const time_t) -> *mut tm; |
| 4743 | | ^^ not found in this scope |
| 4744 | | |
| 4745 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4746 | | |
| 4747 | 266 | / cfg_if! { |
| 4748 | 267 | | if #[cfg(windows)] { |
| 4749 | 268 | | mod windows; |
| 4750 | 269 | | pub use windows::*; |
| 4751 | ... | |
| 4752 | 278 | | } |
| 4753 | 279 | | } |
| 4754 | | |_- in this macro invocation |
| 4755 | |
| 4756 | error[E0412]: cannot find type `c_char` in the crate root |
| 4757 | --> /home/kelvin/repos/libc/src/unix/mod.rs:709:37 |
| 4758 | | |
| 4759 | 709 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, |
| 4760 | | ^^^^^^ did you mean `c_schar`? |
| 4761 | | |
| 4762 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4763 | | |
| 4764 | 266 | / cfg_if! { |
| 4765 | 267 | | if #[cfg(windows)] { |
| 4766 | 268 | | mod windows; |
| 4767 | 269 | | pub use windows::*; |
| 4768 | ... | |
| 4769 | 278 | | } |
| 4770 | 279 | | } |
| 4771 | | |_- in this macro invocation |
| 4772 | | |
| 4773 | = help: possible candidate is found in another module, you can import it into scope: |
| 4774 | `use core::os::raw::c_char;` |
| 4775 | |
| 4776 | error[E0412]: cannot find type `mode_t` in the crate root |
| 4777 | --> /home/kelvin/repos/libc/src/unix/mod.rs:709:53 |
| 4778 | | |
| 4779 | 709 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, |
| 4780 | | ^^^^^^ not found in the crate root |
| 4781 | | |
| 4782 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4783 | | |
| 4784 | 266 | / cfg_if! { |
| 4785 | 267 | | if #[cfg(windows)] { |
| 4786 | 268 | | mod windows; |
| 4787 | 269 | | pub use windows::*; |
| 4788 | ... | |
| 4789 | 278 | | } |
| 4790 | 279 | | } |
| 4791 | | |_- in this macro invocation |
| 4792 | | |
| 4793 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4794 | `use core::os::linux::raw::mode_t;` |
| 4795 | `use core::os::unix::raw::mode_t;` |
| 4796 | |
| 4797 | error[E0412]: cannot find type `dev_t` in the crate root |
| 4798 | --> /home/kelvin/repos/libc/src/unix/mod.rs:710:25 |
| 4799 | | |
| 4800 | 710 | dev: ::dev_t) -> ::c_int; |
| 4801 | | ^^^^^ not found in the crate root |
| 4802 | | |
| 4803 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4804 | | |
| 4805 | 266 | / cfg_if! { |
| 4806 | 267 | | if #[cfg(windows)] { |
| 4807 | 268 | | mod windows; |
| 4808 | 269 | | pub use windows::*; |
| 4809 | ... | |
| 4810 | 278 | | } |
| 4811 | 279 | | } |
| 4812 | | |_- in this macro invocation |
| 4813 | | |
| 4814 | = help: possible candidates are found in other modules, you can import them into scope: |
| 4815 | `use core::os::linux::raw::dev_t;` |
| 4816 | `use core::os::unix::raw::dev_t;` |
| 4817 | |
| 4818 | error[E0412]: cannot find type `utsname` in the crate root |
| 4819 | --> /home/kelvin/repos/libc/src/unix/mod.rs:711:30 |
| 4820 | | |
| 4821 | 711 | pub fn uname(buf: *mut ::utsname) -> ::c_int; |
| 4822 | | ^^^^^^^ not found in the crate root |
| 4823 | | |
| 4824 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4825 | | |
| 4826 | 266 | / cfg_if! { |
| 4827 | 267 | | if #[cfg(windows)] { |
| 4828 | 268 | | mod windows; |
| 4829 | 269 | | pub use windows::*; |
| 4830 | ... | |
| 4831 | 278 | | } |
| 4832 | 279 | | } |
| 4833 | | |_- in this macro invocation |
| 4834 | |
| 4835 | error[E0412]: cannot find type `c_char` in the crate root |
| 4836 | --> /home/kelvin/repos/libc/src/unix/mod.rs:713:37 |
| 4837 | | |
| 4838 | 713 | pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int; |
| 4839 | | ^^^^^^ did you mean `c_schar`? |
| 4840 | | |
| 4841 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4842 | | |
| 4843 | 266 | / cfg_if! { |
| 4844 | 267 | | if #[cfg(windows)] { |
| 4845 | 268 | | mod windows; |
| 4846 | 269 | | pub use windows::*; |
| 4847 | ... | |
| 4848 | 278 | | } |
| 4849 | 279 | | } |
| 4850 | | |_- in this macro invocation |
| 4851 | | |
| 4852 | = help: possible candidate is found in another module, you can import it into scope: |
| 4853 | `use core::os::raw::c_char;` |
| 4854 | |
| 4855 | error[E0412]: cannot find type `c_char` in the crate root |
| 4856 | --> /home/kelvin/repos/libc/src/unix/mod.rs:714:34 |
| 4857 | | |
| 4858 | 714 | pub fn chroot(name: *const ::c_char) -> ::c_int; |
| 4859 | | ^^^^^^ did you mean `c_schar`? |
| 4860 | | |
| 4861 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4862 | | |
| 4863 | 266 | / cfg_if! { |
| 4864 | 267 | | if #[cfg(windows)] { |
| 4865 | 268 | | mod windows; |
| 4866 | 269 | | pub use windows::*; |
| 4867 | ... | |
| 4868 | 278 | | } |
| 4869 | 279 | | } |
| 4870 | | |_- in this macro invocation |
| 4871 | | |
| 4872 | = help: possible candidate is found in another module, you can import it into scope: |
| 4873 | `use core::os::raw::c_char;` |
| 4874 | |
| 4875 | error[E0412]: cannot find type `c_char` in this scope |
| 4876 | --> /home/kelvin/repos/libc/src/unix/mod.rs:729:32 |
| 4877 | | |
| 4878 | 729 | pub fn putenv(string: *mut c_char) -> ::c_int; |
| 4879 | | ^^^^^^ did you mean `char`? |
| 4880 | | |
| 4881 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4882 | | |
| 4883 | 266 | / cfg_if! { |
| 4884 | 267 | | if #[cfg(windows)] { |
| 4885 | 268 | | mod windows; |
| 4886 | 269 | | pub use windows::*; |
| 4887 | ... | |
| 4888 | 278 | | } |
| 4889 | 279 | | } |
| 4890 | | |_- in this macro invocation |
| 4891 | | |
| 4892 | = help: possible candidate is found in another module, you can import it into scope: |
| 4893 | `use core::os::raw::c_char;` |
| 4894 | |
| 4895 | error[E0412]: cannot find type `nfds_t` in this scope |
| 4896 | --> /home/kelvin/repos/libc/src/unix/mod.rs:732:41 |
| 4897 | | |
| 4898 | 732 | pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int; |
| 4899 | | ^^^^^^ not found in this scope |
| 4900 | | |
| 4901 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4902 | | |
| 4903 | 266 | / cfg_if! { |
| 4904 | 267 | | if #[cfg(windows)] { |
| 4905 | 268 | | mod windows; |
| 4906 | 269 | | pub use windows::*; |
| 4907 | ... | |
| 4908 | 278 | | } |
| 4909 | 279 | | } |
| 4910 | | |_- in this macro invocation |
| 4911 | |
| 4912 | error[E0412]: cannot find type `fd_set` in this scope |
| 4913 | --> /home/kelvin/repos/libc/src/unix/mod.rs:739:32 |
| 4914 | | |
| 4915 | 739 | readfs: *mut fd_set, |
| 4916 | | ^^^^^^ not found in this scope |
| 4917 | | |
| 4918 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4919 | | |
| 4920 | 266 | / cfg_if! { |
| 4921 | 267 | | if #[cfg(windows)] { |
| 4922 | 268 | | mod windows; |
| 4923 | 269 | | pub use windows::*; |
| 4924 | ... | |
| 4925 | 278 | | } |
| 4926 | 279 | | } |
| 4927 | | |_- in this macro invocation |
| 4928 | |
| 4929 | error[E0412]: cannot find type `fd_set` in this scope |
| 4930 | --> /home/kelvin/repos/libc/src/unix/mod.rs:740:34 |
| 4931 | | |
| 4932 | 740 | writefds: *mut fd_set, |
| 4933 | | ^^^^^^ not found in this scope |
| 4934 | | |
| 4935 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4936 | | |
| 4937 | 266 | / cfg_if! { |
| 4938 | 267 | | if #[cfg(windows)] { |
| 4939 | 268 | | mod windows; |
| 4940 | 269 | | pub use windows::*; |
| 4941 | ... | |
| 4942 | 278 | | } |
| 4943 | 279 | | } |
| 4944 | | |_- in this macro invocation |
| 4945 | |
| 4946 | error[E0412]: cannot find type `fd_set` in this scope |
| 4947 | --> /home/kelvin/repos/libc/src/unix/mod.rs:741:34 |
| 4948 | | |
| 4949 | 741 | errorfds: *mut fd_set, |
| 4950 | | ^^^^^^ not found in this scope |
| 4951 | | |
| 4952 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4953 | | |
| 4954 | 266 | / cfg_if! { |
| 4955 | 267 | | if #[cfg(windows)] { |
| 4956 | 268 | | mod windows; |
| 4957 | 269 | | pub use windows::*; |
| 4958 | ... | |
| 4959 | 278 | | } |
| 4960 | 279 | | } |
| 4961 | | |_- in this macro invocation |
| 4962 | |
| 4963 | error[E0412]: cannot find type `c_char` in the crate root |
| 4964 | --> /home/kelvin/repos/libc/src/unix/mod.rs:745:39 |
| 4965 | | |
| 4966 | 745 | locale: *const ::c_char) -> *mut ::c_char; |
| 4967 | | ^^^^^^ did you mean `c_schar`? |
| 4968 | | |
| 4969 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4970 | | |
| 4971 | 266 | / cfg_if! { |
| 4972 | 267 | | if #[cfg(windows)] { |
| 4973 | 268 | | mod windows; |
| 4974 | 269 | | pub use windows::*; |
| 4975 | ... | |
| 4976 | 278 | | } |
| 4977 | 279 | | } |
| 4978 | | |_- in this macro invocation |
| 4979 | | |
| 4980 | = help: possible candidate is found in another module, you can import it into scope: |
| 4981 | `use core::os::raw::c_char;` |
| 4982 | |
| 4983 | error[E0412]: cannot find type `c_char` in the crate root |
| 4984 | --> /home/kelvin/repos/libc/src/unix/mod.rs:745:57 |
| 4985 | | |
| 4986 | 745 | locale: *const ::c_char) -> *mut ::c_char; |
| 4987 | | ^^^^^^ did you mean `c_schar`? |
| 4988 | | |
| 4989 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 4990 | | |
| 4991 | 266 | / cfg_if! { |
| 4992 | 267 | | if #[cfg(windows)] { |
| 4993 | 268 | | mod windows; |
| 4994 | 269 | | pub use windows::*; |
| 4995 | ... | |
| 4996 | 278 | | } |
| 4997 | 279 | | } |
| 4998 | | |_- in this macro invocation |
| 4999 | | |
| 5000 | = help: possible candidate is found in another module, you can import it into scope: |
| 5001 | `use core::os::raw::c_char;` |
| 5002 | |
| 5003 | error[E0412]: cannot find type `lconv` in this scope |
| 5004 | --> /home/kelvin/repos/libc/src/unix/mod.rs:746:33 |
| 5005 | | |
| 5006 | 746 | pub fn localeconv() -> *mut lconv; |
| 5007 | | ^^^^^ not found in this scope |
| 5008 | | |
| 5009 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5010 | | |
| 5011 | 266 | / cfg_if! { |
| 5012 | 267 | | if #[cfg(windows)] { |
| 5013 | 268 | | mod windows; |
| 5014 | 269 | | pub use windows::*; |
| 5015 | ... | |
| 5016 | 278 | | } |
| 5017 | 279 | | } |
| 5018 | | |_- in this macro invocation |
| 5019 | |
| 5020 | error[E0412]: cannot find type `sem_t` in this scope |
| 5021 | --> /home/kelvin/repos/libc/src/unix/mod.rs:748:34 |
| 5022 | | |
| 5023 | 748 | pub fn sem_destroy(sem: *mut sem_t) -> ::c_int; |
| 5024 | | ^^^^^ not found in this scope |
| 5025 | | |
| 5026 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5027 | | |
| 5028 | 266 | / cfg_if! { |
| 5029 | 267 | | if #[cfg(windows)] { |
| 5030 | 268 | | mod windows; |
| 5031 | 269 | | pub use windows::*; |
| 5032 | ... | |
| 5033 | 278 | | } |
| 5034 | 279 | | } |
| 5035 | | |_- in this macro invocation |
| 5036 | |
| 5037 | error[E0412]: cannot find type `c_char` in the crate root |
| 5038 | --> /home/kelvin/repos/libc/src/unix/mod.rs:749:36 |
| 5039 | | |
| 5040 | 749 | pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t; |
| 5041 | | ^^^^^^ did you mean `c_schar`? |
| 5042 | | |
| 5043 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5044 | | |
| 5045 | 266 | / cfg_if! { |
| 5046 | 267 | | if #[cfg(windows)] { |
| 5047 | 268 | | mod windows; |
| 5048 | 269 | | pub use windows::*; |
| 5049 | ... | |
| 5050 | 278 | | } |
| 5051 | 279 | | } |
| 5052 | | |_- in this macro invocation |
| 5053 | | |
| 5054 | = help: possible candidate is found in another module, you can import it into scope: |
| 5055 | `use core::os::raw::c_char;` |
| 5056 | |
| 5057 | error[E0412]: cannot find type `sem_t` in this scope |
| 5058 | --> /home/kelvin/repos/libc/src/unix/mod.rs:749:73 |
| 5059 | | |
| 5060 | 749 | pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t; |
| 5061 | | ^^^^^ not found in this scope |
| 5062 | | |
| 5063 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5064 | | |
| 5065 | 266 | / cfg_if! { |
| 5066 | 267 | | if #[cfg(windows)] { |
| 5067 | 268 | | mod windows; |
| 5068 | 269 | | pub use windows::*; |
| 5069 | ... | |
| 5070 | 278 | | } |
| 5071 | 279 | | } |
| 5072 | | |_- in this macro invocation |
| 5073 | |
| 5074 | error[E0412]: cannot find type `sem_t` in this scope |
| 5075 | --> /home/kelvin/repos/libc/src/unix/mod.rs:750:32 |
| 5076 | | |
| 5077 | 750 | pub fn sem_close(sem: *mut sem_t) -> ::c_int; |
| 5078 | | ^^^^^ not found in this scope |
| 5079 | | |
| 5080 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5081 | | |
| 5082 | 266 | / cfg_if! { |
| 5083 | 267 | | if #[cfg(windows)] { |
| 5084 | 268 | | mod windows; |
| 5085 | 269 | | pub use windows::*; |
| 5086 | ... | |
| 5087 | 278 | | } |
| 5088 | 279 | | } |
| 5089 | | |_- in this macro invocation |
| 5090 | |
| 5091 | error[E0412]: cannot find type `c_char` in the crate root |
| 5092 | --> /home/kelvin/repos/libc/src/unix/mod.rs:751:38 |
| 5093 | | |
| 5094 | 751 | pub fn sem_unlink(name: *const ::c_char) -> ::c_int; |
| 5095 | | ^^^^^^ did you mean `c_schar`? |
| 5096 | | |
| 5097 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5098 | | |
| 5099 | 266 | / cfg_if! { |
| 5100 | 267 | | if #[cfg(windows)] { |
| 5101 | 268 | | mod windows; |
| 5102 | 269 | | pub use windows::*; |
| 5103 | ... | |
| 5104 | 278 | | } |
| 5105 | 279 | | } |
| 5106 | | |_- in this macro invocation |
| 5107 | | |
| 5108 | = help: possible candidate is found in another module, you can import it into scope: |
| 5109 | `use core::os::raw::c_char;` |
| 5110 | |
| 5111 | error[E0412]: cannot find type `sem_t` in this scope |
| 5112 | --> /home/kelvin/repos/libc/src/unix/mod.rs:754:31 |
| 5113 | | |
| 5114 | 754 | pub fn sem_wait(sem: *mut sem_t) -> ::c_int; |
| 5115 | | ^^^^^ not found in this scope |
| 5116 | | |
| 5117 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5118 | | |
| 5119 | 266 | / cfg_if! { |
| 5120 | 267 | | if #[cfg(windows)] { |
| 5121 | 268 | | mod windows; |
| 5122 | 269 | | pub use windows::*; |
| 5123 | ... | |
| 5124 | 278 | | } |
| 5125 | 279 | | } |
| 5126 | | |_- in this macro invocation |
| 5127 | |
| 5128 | error[E0412]: cannot find type `sem_t` in this scope |
| 5129 | --> /home/kelvin/repos/libc/src/unix/mod.rs:755:34 |
| 5130 | | |
| 5131 | 755 | pub fn sem_trywait(sem: *mut sem_t) -> ::c_int; |
| 5132 | | ^^^^^ not found in this scope |
| 5133 | | |
| 5134 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5135 | | |
| 5136 | 266 | / cfg_if! { |
| 5137 | 267 | | if #[cfg(windows)] { |
| 5138 | 268 | | mod windows; |
| 5139 | 269 | | pub use windows::*; |
| 5140 | ... | |
| 5141 | 278 | | } |
| 5142 | 279 | | } |
| 5143 | | |_- in this macro invocation |
| 5144 | |
| 5145 | error[E0412]: cannot find type `sem_t` in this scope |
| 5146 | --> /home/kelvin/repos/libc/src/unix/mod.rs:756:31 |
| 5147 | | |
| 5148 | 756 | pub fn sem_post(sem: *mut sem_t) -> ::c_int; |
| 5149 | | ^^^^^ not found in this scope |
| 5150 | | |
| 5151 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5152 | | |
| 5153 | 266 | / cfg_if! { |
| 5154 | 267 | | if #[cfg(windows)] { |
| 5155 | 268 | | mod windows; |
| 5156 | 269 | | pub use windows::*; |
| 5157 | ... | |
| 5158 | 278 | | } |
| 5159 | 279 | | } |
| 5160 | | |_- in this macro invocation |
| 5161 | |
| 5162 | error[E0412]: cannot find type `sem_t` in this scope |
| 5163 | --> /home/kelvin/repos/libc/src/unix/mod.rs:757:31 |
| 5164 | | |
| 5165 | 757 | pub fn sem_init(sem: *mut sem_t, |
| 5166 | | ^^^^^ not found in this scope |
| 5167 | | |
| 5168 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5169 | | |
| 5170 | 266 | / cfg_if! { |
| 5171 | 267 | | if #[cfg(windows)] { |
| 5172 | 268 | | mod windows; |
| 5173 | 269 | | pub use windows::*; |
| 5174 | ... | |
| 5175 | 278 | | } |
| 5176 | 279 | | } |
| 5177 | | |_- in this macro invocation |
| 5178 | |
| 5179 | error[E0412]: cannot find type `c_char` in this scope |
| 5180 | --> /home/kelvin/repos/libc/src/unix/mod.rs:761:33 |
| 5181 | | |
| 5182 | 761 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int; |
| 5183 | | ^^^^^^ did you mean `char`? |
| 5184 | | |
| 5185 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5186 | | |
| 5187 | 266 | / cfg_if! { |
| 5188 | 267 | | if #[cfg(windows)] { |
| 5189 | 268 | | mod windows; |
| 5190 | 269 | | pub use windows::*; |
| 5191 | ... | |
| 5192 | 278 | | } |
| 5193 | 279 | | } |
| 5194 | | |_- in this macro invocation |
| 5195 | | |
| 5196 | = help: possible candidate is found in another module, you can import it into scope: |
| 5197 | `use core::os::raw::c_char;` |
| 5198 | |
| 5199 | error[E0573]: expected type, found function `statvfs` |
| 5200 | --> /home/kelvin/repos/libc/src/unix/mod.rs:761:51 |
| 5201 | | |
| 5202 | 761 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int; |
| 5203 | | ^^^^^^^ not a type |
| 5204 | | |
| 5205 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5206 | | |
| 5207 | 266 | / cfg_if! { |
| 5208 | 267 | | if #[cfg(windows)] { |
| 5209 | 268 | | mod windows; |
| 5210 | 269 | | pub use windows::*; |
| 5211 | ... | |
| 5212 | 278 | | } |
| 5213 | 279 | | } |
| 5214 | | |_- in this macro invocation |
| 5215 | |
| 5216 | error[E0573]: expected type, found function `statvfs` |
| 5217 | --> /home/kelvin/repos/libc/src/unix/mod.rs:762:44 |
| 5218 | | |
| 5219 | 762 | pub fn fstatvfs(fd: ::c_int, buf: *mut statvfs) -> ::c_int; |
| 5220 | | ^^^^^^^ not a type |
| 5221 | | |
| 5222 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5223 | | |
| 5224 | 266 | / cfg_if! { |
| 5225 | 267 | | if #[cfg(windows)] { |
| 5226 | 268 | | mod windows; |
| 5227 | 269 | | pub use windows::*; |
| 5228 | ... | |
| 5229 | 278 | | } |
| 5230 | 279 | | } |
| 5231 | | |_- in this macro invocation |
| 5232 | |
| 5233 | error[E0412]: cannot find type `c_char` in this scope |
| 5234 | --> /home/kelvin/repos/libc/src/unix/mod.rs:764:34 |
| 5235 | | |
| 5236 | 764 | pub fn readlink(path: *const c_char, |
| 5237 | | ^^^^^^ did you mean `char`? |
| 5238 | | |
| 5239 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5240 | | |
| 5241 | 266 | / cfg_if! { |
| 5242 | 267 | | if #[cfg(windows)] { |
| 5243 | 268 | | mod windows; |
| 5244 | 269 | | pub use windows::*; |
| 5245 | ... | |
| 5246 | 278 | | } |
| 5247 | 279 | | } |
| 5248 | | |_- in this macro invocation |
| 5249 | | |
| 5250 | = help: possible candidate is found in another module, you can import it into scope: |
| 5251 | `use core::os::raw::c_char;` |
| 5252 | |
| 5253 | error[E0412]: cannot find type `c_char` in this scope |
| 5254 | --> /home/kelvin/repos/libc/src/unix/mod.rs:765:31 |
| 5255 | | |
| 5256 | 765 | buf: *mut c_char, |
| 5257 | | ^^^^^^ did you mean `char`? |
| 5258 | | |
| 5259 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5260 | | |
| 5261 | 266 | / cfg_if! { |
| 5262 | 267 | | if #[cfg(windows)] { |
| 5263 | 268 | | mod windows; |
| 5264 | 269 | | pub use windows::*; |
| 5265 | ... | |
| 5266 | 278 | | } |
| 5267 | 279 | | } |
| 5268 | | |_- in this macro invocation |
| 5269 | | |
| 5270 | = help: possible candidate is found in another module, you can import it into scope: |
| 5271 | `use core::os::raw::c_char;` |
| 5272 | |
| 5273 | error[E0412]: cannot find type `sigset_t` in this scope |
| 5274 | --> /home/kelvin/repos/libc/src/unix/mod.rs:770:34 |
| 5275 | | |
| 5276 | 770 | pub fn sigemptyset(set: *mut sigset_t) -> ::c_int; |
| 5277 | | ^^^^^^^^ not found in this scope |
| 5278 | | |
| 5279 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5280 | | |
| 5281 | 266 | / cfg_if! { |
| 5282 | 267 | | if #[cfg(windows)] { |
| 5283 | 268 | | mod windows; |
| 5284 | 269 | | pub use windows::*; |
| 5285 | ... | |
| 5286 | 278 | | } |
| 5287 | 279 | | } |
| 5288 | | |_- in this macro invocation |
| 5289 | |
| 5290 | error[E0412]: cannot find type `sigset_t` in this scope |
| 5291 | --> /home/kelvin/repos/libc/src/unix/mod.rs:772:32 |
| 5292 | | |
| 5293 | 772 | pub fn sigaddset(set: *mut sigset_t, signum: ::c_int) -> ::c_int; |
| 5294 | | ^^^^^^^^ not found in this scope |
| 5295 | | |
| 5296 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5297 | | |
| 5298 | 266 | / cfg_if! { |
| 5299 | 267 | | if #[cfg(windows)] { |
| 5300 | 268 | | mod windows; |
| 5301 | 269 | | pub use windows::*; |
| 5302 | ... | |
| 5303 | 278 | | } |
| 5304 | 279 | | } |
| 5305 | | |_- in this macro invocation |
| 5306 | |
| 5307 | error[E0412]: cannot find type `sigset_t` in this scope |
| 5308 | --> /home/kelvin/repos/libc/src/unix/mod.rs:774:33 |
| 5309 | | |
| 5310 | 774 | pub fn sigfillset(set: *mut sigset_t) -> ::c_int; |
| 5311 | | ^^^^^^^^ not found in this scope |
| 5312 | | |
| 5313 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5314 | | |
| 5315 | 266 | / cfg_if! { |
| 5316 | 267 | | if #[cfg(windows)] { |
| 5317 | 268 | | mod windows; |
| 5318 | 269 | | pub use windows::*; |
| 5319 | ... | |
| 5320 | 278 | | } |
| 5321 | 279 | | } |
| 5322 | | |_- in this macro invocation |
| 5323 | |
| 5324 | error[E0412]: cannot find type `sigset_t` in this scope |
| 5325 | --> /home/kelvin/repos/libc/src/unix/mod.rs:776:32 |
| 5326 | | |
| 5327 | 776 | pub fn sigdelset(set: *mut sigset_t, signum: ::c_int) -> ::c_int; |
| 5328 | | ^^^^^^^^ not found in this scope |
| 5329 | | |
| 5330 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5331 | | |
| 5332 | 266 | / cfg_if! { |
| 5333 | 267 | | if #[cfg(windows)] { |
| 5334 | 268 | | mod windows; |
| 5335 | 269 | | pub use windows::*; |
| 5336 | ... | |
| 5337 | 278 | | } |
| 5338 | 279 | | } |
| 5339 | | |_- in this macro invocation |
| 5340 | |
| 5341 | error[E0412]: cannot find type `sigset_t` in this scope |
| 5342 | --> /home/kelvin/repos/libc/src/unix/mod.rs:778:36 |
| 5343 | | |
| 5344 | 778 | pub fn sigismember(set: *const sigset_t, signum: ::c_int) -> ::c_int; |
| 5345 | | ^^^^^^^^ not found in this scope |
| 5346 | | |
| 5347 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5348 | | |
| 5349 | 266 | / cfg_if! { |
| 5350 | 267 | | if #[cfg(windows)] { |
| 5351 | 268 | | mod windows; |
| 5352 | 269 | | pub use windows::*; |
| 5353 | ... | |
| 5354 | 278 | | } |
| 5355 | 279 | | } |
| 5356 | | |_- in this macro invocation |
| 5357 | |
| 5358 | error[E0412]: cannot find type `tm` in the crate root |
| 5359 | --> /home/kelvin/repos/libc/src/unix/mod.rs:781:30 |
| 5360 | | |
| 5361 | 781 | pub fn timegm(tm: *mut ::tm) -> time_t; |
| 5362 | | ^^ not found in the crate root |
| 5363 | | |
| 5364 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5365 | | |
| 5366 | 266 | / cfg_if! { |
| 5367 | 267 | | if #[cfg(windows)] { |
| 5368 | 268 | | mod windows; |
| 5369 | 269 | | pub use windows::*; |
| 5370 | ... | |
| 5371 | 278 | | } |
| 5372 | 279 | | } |
| 5373 | | |_- in this macro invocation |
| 5374 | |
| 5375 | error[E0412]: cannot find type `time_t` in this scope |
| 5376 | --> /home/kelvin/repos/libc/src/unix/mod.rs:781:37 |
| 5377 | | |
| 5378 | 781 | pub fn timegm(tm: *mut ::tm) -> time_t; |
| 5379 | | ^^^^^^ not found in this scope |
| 5380 | | |
| 5381 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5382 | | |
| 5383 | 266 | / cfg_if! { |
| 5384 | 267 | | if #[cfg(windows)] { |
| 5385 | 268 | | mod windows; |
| 5386 | 269 | | pub use windows::*; |
| 5387 | ... | |
| 5388 | 278 | | } |
| 5389 | 279 | | } |
| 5390 | | |_- in this macro invocation |
| 5391 | | |
| 5392 | = help: possible candidates are found in other modules, you can import them into scope: |
| 5393 | `use core::os::linux::raw::time_t;` |
| 5394 | `use core::os::unix::raw::time_t;` |
| 5395 | |
| 5396 | error[E0412]: cannot find type `c_long` in the crate root |
| 5397 | --> /home/kelvin/repos/libc/src/unix/mod.rs:785:40 |
| 5398 | | |
| 5399 | 785 | pub fn sysconf(name: ::c_int) -> ::c_long; |
| 5400 | | ^^^^^^ not found in the crate root |
| 5401 | | |
| 5402 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5403 | | |
| 5404 | 266 | / cfg_if! { |
| 5405 | 267 | | if #[cfg(windows)] { |
| 5406 | 268 | | mod windows; |
| 5407 | 269 | | pub use windows::*; |
| 5408 | ... | |
| 5409 | 278 | | } |
| 5410 | 279 | | } |
| 5411 | | |_- in this macro invocation |
| 5412 | | |
| 5413 | = help: possible candidate is found in another module, you can import it into scope: |
| 5414 | `use core::os::raw::c_long;` |
| 5415 | |
| 5416 | error[E0412]: cannot find type `c_char` in this scope |
| 5417 | --> /home/kelvin/repos/libc/src/unix/mod.rs:787:32 |
| 5418 | | |
| 5419 | 787 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int; |
| 5420 | | ^^^^^^ did you mean `char`? |
| 5421 | | |
| 5422 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5423 | | |
| 5424 | 266 | / cfg_if! { |
| 5425 | 267 | | if #[cfg(windows)] { |
| 5426 | 268 | | mod windows; |
| 5427 | 269 | | pub use windows::*; |
| 5428 | ... | |
| 5429 | 278 | | } |
| 5430 | 279 | | } |
| 5431 | | |_- in this macro invocation |
| 5432 | | |
| 5433 | = help: possible candidate is found in another module, you can import it into scope: |
| 5434 | `use core::os::raw::c_char;` |
| 5435 | |
| 5436 | error[E0412]: cannot find type `mode_t` in this scope |
| 5437 | --> /home/kelvin/repos/libc/src/unix/mod.rs:787:46 |
| 5438 | | |
| 5439 | 787 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int; |
| 5440 | | ^^^^^^ not found in this scope |
| 5441 | | |
| 5442 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5443 | | |
| 5444 | 266 | / cfg_if! { |
| 5445 | 267 | | if #[cfg(windows)] { |
| 5446 | 268 | | mod windows; |
| 5447 | 269 | | pub use windows::*; |
| 5448 | ... | |
| 5449 | 278 | | } |
| 5450 | 279 | | } |
| 5451 | | |_- in this macro invocation |
| 5452 | | |
| 5453 | = help: possible candidates are found in other modules, you can import them into scope: |
| 5454 | `use core::os::linux::raw::mode_t;` |
| 5455 | `use core::os::unix::raw::mode_t;` |
| 5456 | |
| 5457 | error[E0412]: cannot find type `fd_set` in this scope |
| 5458 | --> /home/kelvin/repos/libc/src/unix/mod.rs:795:33 |
| 5459 | | |
| 5460 | 795 | readfs: *mut fd_set, |
| 5461 | | ^^^^^^ not found in this scope |
| 5462 | | |
| 5463 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5464 | | |
| 5465 | 266 | / cfg_if! { |
| 5466 | 267 | | if #[cfg(windows)] { |
| 5467 | 268 | | mod windows; |
| 5468 | 269 | | pub use windows::*; |
| 5469 | ... | |
| 5470 | 278 | | } |
| 5471 | 279 | | } |
| 5472 | | |_- in this macro invocation |
| 5473 | |
| 5474 | error[E0412]: cannot find type `fd_set` in this scope |
| 5475 | --> /home/kelvin/repos/libc/src/unix/mod.rs:796:35 |
| 5476 | | |
| 5477 | 796 | writefds: *mut fd_set, |
| 5478 | | ^^^^^^ not found in this scope |
| 5479 | | |
| 5480 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5481 | | |
| 5482 | 266 | / cfg_if! { |
| 5483 | 267 | | if #[cfg(windows)] { |
| 5484 | 268 | | mod windows; |
| 5485 | 269 | | pub use windows::*; |
| 5486 | ... | |
| 5487 | 278 | | } |
| 5488 | 279 | | } |
| 5489 | | |_- in this macro invocation |
| 5490 | |
| 5491 | error[E0412]: cannot find type `fd_set` in this scope |
| 5492 | --> /home/kelvin/repos/libc/src/unix/mod.rs:797:35 |
| 5493 | | |
| 5494 | 797 | errorfds: *mut fd_set, |
| 5495 | | ^^^^^^ not found in this scope |
| 5496 | | |
| 5497 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5498 | | |
| 5499 | 266 | / cfg_if! { |
| 5500 | 267 | | if #[cfg(windows)] { |
| 5501 | 268 | | mod windows; |
| 5502 | 269 | | pub use windows::*; |
| 5503 | ... | |
| 5504 | 278 | | } |
| 5505 | 279 | | } |
| 5506 | | |_- in this macro invocation |
| 5507 | |
| 5508 | error[E0412]: cannot find type `sigset_t` in this scope |
| 5509 | --> /home/kelvin/repos/libc/src/unix/mod.rs:799:36 |
| 5510 | | |
| 5511 | 799 | sigmask: *const sigset_t) -> ::c_int; |
| 5512 | | ^^^^^^^^ not found in this scope |
| 5513 | | |
| 5514 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5515 | | |
| 5516 | 266 | / cfg_if! { |
| 5517 | 267 | | if #[cfg(windows)] { |
| 5518 | 268 | | mod windows; |
| 5519 | 269 | | pub use windows::*; |
| 5520 | ... | |
| 5521 | 278 | | } |
| 5522 | 279 | | } |
| 5523 | | |_- in this macro invocation |
| 5524 | |
| 5525 | error[E0412]: cannot find type `off_t` in the crate root |
| 5526 | --> /home/kelvin/repos/libc/src/unix/mod.rs:801:29 |
| 5527 | | |
| 5528 | 801 | offset: ::off_t, |
| 5529 | | ^^^^^ not found in the crate root |
| 5530 | | |
| 5531 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5532 | | |
| 5533 | 266 | / cfg_if! { |
| 5534 | 267 | | if #[cfg(windows)] { |
| 5535 | 268 | | mod windows; |
| 5536 | 269 | | pub use windows::*; |
| 5537 | ... | |
| 5538 | 278 | | } |
| 5539 | 279 | | } |
| 5540 | | |_- in this macro invocation |
| 5541 | | |
| 5542 | = help: possible candidates are found in other modules, you can import them into scope: |
| 5543 | `use core::os::linux::raw::off_t;` |
| 5544 | `use core::os::unix::raw::off_t;` |
| 5545 | |
| 5546 | error[E0412]: cannot find type `off_t` in the crate root |
| 5547 | --> /home/kelvin/repos/libc/src/unix/mod.rs:803:45 |
| 5548 | | |
| 5549 | 803 | pub fn ftello(stream: *mut ::FILE) -> ::off_t; |
| 5550 | | ^^^^^ not found in the crate root |
| 5551 | | |
| 5552 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5553 | | |
| 5554 | 266 | / cfg_if! { |
| 5555 | 267 | | if #[cfg(windows)] { |
| 5556 | 268 | | mod windows; |
| 5557 | 269 | | pub use windows::*; |
| 5558 | ... | |
| 5559 | 278 | | } |
| 5560 | 279 | | } |
| 5561 | | |_- in this macro invocation |
| 5562 | | |
| 5563 | = help: possible candidates are found in other modules, you can import them into scope: |
| 5564 | `use core::os::linux::raw::off_t;` |
| 5565 | `use core::os::unix::raw::off_t;` |
| 5566 | |
| 5567 | error[E0412]: cannot find type `termios` in the crate root |
| 5568 | --> /home/kelvin/repos/libc/src/unix/mod.rs:807:42 |
| 5569 | | |
| 5570 | 807 | pub fn cfgetispeed(termios: *const ::termios) -> ::speed_t; |
| 5571 | | ^^^^^^^ not found in the crate root |
| 5572 | | |
| 5573 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5574 | | |
| 5575 | 266 | / cfg_if! { |
| 5576 | 267 | | if #[cfg(windows)] { |
| 5577 | 268 | | mod windows; |
| 5578 | 269 | | pub use windows::*; |
| 5579 | ... | |
| 5580 | 278 | | } |
| 5581 | 279 | | } |
| 5582 | | |_- in this macro invocation |
| 5583 | |
| 5584 | error[E0412]: cannot find type `speed_t` in the crate root |
| 5585 | --> /home/kelvin/repos/libc/src/unix/mod.rs:807:56 |
| 5586 | | |
| 5587 | 807 | pub fn cfgetispeed(termios: *const ::termios) -> ::speed_t; |
| 5588 | | ^^^^^^^ not found in the crate root |
| 5589 | | |
| 5590 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5591 | | |
| 5592 | 266 | / cfg_if! { |
| 5593 | 267 | | if #[cfg(windows)] { |
| 5594 | 268 | | mod windows; |
| 5595 | 269 | | pub use windows::*; |
| 5596 | ... | |
| 5597 | 278 | | } |
| 5598 | 279 | | } |
| 5599 | | |_- in this macro invocation |
| 5600 | |
| 5601 | error[E0412]: cannot find type `termios` in the crate root |
| 5602 | --> /home/kelvin/repos/libc/src/unix/mod.rs:808:42 |
| 5603 | | |
| 5604 | 808 | pub fn cfgetospeed(termios: *const ::termios) -> ::speed_t; |
| 5605 | | ^^^^^^^ not found in the crate root |
| 5606 | | |
| 5607 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5608 | | |
| 5609 | 266 | / cfg_if! { |
| 5610 | 267 | | if #[cfg(windows)] { |
| 5611 | 268 | | mod windows; |
| 5612 | 269 | | pub use windows::*; |
| 5613 | ... | |
| 5614 | 278 | | } |
| 5615 | 279 | | } |
| 5616 | | |_- in this macro invocation |
| 5617 | |
| 5618 | error[E0412]: cannot find type `speed_t` in the crate root |
| 5619 | --> /home/kelvin/repos/libc/src/unix/mod.rs:808:56 |
| 5620 | | |
| 5621 | 808 | pub fn cfgetospeed(termios: *const ::termios) -> ::speed_t; |
| 5622 | | ^^^^^^^ not found in the crate root |
| 5623 | | |
| 5624 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5625 | | |
| 5626 | 266 | / cfg_if! { |
| 5627 | 267 | | if #[cfg(windows)] { |
| 5628 | 268 | | mod windows; |
| 5629 | 269 | | pub use windows::*; |
| 5630 | ... | |
| 5631 | 278 | | } |
| 5632 | 279 | | } |
| 5633 | | |_- in this macro invocation |
| 5634 | |
| 5635 | error[E0412]: cannot find type `termios` in the crate root |
| 5636 | --> /home/kelvin/repos/libc/src/unix/mod.rs:809:38 |
| 5637 | | |
| 5638 | 809 | pub fn cfmakeraw(termios: *mut ::termios); |
| 5639 | | ^^^^^^^ not found in the crate root |
| 5640 | | |
| 5641 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5642 | | |
| 5643 | 266 | / cfg_if! { |
| 5644 | 267 | | if #[cfg(windows)] { |
| 5645 | 268 | | mod windows; |
| 5646 | 269 | | pub use windows::*; |
| 5647 | ... | |
| 5648 | 278 | | } |
| 5649 | 279 | | } |
| 5650 | | |_- in this macro invocation |
| 5651 | |
| 5652 | error[E0412]: cannot find type `termios` in the crate root |
| 5653 | --> /home/kelvin/repos/libc/src/unix/mod.rs:810:40 |
| 5654 | | |
| 5655 | 810 | pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; |
| 5656 | | ^^^^^^^ not found in the crate root |
| 5657 | | |
| 5658 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5659 | | |
| 5660 | 266 | / cfg_if! { |
| 5661 | 267 | | if #[cfg(windows)] { |
| 5662 | 268 | | mod windows; |
| 5663 | 269 | | pub use windows::*; |
| 5664 | ... | |
| 5665 | 278 | | } |
| 5666 | 279 | | } |
| 5667 | | |_- in this macro invocation |
| 5668 | |
| 5669 | error[E0412]: cannot find type `speed_t` in the crate root |
| 5670 | --> /home/kelvin/repos/libc/src/unix/mod.rs:810:58 |
| 5671 | | |
| 5672 | 810 | pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; |
| 5673 | | ^^^^^^^ not found in the crate root |
| 5674 | | |
| 5675 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5676 | | |
| 5677 | 266 | / cfg_if! { |
| 5678 | 267 | | if #[cfg(windows)] { |
| 5679 | 268 | | mod windows; |
| 5680 | 269 | | pub use windows::*; |
| 5681 | ... | |
| 5682 | 278 | | } |
| 5683 | 279 | | } |
| 5684 | | |_- in this macro invocation |
| 5685 | |
| 5686 | error[E0412]: cannot find type `termios` in the crate root |
| 5687 | --> /home/kelvin/repos/libc/src/unix/mod.rs:811:40 |
| 5688 | | |
| 5689 | 811 | pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; |
| 5690 | | ^^^^^^^ not found in the crate root |
| 5691 | | |
| 5692 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5693 | | |
| 5694 | 266 | / cfg_if! { |
| 5695 | 267 | | if #[cfg(windows)] { |
| 5696 | 268 | | mod windows; |
| 5697 | 269 | | pub use windows::*; |
| 5698 | ... | |
| 5699 | 278 | | } |
| 5700 | 279 | | } |
| 5701 | | |_- in this macro invocation |
| 5702 | |
| 5703 | error[E0412]: cannot find type `speed_t` in the crate root |
| 5704 | --> /home/kelvin/repos/libc/src/unix/mod.rs:811:58 |
| 5705 | | |
| 5706 | 811 | pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; |
| 5707 | | ^^^^^^^ not found in the crate root |
| 5708 | | |
| 5709 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5710 | | |
| 5711 | 266 | / cfg_if! { |
| 5712 | 267 | | if #[cfg(windows)] { |
| 5713 | 268 | | mod windows; |
| 5714 | 269 | | pub use windows::*; |
| 5715 | ... | |
| 5716 | 278 | | } |
| 5717 | 279 | | } |
| 5718 | | |_- in this macro invocation |
| 5719 | |
| 5720 | error[E0412]: cannot find type `termios` in the crate root |
| 5721 | --> /home/kelvin/repos/libc/src/unix/mod.rs:812:39 |
| 5722 | | |
| 5723 | 812 | pub fn cfsetspeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; |
| 5724 | | ^^^^^^^ not found in the crate root |
| 5725 | | |
| 5726 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5727 | | |
| 5728 | 266 | / cfg_if! { |
| 5729 | 267 | | if #[cfg(windows)] { |
| 5730 | 268 | | mod windows; |
| 5731 | 269 | | pub use windows::*; |
| 5732 | ... | |
| 5733 | 278 | | } |
| 5734 | 279 | | } |
| 5735 | | |_- in this macro invocation |
| 5736 | |
| 5737 | error[E0412]: cannot find type `speed_t` in the crate root |
| 5738 | --> /home/kelvin/repos/libc/src/unix/mod.rs:812:57 |
| 5739 | | |
| 5740 | 812 | pub fn cfsetspeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; |
| 5741 | | ^^^^^^^ not found in the crate root |
| 5742 | | |
| 5743 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5744 | | |
| 5745 | 266 | / cfg_if! { |
| 5746 | 267 | | if #[cfg(windows)] { |
| 5747 | 268 | | mod windows; |
| 5748 | 269 | | pub use windows::*; |
| 5749 | ... | |
| 5750 | 278 | | } |
| 5751 | 279 | | } |
| 5752 | | |_- in this macro invocation |
| 5753 | |
| 5754 | error[E0412]: cannot find type `termios` in the crate root |
| 5755 | --> /home/kelvin/repos/libc/src/unix/mod.rs:813:51 |
| 5756 | | |
| 5757 | 813 | pub fn tcgetattr(fd: ::c_int, termios: *mut ::termios) -> ::c_int; |
| 5758 | | ^^^^^^^ not found in the crate root |
| 5759 | | |
| 5760 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5761 | | |
| 5762 | 266 | / cfg_if! { |
| 5763 | 267 | | if #[cfg(windows)] { |
| 5764 | 268 | | mod windows; |
| 5765 | 269 | | pub use windows::*; |
| 5766 | ... | |
| 5767 | 278 | | } |
| 5768 | 279 | | } |
| 5769 | | |_- in this macro invocation |
| 5770 | |
| 5771 | error[E0412]: cannot find type `termios` in the crate root |
| 5772 | --> /home/kelvin/repos/libc/src/unix/mod.rs:816:40 |
| 5773 | | |
| 5774 | 816 | termios: *const ::termios) -> ::c_int; |
| 5775 | | ^^^^^^^ not found in the crate root |
| 5776 | | |
| 5777 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5778 | | |
| 5779 | 266 | / cfg_if! { |
| 5780 | 267 | | if #[cfg(windows)] { |
| 5781 | 268 | | mod windows; |
| 5782 | 269 | | pub use windows::*; |
| 5783 | ... | |
| 5784 | 278 | | } |
| 5785 | 279 | | } |
| 5786 | | |_- in this macro invocation |
| 5787 | |
| 5788 | error[E0412]: cannot find type `c_char` in the crate root |
| 5789 | --> /home/kelvin/repos/libc/src/unix/mod.rs:820:37 |
| 5790 | | |
| 5791 | 820 | pub fn mkstemp(template: *mut ::c_char) -> ::c_int; |
| 5792 | | ^^^^^^ did you mean `c_schar`? |
| 5793 | | |
| 5794 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5795 | | |
| 5796 | 266 | / cfg_if! { |
| 5797 | 267 | | if #[cfg(windows)] { |
| 5798 | 268 | | mod windows; |
| 5799 | 269 | | pub use windows::*; |
| 5800 | ... | |
| 5801 | 278 | | } |
| 5802 | 279 | | } |
| 5803 | | |_- in this macro invocation |
| 5804 | | |
| 5805 | = help: possible candidate is found in another module, you can import it into scope: |
| 5806 | `use core::os::raw::c_char;` |
| 5807 | |
| 5808 | error[E0412]: cannot find type `c_char` in the crate root |
| 5809 | --> /home/kelvin/repos/libc/src/unix/mod.rs:821:37 |
| 5810 | | |
| 5811 | 821 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; |
| 5812 | | ^^^^^^ did you mean `c_schar`? |
| 5813 | | |
| 5814 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5815 | | |
| 5816 | 266 | / cfg_if! { |
| 5817 | 267 | | if #[cfg(windows)] { |
| 5818 | 268 | | mod windows; |
| 5819 | 269 | | pub use windows::*; |
| 5820 | ... | |
| 5821 | 278 | | } |
| 5822 | 279 | | } |
| 5823 | | |_- in this macro invocation |
| 5824 | | |
| 5825 | = help: possible candidate is found in another module, you can import it into scope: |
| 5826 | `use core::os::raw::c_char;` |
| 5827 | |
| 5828 | error[E0412]: cannot find type `c_char` in the crate root |
| 5829 | --> /home/kelvin/repos/libc/src/unix/mod.rs:821:55 |
| 5830 | | |
| 5831 | 821 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; |
| 5832 | | ^^^^^^ did you mean `c_schar`? |
| 5833 | | |
| 5834 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5835 | | |
| 5836 | 266 | / cfg_if! { |
| 5837 | 267 | | if #[cfg(windows)] { |
| 5838 | 268 | | mod windows; |
| 5839 | 269 | | pub use windows::*; |
| 5840 | ... | |
| 5841 | 278 | | } |
| 5842 | 279 | | } |
| 5843 | | |_- in this macro invocation |
| 5844 | | |
| 5845 | = help: possible candidate is found in another module, you can import it into scope: |
| 5846 | `use core::os::raw::c_char;` |
| 5847 | |
| 5848 | error[E0412]: cannot find type `c_char` in the crate root |
| 5849 | --> /home/kelvin/repos/libc/src/unix/mod.rs:823:31 |
| 5850 | | |
| 5851 | 823 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; |
| 5852 | | ^^^^^^ did you mean `c_schar`? |
| 5853 | | |
| 5854 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5855 | | |
| 5856 | 266 | / cfg_if! { |
| 5857 | 267 | | if #[cfg(windows)] { |
| 5858 | 268 | | mod windows; |
| 5859 | 269 | | pub use windows::*; |
| 5860 | ... | |
| 5861 | 278 | | } |
| 5862 | 279 | | } |
| 5863 | | |_- in this macro invocation |
| 5864 | | |
| 5865 | = help: possible candidate is found in another module, you can import it into scope: |
| 5866 | `use core::os::raw::c_char;` |
| 5867 | |
| 5868 | error[E0412]: cannot find type `c_char` in the crate root |
| 5869 | --> /home/kelvin/repos/libc/src/unix/mod.rs:823:49 |
| 5870 | | |
| 5871 | 823 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; |
| 5872 | | ^^^^^^ did you mean `c_schar`? |
| 5873 | | |
| 5874 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5875 | | |
| 5876 | 266 | / cfg_if! { |
| 5877 | 267 | | if #[cfg(windows)] { |
| 5878 | 268 | | mod windows; |
| 5879 | 269 | | pub use windows::*; |
| 5880 | ... | |
| 5881 | 278 | | } |
| 5882 | 279 | | } |
| 5883 | | |_- in this macro invocation |
| 5884 | | |
| 5885 | = help: possible candidate is found in another module, you can import it into scope: |
| 5886 | `use core::os::raw::c_char;` |
| 5887 | |
| 5888 | error[E0412]: cannot find type `c_char` in the crate root |
| 5889 | --> /home/kelvin/repos/libc/src/unix/mod.rs:825:36 |
| 5890 | | |
| 5891 | 825 | pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); |
| 5892 | | ^^^^^^ did you mean `c_schar`? |
| 5893 | | |
| 5894 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5895 | | |
| 5896 | 266 | / cfg_if! { |
| 5897 | 267 | | if #[cfg(windows)] { |
| 5898 | 268 | | mod windows; |
| 5899 | 269 | | pub use windows::*; |
| 5900 | ... | |
| 5901 | 278 | | } |
| 5902 | 279 | | } |
| 5903 | | |_- in this macro invocation |
| 5904 | | |
| 5905 | = help: possible candidate is found in another module, you can import it into scope: |
| 5906 | `use core::os::raw::c_char;` |
| 5907 | |
| 5908 | error[E0412]: cannot find type `c_char` in the crate root |
| 5909 | --> /home/kelvin/repos/libc/src/unix/mod.rs:828:56 |
| 5910 | | |
| 5911 | 828 | pub fn syslog(priority: ::c_int, message: *const ::c_char, ...); |
| 5912 | | ^^^^^^ did you mean `c_schar`? |
| 5913 | | |
| 5914 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5915 | | |
| 5916 | 266 | / cfg_if! { |
| 5917 | 267 | | if #[cfg(windows)] { |
| 5918 | 268 | | mod windows; |
| 5919 | 269 | | pub use windows::*; |
| 5920 | ... | |
| 5921 | 278 | | } |
| 5922 | 279 | | } |
| 5923 | | |_- in this macro invocation |
| 5924 | | |
| 5925 | = help: possible candidate is found in another module, you can import it into scope: |
| 5926 | `use core::os::raw::c_char;` |
| 5927 | |
| 5928 | error[E0412]: cannot find type `c_char` in the crate root |
| 5929 | --> /home/kelvin/repos/libc/src/unix/mod.rs:835:43 |
| 5930 | | |
| 5931 | 835 | pub fn ptsname(fd: ::c_int) -> *mut ::c_char; |
| 5932 | | ^^^^^^ did you mean `c_schar`? |
| 5933 | | |
| 5934 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5935 | | |
| 5936 | 266 | / cfg_if! { |
| 5937 | 267 | | if #[cfg(windows)] { |
| 5938 | 268 | | mod windows; |
| 5939 | 269 | | pub use windows::*; |
| 5940 | ... | |
| 5941 | 278 | | } |
| 5942 | 279 | | } |
| 5943 | | |_- in this macro invocation |
| 5944 | | |
| 5945 | = help: possible candidate is found in another module, you can import it into scope: |
| 5946 | `use core::os::raw::c_char;` |
| 5947 | |
| 5948 | error[E0204]: the trait `Copy` may not be implemented for this type |
| 5949 | --> /home/kelvin/repos/libc/src/macros.rs:44:14 |
| 5950 | | |
| 5951 | 44 | impl ::dox::Copy for $i {} |
| 5952 | | ^^^^^^^^^^^ |
| 5953 | | |
| 5954 | ::: /home/kelvin/repos/libc/src/unix/mod.rs |
| 5955 | | |
| 5956 | 28 | pub actime: time_t, |
| 5957 | | ------------------ this field does not implement `Copy` |
| 5958 | | |
| 5959 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5960 | | |
| 5961 | 266 | / cfg_if! { |
| 5962 | 267 | | if #[cfg(windows)] { |
| 5963 | 268 | | mod windows; |
| 5964 | 269 | | pub use windows::*; |
| 5965 | ... | |
| 5966 | 278 | | } |
| 5967 | 279 | | } |
| 5968 | | |_- in this macro invocation |
| 5969 | |
| 5970 | error[E0204]: the trait `Copy` may not be implemented for this type |
| 5971 | --> /home/kelvin/repos/libc/src/macros.rs:44:14 |
| 5972 | | |
| 5973 | 44 | impl ::dox::Copy for $i {} |
| 5974 | | ^^^^^^^^^^^ |
| 5975 | | |
| 5976 | ::: /home/kelvin/repos/libc/src/unix/mod.rs |
| 5977 | | |
| 5978 | 33 | pub tv_sec: time_t, |
| 5979 | | ------------------ this field does not implement `Copy` |
| 5980 | | |
| 5981 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 5982 | | |
| 5983 | 266 | / cfg_if! { |
| 5984 | 267 | | if #[cfg(windows)] { |
| 5985 | 268 | | mod windows; |
| 5986 | 269 | | pub use windows::*; |
| 5987 | ... | |
| 5988 | 278 | | } |
| 5989 | 279 | | } |
| 5990 | | |_- in this macro invocation |
| 5991 | |
| 5992 | error[E0204]: the trait `Copy` may not be implemented for this type |
| 5993 | --> /home/kelvin/repos/libc/src/macros.rs:44:14 |
| 5994 | | |
| 5995 | 44 | impl ::dox::Copy for $i {} |
| 5996 | | ^^^^^^^^^^^ |
| 5997 | | |
| 5998 | ::: /home/kelvin/repos/libc/src/unix/mod.rs |
| 5999 | | |
| 6000 | 38 | pub tv_sec: time_t, |
| 6001 | | ------------------ this field does not implement `Copy` |
| 6002 | | |
| 6003 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 6004 | | |
| 6005 | 266 | / cfg_if! { |
| 6006 | 267 | | if #[cfg(windows)] { |
| 6007 | 268 | | mod windows; |
| 6008 | 269 | | pub use windows::*; |
| 6009 | ... | |
| 6010 | 278 | | } |
| 6011 | 279 | | } |
| 6012 | | |_- in this macro invocation |
| 6013 | |
| 6014 | error[E0204]: the trait `Copy` may not be implemented for this type |
| 6015 | --> /home/kelvin/repos/libc/src/macros.rs:44:14 |
| 6016 | | |
| 6017 | 44 | impl ::dox::Copy for $i {} |
| 6018 | | ^^^^^^^^^^^ |
| 6019 | | |
| 6020 | ::: /home/kelvin/repos/libc/src/unix/mod.rs |
| 6021 | | |
| 6022 | 43 | pub rlim_cur: rlim_t, |
| 6023 | | -------------------- this field does not implement `Copy` |
| 6024 | | |
| 6025 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 6026 | | |
| 6027 | 266 | / cfg_if! { |
| 6028 | 267 | | if #[cfg(windows)] { |
| 6029 | 268 | | mod windows; |
| 6030 | 269 | | pub use windows::*; |
| 6031 | ... | |
| 6032 | 278 | | } |
| 6033 | 279 | | } |
| 6034 | | |_- in this macro invocation |
| 6035 | |
| 6036 | error[E0204]: the trait `Copy` may not be implemented for this type |
| 6037 | --> /home/kelvin/repos/libc/src/macros.rs:44:14 |
| 6038 | | |
| 6039 | 44 | impl ::dox::Copy for $i {} |
| 6040 | | ^^^^^^^^^^^ |
| 6041 | | |
| 6042 | ::: /home/kelvin/repos/libc/src/unix/mod.rs |
| 6043 | | |
| 6044 | 50 | pub ru_maxrss: c_long, |
| 6045 | | --------------------- this field does not implement `Copy` |
| 6046 | | |
| 6047 | ::: /home/kelvin/repos/libc/src/lib.rs |
| 6048 | | |
| 6049 | 266 | / cfg_if! { |
| 6050 | 267 | | if #[cfg(windows)] { |
| 6051 | 268 | | mod windows; |
| 6052 | 269 | | pub use windows::*; |
| 6053 | ... | |
| 6054 | 278 | | } |
| 6055 | 279 | | } |
| 6056 | | |_- in this macro invocation |
| 6057 | |
| 6058 | error: aborting due to 5 previous errors |
| 6059 | |
| 6060 | error: Could not compile `libc`. |
| 6061 | |
| 6062 | To learn more, run the command again with --verbose. |