about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-30 23:19:52 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-07 08:16:14 -0700
commite0d43b023ed219d47c0785f10c62a62350aa4ea1 (patch)
treea08d2477e448f46526108c94c897ad68f7104ecc /src/rustllvm/RustWrapper.cpp
parentc67ebf1ef3fa7766ad17059fc953095116eadba9 (diff)
downloadrust-e0d43b023ed219d47c0785f10c62a62350aa4ea1.tar.gz
rust-e0d43b023ed219d47c0785f10c62a62350aa4ea1.zip
core: Implement necessary traits for ~[T]/~str
Coherence requires that libcore's traits be implemented in libcore for ~[T] and
~str (due to them being language defined types). These implementations cannot
live in libcore forever, but for now, until Heap/Box/Uniq is a lang item, these
implementations must reside inside of libcore. While not perfect
implementations, these shouldn't reside in libcore for too long.

With some form of lang item these implementations can be in a proper crate
because the lang item will not be present in libcore.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions