Skip to content
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

error[E0723]: heap allocations are not allowed in const fn #145

Closed
RupankarGhosh opened this issue Jun 21, 2020 · 3 comments
Closed

error[E0723]: heap allocations are not allowed in const fn #145

RupankarGhosh opened this issue Jun 21, 2020 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@RupankarGhosh
Copy link

I was trying to build gitui as documented: using cargo install gitui
But this error occurs. I'm using android termux with current rustc .

@extrawurst
Copy link
Owner

Sounds like: #117 (comment)

@extrawurst extrawurst added the duplicate This issue or pull request already exists label Jun 21, 2020
@extrawurst
Copy link
Owner

We should add the min version like this: rust-lang/rfcs#2495

@extrawurst
Copy link
Owner

ok damn, the min supported rust version is not there yet: rust-lang/rust#65262

anyhow, the error you see is when you are not building with rust 1.44 or higher. let me know if the problem still persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants