rust/src
Chris Morgan 0369a41f0e Rename files to match current recommendations.
New standards have arisen in recent months, mostly for the use of
rustpkg, but the main Rust codebase has not been altered to match these
new specifications. This changeset rectifies most of these issues.

- Renamed the crate source files `src/libX/X.rs` to `lib.rs`, for
  consistency with current styles; this affects extra, rustc, rustdoc,
  rustpkg, rustuv, std, syntax.

- Renamed `X/X.rs` to `X/mod.rs,` as is now recommended style, for
  `std::num` and `std::terminfo`.

- Shifted `src/libstd/str/ascii.rs` out of the otherwise unused `str`
  directory, to be consistent with its import path of `std::ascii`;
  libstd is flat at present so it's more appropriate thus.

While this removes some `#[path = "..."]` directives, it does not remove
all of them, and leaves certain other inconsistencies, such as `std::u8`
et al. which are actually stored in `src/libstd/num/` (one subdirectory
down). No quorum has been reached on this issue, so I felt it best to
leave them all alone at present. #9208 deals with the possibility of
making libstd more hierarchical (such as changing the crate to match the
current filesystem structure, which would make the module path
`std::num::u8`).

There is one thing remaining in which this repository is not
rustpkg-compliant: rustpkg would have `src/std/` et al. rather than
`src/libstd/` et al. I have not endeavoured to change that at this point
as it would guarantee prompt bitrot and confusion. A change of that
magnitude needs to be discussed first.
2013-11-03 23:49:01 +11:00
..
compiletest auto merge of #9613 : jld/rust/enum-discrim-size.r0, r=alexcrichton 2013-10-30 00:31:23 -07:00
driver remove rust and rusti from driver.rs 2013-10-19 13:31:39 +04:00
etc std::rand: correct an off-by-one in the Ziggurat code. 2013-10-31 23:49:39 +11:00
gyp@f407f09c94 Upgrade libuv to the current master (again) 2013-09-06 11:12:49 -07:00
libextra Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00
librustc Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00
librustdoc Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00
librustpkg Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00
librustuv Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00
libstd Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00
libsyntax Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00
libuv@d88cf5652a Upgrade libuv to the current master (again) 2013-09-06 11:12:49 -07:00
llvm@c9ffab392a Upgrade LLVM to close #9117 2013-09-15 20:26:40 -07:00
rt Statically link libuv to librustuv 2013-11-02 21:28:17 -07:00
rustllvm add support for the cold function attribute 2013-10-28 15:34:50 -04:00
test auto merge of #10242 : thestinger/rust/inline_dtor, r=alexcrichton 2013-11-02 23:26:00 -07:00
README.txt drop the linenoise library 2013-10-16 22:57:51 -04:00
snapshots.txt Register new snapshots 2013-11-01 16:51:33 -07: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