rust/src
Brian Anderson 190644063e Be more strategic about linking to rust crates
Instead of linking directly to the rust crate, try to figure out the location
and name of the library from the file name, then call gcc with appropriate -L,
-l flags. This will allow dynamic linking to be more forgiving about where it
loads the library from at runtime - currently a stage3 compiler can't run
correctly from the stage0 directory. Only tested on Linux. Fingers crossed.
2011-06-29 14:35:39 -07:00
..
comp Be more strategic about linking to rust crates 2011-06-29 14:35:39 -07:00
etc Bit more work on mingw cross. Pending on other changes now (test combination, build artifact locations) 2011-06-28 11:18:34 -07:00
fuzzer fuzzer: Begin writing main 2011-05-20 22:32:41 -04:00
lib Comments. 2011-06-28 18:54:56 -07:00
rt Add a runtime flag to enable/disable claims en masse 2011-06-29 14:28:02 -07:00
rustllvm Easy fix for using newer LLVMs: just use the MachOObjectFile.cpp they provide. 2011-06-27 11:52:23 -04:00
test Add a runtime flag to enable/disable claims en masse 2011-06-29 14:28:02 -07:00
README Update README files 2011-06-26 22:27:22 -07:00
snapshots.txt Revert "Register new snapshots" 2011-06-28 22:50:20 -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/{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.