diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-01 10:47:18 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-07 08:16:14 -0700 |
| commit | e4271cae54c7f4a868c60a1822b91e702e511947 (patch) | |
| tree | 96f723ffcdfc21f98b7ff29406f14f77d6ca6689 /src/rustllvm/RustWrapper.cpp | |
| parent | 4686cf201804c999fbc24fa3a3245e9c4dc4afe1 (diff) | |
| download | rust-e4271cae54c7f4a868c60a1822b91e702e511947.tar.gz rust-e4271cae54c7f4a868c60a1822b91e702e511947.zip | |
core: Add a limited implementation of failure
This adds an small of failure to libcore, hamstrung by the fact that std::fmt hasn't been migrated yet. A few asserts were re-worked to not use std::fmt features, but these asserts can go back to their original form once std::fmt has migrated. The current failure implementation is to just have some symbols exposed by std::rt::unwind that are linked against by libcore. This is an explicit circular dependency, unfortunately. This will be officially supported in the future through compiler support with much nicer failure messages. Additionally, there are two depended-upon symbols today, but in the future there will only be one (once std::fmt has migrated).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
