Commit graph

3 commits

Author SHA1 Message Date
Gurchetan Singh
2f5e37f72e mesa: define peripheral support for src/util/rust
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This creates a concept of "peripheral" for Rust crates housed in
Mesa, and "unofficially" uploaded to crates.io by subcommunities
of Mesa.  This is modeled on LLVM's peripheral versus core
support concept:

https://llvm.org/docs/SupportPolicy.html

This allows use of the mesa3d_util crate without vendoring it.
This is a desire of the crosvm maintainers (crrev.com/c/6594760).

This also formally defines CODEOWNERS to be the projected uploaders
of the mesa3d_util crate.  Everyone of course is encouraged to make
changes, but that just gives us a heads-up to update the downstream
imports of mesa3d_util.

The Cargo.toml file is not added here, since Meson is the only
officially supported build system of the Mesa3D project.

Reviewed-by: Marcin Radomski <dextero@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36276>
2025-07-24 20:51:36 +00:00
Paolo Bonzini
2e4a8e98bd docs: document naming convention for Rust subprojects
Place the convention so that distro packagers know that they can
rely on it, and not following it is a bug.

This is the same convention that Meson uses for Cargo subprojects,
but Mesa is not using them as they are experimental and not really
usable yet.

Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36284>
2025-07-24 17:52:34 +00:00
Karol Herbst
5290a09d2a docs: move rust update policy
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30414>
2024-07-31 16:22:43 +00:00