rust/src
bors 15d78fc398 auto merge of #5329 : wanderview/rust/std-getopts-opts_present, r=graydon
Currently the opts_present() function only checks to see if the option is
configured in the match, but doesn't actually check to see if the option
value has been set.  This means that opt_present('h') may return false while
opts_present([~'h']) returns true.

Add a test case to catch this condition and fix opts_present() to check
the value before returning true.

Note, there is another API difference between these two functions that this
does not address.  Currently if you pass a non-configured option to
opt_present() the program will fail!(), but opts_present() simply returns
false.  If it is acceptable to standardize on the fail!() then opts_present()
should probably be implemented in terms of the opt_present() function.
2013-03-12 09:21:56 -07:00
..
compiletest librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
driver
etc Stop parsing __asm__. 2013-03-12 01:03:34 -07:00
libcore auto merge of #5333 : brson/rust/context, r=brson 2013-03-12 01:51:43 -07:00
libfuzzer librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
librust Finish de-implicit-selfing everything but the test suite 2013-03-08 19:34:39 -05:00
librustc Add alignstack option for inline asm. 2013-03-12 01:03:35 -07:00
librustdoc libstd: Remove all newtype enums from std and core. 2013-03-11 09:35:59 -07:00
librusti librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
librustpkg librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
libstd auto merge of #5329 : wanderview/rust/std-getopts-opts_present, r=graydon 2013-03-12 09:21:56 -07:00
libsyntax Add alignstack option for inline asm. 2013-03-12 01:03:35 -07:00
libuv@576ab1db8e core: Add rt mod and add the new scheduler code 2013-03-11 19:44:29 -07:00
llvm@accc36b3e3
rt core: Add rt mod and add the new scheduler code 2013-03-11 19:44:29 -07:00
rustllvm Wrap llvm::InlineAsm::AsmDialect 2013-03-12 01:03:34 -07:00
test auto merge of #5328 : bstrie/rust/optadd, r=graydon 2013-03-12 00:57:43 -07:00
README.txt
snapshots.txt

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

Source layout:

librustc/          The self-hosted compiler

libcore/           The core library (imported and linked by default)
libstd/            The standard 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
rt/linenoise       - a readline-like line editing library

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

librusti/          The JIT REPL

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