diff options
| author | bors <bors@rust-lang.org> | 2016-01-29 20:58:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-29 20:58:09 +0000 |
| commit | 074f49a350f22b6f33890cd105b2ebe2c790ee3c (patch) | |
| tree | c879cc4147dddf7de4ddebf14ceda2cb2fe236ab /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 0f196bcc3b23925854e3d758c03f56c7520e9b99 (diff) | |
| parent | fdf65e719c29353bbc70313107f511b58af49022 (diff) | |
| download | rust-074f49a350f22b6f33890cd105b2ebe2c790ee3c.tar.gz rust-074f49a350f22b6f33890cd105b2ebe2c790ee3c.zip | |
Auto merge of #31283 - dotdash:32_64_cc, r=alexcrichton
When cross compiling for a target that has a larger usize type than the host system, we use a truncated value to mark data as dropped, eventually leading to drop calls on already dropped data. To properly handle this, the drop pattern needs to be of type u64. Since C_integral truncates its given value to the requested size anyway, we can also drop the function that chose between the u32 and u64 values, and always use the u64 constant. Fixes #31139 r? @pnkfelix
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
