[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250826.212328.1387093980490118773.fujita.tomonori@gmail.com>
Date: Tue, 26 Aug 2025 21:23:28 +0900 (JST)
From: FUJITA Tomonori <fujita.tomonori@...il.com>
To: lyude@...hat.com
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
tglx@...utronix.de, a.hindborg@...nel.org, fujita.tomonori@...il.com,
boqun.feng@...il.com, frederic@...nel.org, anna-maria@...utronix.de,
jstultz@...gle.com, sboyd@...nel.org, ojeda@...nel.org,
alex.gaynor@...il.com, gary@...yguo.net, bjorn3_gh@...tonmail.com,
lossin@...nel.org, aliceryhl@...gle.com, tmgross@...ch.edu, dakr@...nel.org
Subject: Re: [PATCH v3 1/2] rust: time: Implement Add<Delta>/Sub<Delta> for
Instant
On Wed, 20 Aug 2025 16:26:43 -0400
Lyude Paul <lyude@...hat.com> wrote:
> In order to copy the behavior rust currently follows for basic arithmetic
> operations and panic if the result of an addition or subtraction results in
> a value that would violate the invariants of Instant, but only if the
> kernel has overflow checking for rust enabled.
>
> Signed-off-by: Lyude Paul <lyude@...hat.com>
Reviewed-by: FUJITA Tomonori <fujita.tomonori@...il.com>
Powered by blists - more mailing lists