rust/src
bors 9d1de0b699 auto merge of #11077 : alexcrichton/rust/crate-id, r=cmr
Right now the --crate-id and related flags are all process *after* the entire
crate is parsed. This is less than desirable when used with makefiles because it
means that just to learn the output name of the crate you have to parse the
entire crate (unnecessary).

This commit changes the behavior to lift the handling of these flags much sooner
in the compilation process. This allows us to not have to parse the entire crate
and only have to worry about parsing the crate attributes themselves. The
related methods have all been updated to take an array of attributes rather than
a crate.

Additionally, this ceases duplication of the "what output are we producing"
logic in order to correctly handle things in the case of --test.

Finally, this adds tests for all of this functionality to ensure that it does
not regress.
2013-12-20 15:21:33 -08:00
..
compiletest Make Android tests fail if no device is available 2013-12-18 18:12:46 -08:00
driver Make crate hash stable and externally computable. 2013-12-10 17:04:24 -07:00
etc auto merge of #11073 : klutzy/rust/issue-10978, r=alexcrichton 2013-12-19 20:06:36 -08:00
gyp@f407f09c94 Upgrade libuv to the current master (again) 2013-09-06 11:12:49 -07:00
libextra auto merge of #11071 : huonw/rust/quiet-test, r=cmr 2013-12-19 18:51:39 -08:00
librustc auto merge of #11077 : alexcrichton/rust/crate-id, r=cmr 2013-12-20 15:21:33 -08:00
librustdoc auto merge of #11057 : alexcrichton/rust/no-at-in-ebml, r=pcwalton 2013-12-19 17:11:40 -08:00
librustpkg Rename pkgid to crate_id 2013-12-19 10:10:23 -05:00
librustuv auto merge of #11041 : cmr/rust/pkgid_changes, r=cmr,metajack 2013-12-19 07:51:36 -08:00
libstd auto merge of #10986 : adridu59/rust/patch-new, r=alexcrichton 2013-12-20 12:41:33 -08:00
libsyntax auto merge of #11077 : alexcrichton/rust/crate-id, r=cmr 2013-12-20 15:21:33 -08:00
libuv@2207d4ab07 Upgrade libuv to fix a leak on OSX 2013-12-18 23:00:04 -08:00
llvm@eac6ff795c Remove unused upcalls 2013-12-05 16:29:16 -08:00
rt Register new snapshots 2013-12-07 23:02:39 -08:00
rustllvm rustc: Optimize reading metadata by 4x 2013-12-19 23:34:32 -08:00
test auto merge of #11077 : alexcrichton/rust/crate-id, r=cmr 2013-12-20 15:21:33 -08:00
README.txt drop the linenoise library 2013-10-16 22:57:51 -04:00
snapshots.txt Register new snapshots 2013-12-18 09:32:03 -08:00

This is a preliminary version of the Rust compiler, libraries and tools

Source layout:

librustc/          The self-hosted compiler

libstd/            The standard library (imported and linked by default)
libextra/          The "extras" library (slightly more peripheral code)
libsyntax/         The Rust parser and pretty-printer

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            - Concurrency utils
rt/util            - Small utility classes for the runtime.
rt/vg              - Valgrind headers
rt/msvc            - MSVC support

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
test/pretty        - Pretty-printer tests
test/auxiliary     - Dependencies of tests

compiletest/       The test runner

librustpkg/        The package manager and build system

librustdoc/        The Rust API documentation tool

llvm/              The LLVM submodule

libuv/             The libuv submodule

rustllvm/          LLVM support code

libfuzzer/         A collection of fuzz testers

etc/               Scripts, editor support, misc