rust/src
Tim Chevalier b5f9053423 Add a constraint to trans::type_of
trans::type_of now has a constraint saying that its type argument
is statically sized. This eliminates the "impossible happened" case
in type_of. Yay!

I note that this change decreased translation time for stage2/rustc
from 16.1 s to 14.0 s. I also think many of the remaining checks
could be eliminated with some mildly clever use of constrained types
and further preconditions. Future work!
2011-09-02 19:35:17 -07:00
..
comp Add a constraint to trans::type_of 2011-09-02 19:35:17 -07:00
etc Replace xfail-stageN with simply xfail-test 2011-08-31 16:32:16 +02:00
fuzzer Remove lots of estr code from rustc. Issue #855 2011-09-01 23:25:33 -07:00
lib Rename std::vec::unsafe::ivec_repr to vec_repr. Issue #855 2011-09-02 15:13:41 -07:00
rt Eliminate const_refcount. Issue #855 2011-09-02 15:13:41 -07:00
rustllvm Follow LLVM header file shuffling 2011-08-28 20:59:05 +02:00
test Eliminate const_refcount. Issue #855 2011-09-02 15:13:41 -07:00
README
snapshots.txt Register new snapshots 2011-09-01 18:42:46 -07:00

This is preliminary version of the Rust compiler(s).

Source layout:

comp/              The self-hosted compiler

lib/               The standard library

rustllvm/          LLVM support code

rt/                The runtime system
rt/rust_*.cpp      - The majority of the runtime services
rt/isaac           - The PRNG used for pseudo-random choices in the runtime
rt/bigint          - The bigint library used for the 'big' type
rt/uthash          - Small hashtable-and-list library for C, used in runtime
rt/libuv           - The library used for async IO in the runtime
rt/{sync,util}     - Small utility classes for the runtime.

test/              Testsuite
test/compile-fail  - Tests that should fail to compile
test/run-fail      - Tests that should compile, run and fail
test/run-pass      - Tests that should compile, run and succeed
test/bench         - Benchmarks and miscellanea

Please be gentle, it's a work in progress.