]> git.lizzy.rs Git - rust.git/commit
Make the tests green as they should on 32-bit architectures
authorAriel Ben-Yehuda <ariel.byd@gmail.com>
Fri, 17 Oct 2014 09:37:27 +0000 (12:37 +0300)
committerAriel Ben-Yehuda <ariel.byd@gmail.com>
Fri, 17 Oct 2014 09:37:27 +0000 (12:37 +0300)
commit3ce5a9539fc7c20cf6a228bfc7d7fde03b9c6b93
tree2d0a90e3355a1bae9c70122328650b14cc30057d
parent50db061173a2a54a9897e2d42f88b95d2b820cc4
Make the tests green as they should on 32-bit architectures

On 32-bit architectures, the size calculations on two of the tests wrap-around
in typeck, which gives the relevant arrays a size of 0, which is (correctly)
successfully allocated.
src/test/compile-fail/huge-array-simple.rs
src/test/compile-fail/issue-17913.rs