rust/src
bors 8780d9c6b5 auto merge of #17134 : vberger/rust/lint_unused_extern_crate, r=alexcrichton
This PR creates a new lint : ``unused_extern_crate``, which do pretty much the same thing as ``unused_import``, but for ``extern crate`` statements. It is related to feature request #10385.

I adapted the code tracking used imports so that it tracks extern crates usage as well. This was mainly trial and error and while I believe all cases are covered, there might be some code I added that is useless (long compile times didn't give me the opportunity to check this in detail).

Also, I removed some unused ``extern crate`` statements from the libs, that where spotted by this new lint.
2014-09-12 19:05:53 +00:00
..
compiler-rt@62a4ca6055
compiletest run optimization and codegen on worker threads 2014-09-05 09:18:55 -07:00
doc auto merge of #16657 : steveklabnik/rust/goodbye_tutorial, r=brson 2014-09-12 01:15:41 +00:00
driver Updated to new extern crate syntax. 2014-09-01 09:02:00 -07:00
etc auto merge of #17159 : brson/rust/snaps, r=alexcrichton 2014-09-12 11:20:42 +00:00
grammar
gyp@1e46da1000
jemalloc@aae04170cc micro-optimize dynamic allocation alignment 2014-09-10 03:50:39 -04:00
liballoc auto merge of #17110 : thestinger/rust/dst, r=cmr 2014-09-11 04:55:41 +00:00
libarena Remove some test warnings. 2014-09-09 11:32:58 +02:00
libbacktrace
libcollections Remove some test warnings. 2014-09-09 11:32:58 +02:00
libcore auto merge of #17159 : brson/rust/snaps, r=alexcrichton 2014-09-12 11:20:42 +00:00
libcoretest auto merge of #16662 : pczarn/rust/format-fmtstr-opt, r=brson 2014-09-09 23:55:43 +00:00
libdebug Remove some test warnings. 2014-09-09 11:32:58 +02:00
libflate
libfmt_macros Center alignment for fmt 2014-09-04 07:38:53 -07:00
libfourcc
libgetopts
libglob Disable test_lots_of_files on Windows 2014-09-05 19:55:25 -07:00
libgraphviz Remove some test warnings. 2014-09-09 11:32:58 +02:00
libgreen Remove some test warnings. 2014-09-09 11:32:58 +02:00
libhexfloat
liblibc readdir: return error instead of failing on invalid UTF-16 2014-09-06 12:51:42 -04:00
liblog Rename RawPtr::to_option() to RawPtr::as_ref() 2014-08-31 13:33:55 -05:00
libnative rollup merge of #17020 : nodakai/libnative-c_int 2014-09-09 12:07:11 -07:00
libnum Remove some test warnings. 2014-09-09 11:32:58 +02:00
librand rand: inform the optimiser that indexing is never out-of-bounds. 2014-09-08 19:33:37 +10:00
librbml Remove some test warnings. 2014-09-09 11:32:58 +02:00
libregex auto merge of #16982 : jbcrail/rust/comment-and-string-corrections, r=alexcrichton 2014-09-04 18:30:59 +00:00
libregex_macros
librlibc Remove some test warnings. 2014-09-09 11:32:58 +02:00
librustc auto merge of #17134 : vberger/rust/lint_unused_extern_crate, r=alexcrichton 2014-09-12 19:05:53 +00:00
librustc_back auto merge of #17134 : vberger/rust/lint_unused_extern_crate, r=alexcrichton 2014-09-12 19:05:53 +00:00
librustc_llvm run optimization and codegen on worker threads 2014-09-05 09:18:55 -07:00
librustdoc rollup merge of #17090 : alexcrichton/rustdoc-no-strip 2014-09-09 12:07:13 -07:00
librustrt Remove some test warnings. 2014-09-09 11:32:58 +02:00
librustuv Updated to new extern crate syntax. 2014-09-01 09:02:00 -07:00
libsemver
libserialize Decoding json now defaults Option<_> to None. 2014-09-09 07:28:59 +02:00
libstd auto merge of #16952 : alexcrichton/rust/windows-large-console-write, r=brson 2014-09-08 20:51:14 +00:00
libsync Remove some test warnings. 2014-09-09 11:32:58 +02:00
libsyntax auto merge of #17134 : vberger/rust/lint_unused_extern_crate, r=alexcrichton 2014-09-12 19:05:53 +00:00
libterm
libtest Have std::io::TempDir::new and new_in return IoResult 2014-08-31 22:06:11 +02:00
libtime auto merge of #16981 : kmcallister/rust/ctypes-warning, r=alexcrichton 2014-09-04 13:01:00 +00:00
libunicode Fix spelling errors and capitalization. 2014-09-03 23:10:38 -04:00
liburl
libuuid Remove some test warnings. 2014-09-09 11:32:58 +02:00
libuv@dec0561d19
llvm@e9d0374194 Update LLVM to fix a crash in the MergeFunc pass 2014-09-08 17:07:03 +02:00
rt readdir: return error instead of failing on invalid UTF-16 2014-09-06 12:51:42 -04:00
rustllvm Update LLVM to fix a crash in the MergeFunc pass 2014-09-08 17:07:03 +02:00
test auto merge of #17134 : vberger/rust/lint_unused_extern_crate, r=alexcrichton 2014-09-12 19:05:53 +00:00
README.md
snapshots.txt Register snapshots 2014-09-10 18:33:54 -07:00

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

Source layout:

Path Description
librustc/ The self-hosted compiler
liballoc/ Rust's core allocation library
libcore/ The Rust core library
libdebug/ Debugging utilities
libstd/ The standard library (imported and linked by default)
libgreen/ The M:N runtime library
libnative/ The 1:1 runtime library
libsyntax/ The Rust parser and pretty-printer
libtest/ Rust's test-runner code
------------------- ---------------------------------------------------------
libarena/ The arena (a fast but limited) memory allocator
libbacktrace/ The libbacktrace library
libcollections/ A collection of useful data structures and containers
libflate/ Simple compression library
libfmt_macros/ Macro support for format strings
libfourcc/ Data format identifier library
libgetopts/ Get command-line-options library
libglob/ Unix glob patterns library
libgraphviz/ Generating files for Graphviz
libhexfloat/ Hexadecimal floating-point literals
liblibc/ Bindings for the C standard library
liblog/ Utilities for program-wide and customizable logging
libnum/ Extended number support library (complex, rational, etc)
librand/ Random numbers and distributions
libregex/ Regular expressions
libregex_macros/ The regex! syntax extension
libsemver/ Rust's semantic versioning library
libserialize/ Encode-Decode types library
libsync/ Concurrency mechanisms and primitives
libterm/ ANSI color library for terminals
libtime/ Time operations library
liburl/ URL handling lirary
libuuid/ UUID's handling code
------------------- ---------------------------------------------------------
rt/ The runtime system
rt/rust_*.c - Some of the runtime services
rt/vg - Valgrind headers
rt/msvc - MSVC support
rt/sundown - The Markdown library used by rustdoc
------------------- ---------------------------------------------------------
compiletest/ The test runner
test/ Testsuite
test/codegen - Tests for the LLVM IR infrastructure
test/compile-fail - Tests that should fail to compile
test/debug-info - Tests for the debuginfo tool
test/run-fail - Tests that should compile, run and fail
test/run-make - Tests that depend on a Makefile infrastructure
test/run-pass - Tests that should compile, run and succeed
test/bench - Benchmarks and miscellaneous
test/pretty - Pretty-printer tests
test/auxiliary - Dependencies of tests
------------------- ---------------------------------------------------------
librustdoc/ The Rust API documentation tool
libuv/ The libuv submodule
librustuv/ Rust libuv support code
------------------- ---------------------------------------------------------
llvm/ The LLVM submodule
rustllvm/ LLVM support code
------------------- ---------------------------------------------------------
etc/ Scripts, editors support, misc

NOTE: This list (especially the second part of the table which contains modules and libraries) is highly volatile and subject to change.