mesa/src/compiler/rust/lib.rs
Daniel Almeida 279f38918f nak: memstream: move into common code
Move the memstream code into common code. Other Rust code interfacing
with FILE pointers will find the memstream abstraction useful.

Most notably, pinning is actually enforced this time with PhantomPinned.

Add a .clang-format from a sibling dir (i.e.: compiler/nir) while we're
at it to keep things tidy.

Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30594>
2024-10-17 02:50:21 +00:00

10 lines
181 B
Rust

// Copyright © 2024 Igalia S.L.
// SPDX-License-Identifier: MIT
pub mod as_slice;
pub mod bindings;
pub mod bitset;
pub mod cfg;
pub mod memstream;
pub mod nir;
pub mod smallvec;