Closed
Description
It seems that this commit simply removes the tv_nsec
field of the structure? Is that the intention?
I am seeing it manifest as a compilation error of the parking_lot
crate:
error[E0609]: no field `tv_nsec` on type `timespec`
--> /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.11/src/thread_parker/linux.rs:86:16
|
86 | ts.tv_nsec = diff.subsec_nanos() as tv_nsec_t;
| ^^^^^^^ unknown field
|
help: a field with a similar name exists
|
86 - ts.tv_nsec = diff.subsec_nanos() as tv_nsec_t;
86 + ts.tv_sec = diff.subsec_nanos() as tv_nsec_t;
|
Many thanks for your advice.