about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-31 15:59:47 +0200
committerGitHub <noreply@github.com>2020-03-31 15:59:47 +0200
commitcd4d1c7f6d69ed05008cb3832272d4466950f5ad (patch)
tree6004191dc0dd34c425dbda7a3d7793a7e84eb2d1 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent3ef70fe156be1f8236c23a49c0db841207895ef9 (diff)
parentab2998bac3bd7ae254cacad3f0911c950691216a (diff)
downloadrust-cd4d1c7f6d69ed05008cb3832272d4466950f5ad.tar.gz
rust-cd4d1c7f6d69ed05008cb3832272d4466950f5ad.zip
Rollup merge of #70585 - alexcrichton:fix-wasi-align-alloc, r=Mark-Simulacrum
std: Fix over-aligned allocations on wasm32-wasi

The wasm32-wasi target delegates its malloc implementation to the
functions in wasi-libc, but the invocation of `aligned_alloc` was
incorrect by passing the number of bytes requested first rather than the
alignment. This commit swaps the order of these two arguments to ensure
that we allocate over-aligned memory correctly.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions