Comments (2)
Thanks for the report. With the new oom
lang item the allocator doesn't have to define what happens on an Out Of Memory (OOM) condition. The behavior can now be specified by the application, or any other crate.
I think it's best to not define the oom
lang item here and instead let the application decide how to deal with OOM.
alloc-cortex-m now fails to build
alloc-cortex-m
builds just fine; it's the binary crate the one that errors if oom
has not been defined.
I have updated the crate level documentation in #15 to show how to define oom
.
from embedded-alloc.
Thanks! :D
from embedded-alloc.
Related Issues (20)
- Does not build on latest nightly HOT 3
- Alloc -> AllocRef HOT 1
- Sync with latest cortex-m version
- Possible Broken Dependency: linked_list_allocator
- Make a new release on crates.io HOT 4
- Heap allocation considerations for embedded systems HOT 8
- Is there anyway to use panic_semihosting with this crate? HOT 1
- error[E0015]: calls in constant functions are limited to constant functions HOT 1
- Release? HOT 1
- Build is failing on thumbv6 HOT 1
- CI Failure
- add example that proves extern "C" malloc and free
- CI Failure HOT 1
- This crate should be flagged as single-core usage only HOT 2
- Can not build for STM32 - undefined symbol critical section HOT 1
- Get undefined reference to `debug_lower_hex` when using alloc crate HOT 1
- CI Failure
- CI Failure HOT 1
- Is there a way to make the heap size configurable? HOT 1
- CI Failure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from embedded-alloc.