From: "Jörg Rödel" <joro@8bytes.org>
To: James Bottomley <James.Bottomley@hansenpartnership.com>
Cc: coconut-svsm@lists.linux.dev, linux-coco@lists.linux.dev
Subject: Re: Discussion on policies around minimum rust version for coconut-svsm
Date: Thu, 26 Nov 2026 13:27:00 +0100 [thread overview]
Message-ID: <awghLkAIUMmX0Ja2@8bytes.org> (raw)
In-Reply-To: <d79ddac2ab65877504ace5a1fa2eab9cab3d5db3.camel@HansenPartnership.com>
Hi James,
On Wed, Nov 25, 2026 at 12:55:23PM -0500, James Bottomley wrote:
> I think the coconut-svsm policy should be conservative; i.e. we try to
> stay on the lowest possible rust version, starting with where we are
> now (1.85 but shortly to be bumped to 1.90). However, if any forcing
> function comes along that version should be increased. I think the two
> forcing functions are
I agree with the assessment, COCONUT should be conservative about updating the
minimum required Rust compiler version. There are some constraints to think
about, though.
> 1. Language feature we really need to help with or simplify the code
> 2. cargo dependency hygiene (we need a version of our dependencies
> which is current with fixes and they may require a newer rust
> version to keep that currency)
>
> but others may have things to add.
>
> The other thing that came up is that eventually coconut-svsm will have
> to be shipped by distributions and that means its minimum version must
> overlap the build versions that distributions have chosen, so this
> policy has to also be informed by the policies the distributions (both
> enterprise like RHEL and community like Debian and Fedora) are going to
> adopt ... which at least Red Hat promised to think about.
The distribution policies are the main uncertainty for the project. We fully
control which language features COCONUT-SVSM is using, but not what our
downstream users require to build packages.
This can become problematic once COCONUT maintains stable release branches and
a security issue appears in a dependency, requiring an update which needs a
newer compiler version. We have a similar situation right now with PR #1277.
I am sure COCONUT is not the only Rust project which aims to be packaged by a
Linux distribution. It would be good to learn how the distributors handle these
situations with already packaged software so that we can adapt our policy to
their processes.
-Joerg
prev parent reply other threads:[~2026-11-26 12:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 17:55 Discussion on policies around minimum rust version for coconut-svsm James Bottomley
2026-11-25 18:32 ` Mahmoud Nagy Adam
2026-11-26 12:31 ` Jörg Rödel
2026-11-26 16:18 ` James Bottomley
2026-11-27 7:58 ` Gerd Hoffmann
2026-11-27 14:04 ` James Bottomley
2026-11-27 15:37 ` Gerd Hoffmann
2026-11-28 16:22 ` James Bottomley
2026-11-26 12:27 ` Jörg Rödel [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=awghLkAIUMmX0Ja2@8bytes.org \
--to=joro@8bytes.org \
--cc=James.Bottomley@hansenpartnership.com \
--cc=coconut-svsm@lists.linux.dev \
--cc=linux-coco@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.