Skip to content

Build broken with --disable-jemalloc #30592

Closed
@MagaTailor

Description

@MagaTailor

Leading to this:

rustc: arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libstd
src/libstd/lib.rs:1:1: 1:1 error: can't find crate for `alloc_jemalloc` [E0463]

which probably means this line always executes adding the jemalloc dependency to std. It used to work as expected a few weeks ago.

Even though I don't need this option on i686, it reproduces over there as well (as expected).

cc @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions