File tree 5 files changed +9
-6
lines changed
5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ status = [
17
17
" build (stable, x86_64-unknown-linux-gnu)" ,
18
18
" build (stable, x86_64-unknown-linux-musl)" ,
19
19
20
- " build (1.46 .0, x86_64-unknown-linux-gnu)" ,
20
+ " build (1.56 .0, x86_64-unknown-linux-gnu)" ,
21
21
22
22
" checks"
23
23
]
Original file line number Diff line number Diff line change 33
33
34
34
include :
35
35
# MSRV
36
- - rust : 1.46 .0
36
+ - rust : 1.56 .0
37
37
TARGET : x86_64-unknown-linux-gnu
38
38
39
39
# Test nightly but don't fail
@@ -107,7 +107,7 @@ jobs:
107
107
- uses : actions-rs/toolchain@v1
108
108
with :
109
109
profile : minimal
110
- toolchain : 1.46 .0
110
+ toolchain : 1.56 .0
111
111
components : clippy
112
112
113
113
- uses : actions-rs/clippy-check@v1
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
8
8
9
9
## [ Unreleased]
10
10
11
+ - MSRV is now 1.56.0.
11
12
12
13
## [ v0.5.1] - 2021-11-22
13
14
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ to be considered reliable.
206
206
207
207
## Minimum Supported Rust Version (MSRV)
208
208
209
- This crate is guaranteed to compile on stable Rust 1.46 .0 and up. It * might*
209
+ This crate is guaranteed to compile on stable Rust 1.56 .0 and up. It * might*
210
210
compile with older versions but that may change in any new patch release.
211
211
212
212
## License
Original file line number Diff line number Diff line change @@ -920,8 +920,10 @@ impl LineEvent {
920
920
/// in an interrupt handler so it should be very accurate.
921
921
///
922
922
/// The nanosecond timestamp value should are captured
923
- /// using the `CLOCK_REALTIME` offsets in the kernel and
924
- /// should be compared against `CLOCK_REALTIME` values.
923
+ /// using the `CLOCK_MONOTONIC` offsets in the kernel and
924
+ /// should be compared against `CLOCK_MONOTONIC` values.
925
+ /// Note that kernel versions prior to 5.7 used
926
+ /// `CLOCK_REALTIME` offsets instead.
925
927
pub fn timestamp ( & self ) -> u64 {
926
928
self . 0 . timestamp
927
929
}
You can’t perform that action at this time.
0 commit comments