diff options
| author | kennytm <kennytm@gmail.com> | 2017-09-01 01:16:24 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2017-09-07 17:14:27 +0800 |
| commit | 8410ca663258423cd16b0741f7a053b320e13da0 (patch) | |
| tree | 97c6f21fe2697ee48960c6b4d3126914370c1684 /src/rustllvm/RustWrapper.cpp | |
| parent | a6a9d4c5fd214cb8110482dee2017607e23ccc7b (diff) | |
| download | rust-8410ca663258423cd16b0741f7a053b320e13da0.tar.gz rust-8410ca663258423cd16b0741f7a053b320e13da0.zip | |
Properly detect overflow in Instance +/- Duration.
Avoid unchecked cast from `u64` to `i64`. Use `try_into()` for checked cast. (On Unix, cast to `time_t` instead of `i64`.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
