about summary refs log tree commit diff
path: root/src/librusti/program.rs
AgeCommit message (Collapse)AuthorLines
2013-10-16remove the rusti commandDaniel Micay-416/+0
Closes #9818 Closes #9567 Closes #8924 Closes #8910 Closes #8392 Closes #7692 Closes #7499 Closes #7220
2013-10-07Fix existing privacy/visibility violationsAlex Crichton-1/+1
This commit fixes all of the fallout of the previous commit which is an attempt to refine privacy. There were a few unfortunate leaks which now must be plugged, and the most horrible one is the current `shouldnt_be_public` module now inside `std::rt`. I think that this either needs a slight reorganization of the runtime, or otherwise it needs to just wait for the external users of these modules to get replaced with their `rt` implementations. Other fixes involve making things pub which should be pub, and otherwise updating error messages that now reference privacy instead of referencing an "unresolved name" (yay!).
2013-09-30rusti: Remove usage of fmt!Alex Crichton-26/+26
2013-09-18Register new snapshotsAlex Crichton-1/+1
2013-09-03Modernized a few more types in syntax::astMarvin Löbel-5/+5
2013-08-10Mass rename of .consume{,_iter}() to .move_iter()Erick Tryzelaar-3/+3
cc #7887
2013-08-03remove obsolete `foreach` keywordDaniel Micay-12/+12
this has been replaced by `for`
2013-08-03replace all remaining `for` with `foreach` or `do`Daniel Micay-2/+2
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-10/+10
2013-07-22Ast spanned<T> refactoring, renaming: crate, local, blk, crate_num, crate_cfg.Michael Woerister-4/+4
`crate => Crate` `local => Local` `blk => Block` `crate_num => CrateNum` `crate_cfg => CrateConfig` Also, Crate and Local are not wrapped in spanned<T> anymore.
2013-07-18hashmap: Remove .consume() has rename .consume_iter() to .consume()blake2-ppc-3/+7
Updated all users of HashMap, HashSet old .consume() to use .consume() with a for loop. Since .consume() takes the map or set by value, it needs awkward extra code to in librusti's use of @mut HashMap, where the map value can not be directly moved out.
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-5/+7
2013-07-17Made ast::blk not use spanned<T> anymore.Michael Woerister-2/+2
2013-07-14Make TLS keys actually take up spaceAlex Crichton-6/+4
If the TLS key is 0-sized, then the linux linker is apparently smart enough to put everything at the same pointer. OSX on the other hand, will reserve some space for all of them. To get around this, the TLS key now actuall consumes space to ensure that it gets a unique pointer
2013-07-14Purge the last remnants of the old TLS apiAlex Crichton-16/+8
Closes #3273
2013-07-11Fix testsAlex Crichton-4/+4
2013-07-11Remove all external requirements of `@` from TLSAlex Crichton-1/+1
Closes #6004
2013-07-09Rename local_data methods/types for less keystrokesAlex Crichton-3/+3
2013-07-03Use #[allow(warnings)] in rusti instead of explicitly listing warningsAlex Crichton-15/+1
2013-06-26Fix a formatting bug in rustiAlex Crichton-1/+1
2013-06-25remove `each` from vec, HashMap and HashSetDaniel Micay-4/+4
2013-06-23vec: remove BaseIter implementationDaniel Micay-3/+3
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-12Rewrite rustiAlex Crichton-0/+434