about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-01 20:34:40 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-04-02 15:56:31 -0700
commit46abacfdfebf3978b5bf39673d0b751636dd2257 (patch)
tree0a10d9f37cfff50cd49860b34c12e1020f6337c8 /src/rustllvm/ExecutionEngineWrapper.cpp
parent3786b552a6ffd2219d8e42df6f8db6cc386cce56 (diff)
downloadrust-46abacfdfebf3978b5bf39673d0b751636dd2257.tar.gz
rust-46abacfdfebf3978b5bf39673d0b751636dd2257.zip
rustc: Require that vector indices are uints
This commit tightens up the restriction on types used to index slices to require
exactly `uint` indices. Previously any integral type was accepted, but this
leads to a few subtle problems:

  * 64-bit indices don't make much sense on 32-bit systems
  * Signed indices for slices used as negative indexing isn't implemented

This was discussed at the recent work week, and also has some discussion on
issue #10453.

Closes #10453
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions