ruspiro-allocator-oom

Crates.ioruspiro-allocator-oom
lib.rsruspiro-allocator-oom
version0.1.0
sourcesrc
created_at2019-08-06 16:59:02.545164
updated_at2019-08-06 16:59:02.545164
descriptionThis is a `private` sub-crate of ruspiro-allocator that should only be used as child/dependency of id. It provides the Out-Of-Memory handler implementation for the custom allocator
homepage
repositoryhttps://github.com/RusPiRo/ruspiro-allocator/tree/v0.1.1
max_upload_size
id154579
size3,597
(2ndTaleStudio)

documentation

https://docs.rs/ruspiro-allocator/0.1.1

README

Custom Allocator OOM RusPiRo crate

The need for this crate is a bit weird and contains only the implementation of the rust_oom function that need to be linked together with the custom allocator ruspiro-allocator. This function can't be in the same crate as this leads to the issue that the compiler complains that this function is already defined, however if not defining it in a separate crate to link with the linker will complain with 'undefined reference to rust_oom'.

Usage

This crate is a dependency from the ruspiro-allocator crate and should never used outside of it's parent.

License

Licensed under Apache License, Version 2.0, (LICENSE or http://www.apache.org/licenses/LICENSE-2.0)

Commit count: 0

cargo fmt