[Ksummit-discuss] [MAINTAINER TOPIC] ABI feature gates?

Andy Lutomirski luto at kernel.org
Fri Aug 4 04:15:52 UTC 2017


On Thu, Aug 3, 2017 at 6:30 PM, Greg KH <greg at kroah.com> wrote:
> On Thu, Aug 03, 2017 at 06:16:44PM -0700, Andy Lutomirski wrote:
>> I'm wondering if there are other models that could work.  I think it
>> would be nice for us to be able to land a kernel in Linus tree and
>> still wait a while before stabilizing it.  Rust, for example, has a
>> strict policy for this that seems to work quite well.
>
> What does Rust do here?
>

Rust has named unstable features.  In order to use them, you need to
declare, with a special annotation, your desire to use the named
feature.  You also need to be running a nightly build of Rust --
stable versions will refuse to compile code that requests unstable
features.


More information about the Ksummit-discuss mailing list