about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorAlexey Tarasov <tarasov@dodologics.com>2017-08-12 18:43:59 +1000
committerAlexey Tarasov <tarasov@dodologics.com>2017-08-12 18:51:10 +1000
commit6a607faba43a818e2a9d63f87316256a963277bb (patch)
tree7dddaa1975cc9dd71b4e5a56fb8b5ada0daad87e /src/liballoc_jemalloc
parent0cd358742dfcf3fa6b0d8a318cfb5cc748dc905d (diff)
downloadrust-6a607faba43a818e2a9d63f87316256a963277bb.tar.gz
rust-6a607faba43a818e2a9d63f87316256a963277bb.zip
Follow up commit for the issue 39827
 - updates documentation on volatile memory intrinsics, now the case of
   zero-sized types is mentioned explicitly.

Volatile memory operations which doesn't affect memory at all are omitted
in LLVM backend, e.g. if number of elements is zero or type used in
generic specialisation is zero-sized, then LLVM intrinsic or related code
is not generated. This was not explicitly documented before in Rust
documentation and potentially could cause issues.
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions