Skip to content

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

Closed
@RupankarGhosh

Description

@RupankarGhosh

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

Activity

extrawurst

extrawurst commented on Jun 21, 2020

@extrawurst
Collaborator

Sounds like: #117 (comment)

extrawurst

extrawurst commented on Jun 21, 2020

@extrawurst
Collaborator

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

extrawurst

extrawurst commented on Jun 21, 2020

@extrawurst
Collaborator

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @extrawurst@RupankarGhosh

        Issue actions

          error[E0723]: heap allocations are not allowed in const fn · Issue #145 · gitui-org/gitui