-
Notifications
You must be signed in to change notification settings - Fork 239
Heapless Support #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Might be #131. |
Thanks for pointing me there! It does compile plus 'work' now using the workaround mentioned in #131. For anyone else stumbling upon this issue: Adding: [profile.dev.package.compiler_builtins]
overflow-checks = false to the |
On Mon, Jan 03, 2022 at 10:16:30AM -0800, Syed Ahkam wrote:
Thanks for pointing me there!
It does compile plus 'work' now using the workaround mentioned in #131.
For anyone else stumbling upon this issue:
Adding:
```rs
[profile.dev.package.compiler_builtins]
overflow-checks = false
```
to the `Cargo.toml` file is the workaround.
Consider to convert that to a merge request.
|
Please no, this is not a well working solution as of now - cargo unconditionally complains about this setting. There needs to be a proper solution in cargo's build-std instead... It is a bug that |
I have been trying to get heapless to work.
First off, to get it to compile, I had to disable atomic types by modifying the build.rs file.
Further, everything seemed to be working but then I received this compile error:
What could be the issue here? (I have no idea how avr-gcc is configured)
The text was updated successfully, but these errors were encountered: