diff options
| author | bors <bors@rust-lang.org> | 2023-08-28 00:02:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-28 00:02:42 +0000 |
| commit | 1baf77aad0328c9a2fac290e604ee54d23c81a66 (patch) | |
| tree | 33614ea99295fb32f954760d544d9138572574e3 /compiler/rustc_interface/src | |
| parent | 8550f15e148407159af401e02b1d9259762b3496 (diff) | |
| parent | 1c6d867d78475fd8c6274e2b64ebb27735b6cabf (diff) | |
| download | rust-1baf77aad0328c9a2fac290e604ee54d23c81a66.tar.gz rust-1baf77aad0328c9a2fac290e604ee54d23c81a66.zip | |
Auto merge of #115254 - cuviper:aligned_alloc-size, r=thomcc
wasi: round up the size for `aligned_alloc` C11 `aligned_alloc` requires that the size be a multiple of the alignment. This is enforced in the wasi-libc emmalloc implementation, which always returns NULL if the size is not a multiple. (The default `MALLOC_IMPL=dlmalloc` does not currently check this.)
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
