From: Franklin-Qi <yusq77@gmail.com>
To: Andreas Hindborg <a.hindborg@kernel.org>
Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>,
Miguel Ojeda <ojeda@kernel.org>, Lyude Paul <lyude@redhat.com>,
Alice Ryhl <aliceryhl@google.com>,
FUJITA Tomonori <fujita.tomonori@gmail.com>,
Boqun Feng <boqun@kernel.org>, Danilo Krummrich <dakr@kernel.org>,
rust-for-linux@vger.kernel.org, Franklin-Qi <yusq77@gmail.com>
Subject: Re: [PATCH] rust: time: keep Instant invariant when adding/subtracting Delta
Date: Thu, 3 Dec 2026 17:20:45 +0800 [thread overview]
Message-ID: <20261203092045.63833-1-yusq77@gmail.com> (raw)
In-Reply-To: <878q27sq87.fsf@t14s.mail-host-address-is-not-set>
Hi Andreas, Miguel,
Thanks for the suggestion to add tests.
In v3 I am sending a second patch with KUnit tests for the in-range cases
and for the clamping paths under CONFIG_RUST_OVERFLOW_CHECKS=n. Panic
coverage can wait for should_panic support.
Best regards,
Franklin
prev parent reply other threads:[~2026-12-03 9:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Mf9TNvNPTgERimoWnx-HXvSDdGaI4X1aH9iSG6qeVNn70w9dd_u0rKrIaSqNi8YN3O__uOmCDl8AWxrgV65JEg==@protonmail.internalid>
2026-12-01 6:41 ` [PATCH] rust: time: keep Instant invariant when adding/subtracting Delta Franklin-Qi
2026-12-01 10:07 ` Andreas Hindborg
2026-12-01 10:52 ` Miguel Ojeda
2026-12-02 8:03 ` Franklin-Qi
2026-12-02 10:43 ` Miguel Ojeda
2026-12-02 14:37 ` Andreas Hindborg
2026-12-02 15:30 ` Miguel Ojeda
2026-12-03 9:20 ` Franklin-Qi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203092045.63833-1-yusq77@gmail.com \
--to=yusq77@gmail.com \
--cc=a.hindborg@kernel.org \
--cc=aliceryhl@google.com \
--cc=boqun@kernel.org \
--cc=dakr@kernel.org \
--cc=fujita.tomonori@gmail.com \
--cc=lyude@redhat.com \
--cc=miguel.ojeda.sandonis@gmail.com \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox