I've used the language item `exchange_malloc` to override the default
allocation routine with a custom allocator. A simple example works
fine, but I'm having trouble integrating it into a larger project.

In particular, how can I use my new allocator and still have access to
all of libstd such that all allocations (even those done in libstd)
are routed through my allocator? As it stands now it only works with
`#![no_std]`, otherwise I get duplicate entries for things like
`allocate`.

Thanks,
Noah
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to