rust/src
Haitao Li fba0df72d3 Use attributes for native module ABI and link name [temp]
This patch adds support of using attributes to specify native mode ABI
and link name. The old optional syntax like:
  native "cdecl" mod llvm = "rustllvm" { ... }
is still supported.

This is a transitional commit to avoid making a stage1 (backward
imcompatible) snapshot.
2011-11-16 23:45:07 +08:00
..
comp Use attributes for native module ABI and link name [temp] 2011-11-16 23:45:07 +08:00
compiletest Cleanup unused imports in tests 2011-11-10 19:19:40 -08:00
etc Re-add libuv as a submodule. 2011-11-08 19:01:47 -08:00
fuzzer Cleanup unused imports 2011-11-10 19:19:40 -08:00
lib rustc: Use link_name attribute for native function 2011-11-16 23:45:07 +08:00
libuv@f1859eb841 Re-add libuv as a submodule. 2011-11-08 19:01:47 -08:00
llvm@566f233ba6 Add an LLVM git submodule 2011-11-05 13:23:10 -07:00
rt Revert "rt: More work on morestack" 2011-11-14 16:20:53 -08:00
rustllvm rustllvm: Add a GetOrInsertFunction wrapper 2011-11-15 00:33:29 +08:00
test rustc: Use link_name attribute for native function 2011-11-16 23:45:07 +08:00
README
snapshots.txt Register snapshots 2011-11-09 17:55:12 -08:00

This is preliminary version of the Rust compiler.

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.