Skip to content

Several tests fail with --disable-jemalloc #35017

Closed
@cuviper

Description

@cuviper

I currently can't run a full make check when using --disable-jemalloc, because there are a few tests that assume they have multiple allocators to play with. Those I found were:

  • src/test/compile-fail/allocator-dylib-is-system.rs
  • src/test/compile-fail/allocator-rust-dylib-is-jemalloc.rs
  • src/test/run-pass/allocator-default.rs

All three of these are at least conditional on target_os = "linux" or "macos", but having linux without jemalloc gets a quick failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions