blob: 3e83401414a48332f4eb41ceae43292b221a2b2b [file]
// Copyright 2026 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
//! Compact kernel heap allocator (`cmpctmalloc`).
#![cfg_attr(feature = "userspace", no_std)]
#[cfg_attr(not(feature = "userspace"), expect(clippy::module_inception))]
mod cmpctmalloc;
#[cfg(feature = "userspace")]
mod cmpctmalloc_ffi;
pub use cmpctmalloc::*;