rust/src
Ralph Giles 06f0713906 Mark valgrind's _qzz_res as unused to silence warnings on gcc 4.6.
This applies c11675 by Julian Seward from valgrind trunk
(svn://svn.valgrind.org/valgrind/trunk) to rustrt's included
copies of memcheck.h and valgrind.h, effectively backporting
the fix from the unreleased 3.6.2. The commit simply applies
the gcc 'unused' attribute to the relevant declarations.

This change allows compilation of the runtime code under
gcc 4.6 with -Werror, as the makefile currently requests.
2011-05-05 10:55:54 -07:00
..
boot Un-revert "Use different syntax for checks that matter to typestate", fixing the problem. 2011-05-02 17:50:46 -07:00
comp rustc: Add a Link module; move crate writing to it to slim down trans slightly 2011-05-05 10:48:02 -07:00
etc More python portability fixes (for windows). 2011-05-03 16:53:36 -07:00
lib Un-revert "Use different syntax for checks that matter to typestate", fixing the problem. 2011-05-02 17:50:46 -07:00
rt Mark valgrind's _qzz_res as unused to silence warnings on gcc 4.6. 2011-05-05 10:55:54 -07:00
rustllvm rustllvm: Add bindings to the LLVM linker 2011-05-04 21:27:00 -07:00
test Add missing ret statements to check_mod 2011-05-04 19:29:27 -04:00
README Mention test/bench in README 2011-03-14 15:52:48 -07:00
run.py Make run.py only search in the run-pass directory. 2010-09-07 18:41:07 -07:00
snapshots.txt Re-snapshot to pick up fixed crasher bugs in resolve and performance improvements. 2011-05-04 19:05:32 -07:00

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

Source layout:

boot/              The bootstrap compiler
boot/README        - More-detailed guide to it.
boot/fe            - Front end (lexer, parser, AST)
boot/me            - Middle end (resolve, check, layout, trans)
boot/be            - Back end (IL, RA, insns, asm, objfiles)
boot/util          - Ubiquitous helpers
boot/driver        - Compiler driver

comp/              The self-hosted compiler ("rustc": incomplete)
comp/*             - Similar structure as in boot/

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 (for both bootstrap and self-hosted)
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.