b5f9053423
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! |
||
---|---|---|
.. | ||
comp | ||
etc | ||
fuzzer | ||
lib | ||
rt | ||
rustllvm | ||
test | ||
README | ||
snapshots.txt |
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.