about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-12-09 04:22:05 +0000
committerbors <bors@rust-lang.org>2015-12-09 04:22:05 +0000
commit4005d437653fc09b47cd3176bb65323c52cccd47 (patch)
tree2708e9f2a98cacd29219d955d69e832eba87bc7a /src/libstd/sys/unix/stack_overflow.rs
parent56a1f51ef0b26acb0d6eb2a7dbe9336f5e942061 (diff)
parentd6eb063fe8c60ff7cbd83c7a27ba4bc6a24bd174 (diff)
downloadrust-4005d437653fc09b47cd3176bb65323c52cccd47.tar.gz
rust-4005d437653fc09b47cd3176bb65323c52cccd47.zip
Auto merge of #30245 - Aatch:dynamic-align-dst, r=pnkfelix
Fixes #26403

This adjusts the pointer, if needed, to the correct alignment by using the alignment information in the vtable.

Handling zero might not be necessary, as it shouldn't actually occur. I've left it as it's own commit so it can be removed fairly easily if people don't think it's worth doing. The way it's handled though means that there shouldn't be much impact on performance.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions