Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Accommodate change of empty vector representation in nightly libstd. #81

Merged
merged 1 commit into from
May 18, 2017

Commits on May 17, 2017

  1. Accommodate change of empty vector representation in nightly libstd.

    The empty sentinel value used to be 0x1; now it is the minimum
    alignment of the contained type. To support both nightly and
    stable versions of rustc, we check for any pointer that is equal
    or less than the minimum alignment of the type that heap_size_of
    receives. If the given pointer is larger, we pass it on to
    the jemalloc heap-measuring API.
    jdm committed May 17, 2017
    Configuration menu
    Copy the full SHA
    cd5f46e View commit details
    Browse the repository at this point in the history