- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .markdownlint-cli2.yaml | ||
| ARCHITECTURE.md | ||
| Cargo.toml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| ROADMAP.md | ||
| rustfmt.toml | ||
| SECURITY.md | ||
lib-owned-region
Allocate within one caller-owned writable memory region without reserving backing storage, invoking a service, or depending on another crate.
Purpose of This Repository
ReservedHeap manages one exclusive region with checked free-list geometry.
RegionAllocator serializes that primitive behind Rust's GlobalAlloc
interface. Its empty handle contains metadata only; callers explicitly install
the original region once and retain its backing for every allocation lifetime.
Resizing can reuse adjacent free bytes or return a shrunken tail to that same
region; reallocation preserves the original allocation when growth is refused.
See ARCHITECTURE.md for ownership, synchronization, failure, and teardown contracts. ROADMAP.md records integration work. The source rustdoc documents each operation and its unsafe preconditions.
Clean-Room Policy
All implementation is EriX-authored. Do not add external crates, copy external implementation code, or generate code that embeds third-party implementation.
License
ISC.
Development Model
Use formatting, strict Clippy, debug and release tests, warning-denied rustdoc,
and freestanding no_std checks. See CONTRIBUTING.md for
shared review and signed-commit requirements.
Governance Principles
Keep allocation policy separate from memory acquisition and native authority. Coordinate API changes with consumers and preserve original pointer, layout, region, and lifetime requirements.
Library Boundaries
The library registers no global allocator, maps no memory, chooses no fixed heap size, and installs no allocation-error handler. It does not authenticate the caller's backing, retire a mapping, or release a native grant.
Contact
Development is tracked in the EriX organization. Contact the maintainer at admin@erikinkinen.fi.