Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Getting Rust for Linux into stable Rust: language features #116

@nikomatsakis

Description

@nikomatsakis
Metadata
Point of contact @tomassedovic
Team(s) compiler
Goal document 2025h2/Rust-for-Linux-compiler

Summary

Continue working towards Rust for Linux on stable. In particular, this goal is focused on the compiler features.

Tasks and status

  • Discussion and moral support (compiler Team)

Finish and stabilize a given -Z... flag

  • Discussion and moral support (compiler Team)
  • Finalize remaining work ()
  • Author stabilization report ()
  • Author stabilization PR ()
  • Stabilization decision (compiler Team)

Note: we have updated the body to match the 2025h2 goal. Your original text is preserved below.

Metadata
Point of contact @tomassedovic
Team(s) lang, lang-docs
Goal document 2025h2/Rust-for-Linux-language

Summary

Continue working towards Rust for Linux on stable. In particular, this goal is focused on the language features.

Tasks and status

  • Discussion and moral support (lang Team)

Finish and stabilize arbitrary_self_types and derive_coerce_pointee


Note: we have updated the body to match the 2025h2 goal. Your original text is preserved below.

Metadata
Point of contact @nikomatsakis
Team(s) cargo, clippy, compiler, rustdoc
Goal document 2025h1/rfl

Summary

Continue working towards Rust for Linux on stable, turning focus to compiler and tooling.

Why this goal?

This goal continues our work from 2024H2 in supporting the experimental support for Rust development in the Linux kernel. Whereas in 2024H2 we were focused on stabilizing required language features, our focus in 2025H1 is stabilizing compiler flags and tooling options. We will (1) implement RFC #3716 which lays out a design for ABI-modifying flags; (2) take the first step towards stabilizing build-std by creating a stable way to rebuild core with specific compiler options; (3) extending rustdoc, clippy, and the compiler with features that extract metadata for integration into other build systems (in this case, the kernel's build system).

Tasks and status

Finalizing 2024h2 goals

ABI-modifying compiler flags

Configure no-std externally

Rustdoc features to extract doc tests

  • Author RFC ()
  • RFC decision (rustdoc Team)
  • Implementation ()
  • Standard reviews (rustdoc Team)
  • Experimentation in RFL (@ojeda)
  • Stabilization decision (rustdoc Team)

Clippy configuration

-Zsanitize-kcfi-arity

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Project goal

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions