summary refs log tree commit diff
path: root/src/librust/rust.rs
AgeCommit message (Collapse)AuthorLines
2013-09-24auto merge of #9480 : brson/rust/noexit, r=thestingerbors-5/+4
This can cause unexpected errors in the runtime when done while scheduler threads are still initializing. Required some restructuring of the main_args functions in our libraries.
2013-09-24Don't use libc::exit. #9473Brian Anderson-5/+4
This can cause unexpected errors in the runtime when done while scheduler threads are still initializing. Required some restructuring of the main_args functions in our libraries.
2013-09-24rust: Don't call libc::exitBrian Anderson-4/+6
This appears to eliminate the common errors with assertions failures in rust_initialize_rt_tls_key.
2013-09-22rustdoc: Out with the old, in with the newAlex Crichton-1/+5
Removes old rustdoc, moves rustdoc_ng into its place instead (plus drops the _ng suffix). Also shreds all reference to rustdoc_ng from the Makefile rules.
2013-09-21Update version numbers to 0.8Brian Anderson-1/+1
2013-09-15rust test: pass the remaining arguments throughDavid Creswick-3/+4
The arguments after `rust test filename.rs` should be passed through to the test binary. This allows the `rust` command to be used to run a subset of tests, to run ignored tests, and to run benchmarks.
2013-09-12librust: Remove unnecessary workaround. Closes #7617Luqman Aden-14/+8
2013-09-04Update clients of path.rs to use new API.Felix S. Klock II-2/+4
In most cases this involved removing a ~str allocations or clones (yay), or coercing a ~str to a slice. In a few places, I had to bind an intermediate Path (e.g. path.pop() return values), so that it would live long enough to support the borrowed &str. And in a few places, where the code was actively using the property that the old API returned ~str's, I had to put in to_owned() or clone(); but in those cases, we're trading an allocation within the path.rs code for one in the client code, so they neutralize each other.
2013-08-23removed os::set_args, closing #8325Do Nhat Minh-10/+9
removed pub on real_args, changed test to use args
2013-08-19Add externfn macro and correctly label fixed_stack_segmentsNiko Matsakis-0/+2
2013-08-10std: Transform.find_ -> .findErick Tryzelaar-1/+1
2013-08-07core: option.map_consume -> option.map_moveErick Tryzelaar-1/+1
2013-08-03remove obsolete `foreach` keywordDaniel Micay-2/+2
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-2/+2
2013-07-28librust: Stop rust tool from crashing on macos.Luqman Aden-1/+7
2013-07-24Change 'print(fmt!(...))' to printf!/printfln! in src/lib*Birunthan Mohanathas-5/+4
2013-07-17librustc: Remove all uses of the `Copy` bound.Patrick Walton-5/+5
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-2/+2
2013-07-17librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them.Patrick Walton-1/+1
2013-07-08Bump version numbers to 0.8-preBrian Anderson-1/+1
2013-07-01rustc: add a lint to enforce uppercase statics.Huon Wilson-5/+5
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-1/+1
2013-06-30auto merge of #7468 : cmr/rust/great_renaming, r=pcwaltonbors-17/+4
2013-06-29Add -v/--version support to rust binaryJordi Boggiano-0/+6
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-17/+4
2013-06-29Make librust satisfy noncopyable stack closuresBen Blum-3/+3
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-0/+255