about summary refs log tree commit diff
path: root/src/librusti
AgeCommit message (Collapse)AuthorLines
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-13When running rusti, consume the JIT contexts and collect them in the parent taskAlex Crichton-35/+68
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-08Bump version numbers to 0.8-preBrian Anderson-1/+1
2013-07-08auto merge of #7568 : alexcrichton/rust/check-lite, r=huonwbors-2/+2
A lot of cross-platform issues stem from rusti/rustpkg, so include these two test suites in the 'check-lite' target which is run on the cross-compile bots. It shouldn't be much of a performance hit because these suites are pretty fast to run. Hopefully this will make snapshot/tarball creation easier in the future.
2013-07-07Add rusti/rustpkg to check-liteAlex Crichton-2/+2
Ironically also disable rusti tests for now, but mainly because they're awaiting LLVM upgrades before proceeding
2013-07-07remove some method resolve workaroundsDaniel Micay-1/+1
2013-07-07Fix rustdoc and rustiJames Miller-3/+3
2013-07-06auto merge of #7581 : alexcrichton/rust/better-rusti, r=pcwaltonbors-15/+1
This is more future-proof
2013-07-04Bring compiletest/rustpkg/driver up to date on std vs coreAlex Crichton-1/+3
2013-07-03Use #[allow(warnings)] in rusti instead of explicitly listing warningsAlex Crichton-15/+1
2013-07-02Completely disable rusti on 32-bit hostsAlex Crichton-671/+3
2013-07-01Ignore all rusti tests harder. #7541Brian Anderson-1/+2
2013-07-01Ignore all rusti tests. #7541Brian Anderson-1/+2
2013-07-01Turn on using LLVM threadsafelyAlex Crichton-34/+49
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-2/+2
2013-06-28librustc: Fix merge fallout and test cases.Patrick Walton-0/+666
2013-06-28librustc: Remove the broken overloaded assign-ops from the language.Patrick Walton-1/+2
They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits.
2013-06-27Convert vec::[mut_]slice to methods, remove vec::const_slice.Huon Wilson-2/+2
2013-06-26Fix a formatting bug in rustiAlex Crichton-1/+6
2013-06-25remove `each` from vec, HashMap and HashSetDaniel Micay-4/+4
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-0/+0
2013-06-23vec: remove BaseIter implementationDaniel Micay-8/+8
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-21vec: rm old_iter implementations, except BaseIterDaniel Micay-3/+3
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-18rusti: Disable tests on macos harderBrian Anderson-4/+4
2013-06-18rusti: disable tests on 32bit mac. r=burningtree.Graydon Hoare-0/+6
2013-06-16std: allow any sort of string to be Added with +.Huon Wilson-1/+1
2013-06-15auto merge of #7125 : alexcrichton/rust/rusti-issues, r=brsonbors-2/+12
This un-reverts the reverts of the rusti commits made awhile back. These were reverted for an LLVM failure in rustpkg. I believe that this is not a problem with these commits, but rather that rustc is being used in parallel for rustpkg tests (in-process). This is not working yet (almost! see #7011), so I serialized all the tests to run one after another. @brson, I'm mainly just guessing as to the cause of the LLVM failures in rustpkg tests. I'm confident that running tests in parallel is more likely to be the problem than those commits I made. Additionally, this fixes two recently reported issues with rusti.
2013-06-14add IteratorUtil to the preludeDaniel Micay-3/+0
2013-06-13Resolve LLVM crashing in rustpkg testsAlex Crichton-1/+1
2013-06-13Correctly parse commands for rustiAlex Crichton-1/+11
Closes #7120
2013-06-13Revert "Revert "Have JIT execution take ownership of the LLVMContextRef""Alex Crichton-4/+0
This reverts commit 19adece68b00bd1873499cca6f1537750608d769.
2013-06-13Revert "Revert "Remove all usage of the global LLVMContextRef""Alex Crichton-0/+4
This reverts commit 541c657a738006d78171aa261125a6a46f283b35.
2013-06-13Revert "Remove all usage of the global LLVMContextRef"Brian Anderson-4/+0
This reverts commit 779191cd4b8719e8efdf69fb6da93e2a8905ca1d. Conflicts: src/librustc/middle/trans/base.rs src/librustc/middle/trans/common.rs
2013-06-13Revert "Have JIT execution take ownership of the LLVMContextRef"Brian Anderson-0/+4
This reverts commit 5c5095d25e3652c434c8d4ec178e6844877e3c2d. Conflicts: src/librusti/rusti.rc
2013-06-12Rewrite rustiAlex Crichton-162/+777
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-3/+3
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-12std: remove substr & str::count_*, methodise char_len, implement slice_chars.Huon Wilson-2/+3
The confusing mixture of byte index and character count meant that every use of .substr was incorrect; replaced by slice_chars which only uses character indices. The old behaviour of `.substr(start, n)` can be emulated via `.slice_from(start).slice_chars(0, n)`.
2013-06-10Have JIT execution take ownership of the LLVMContextRefAlex Crichton-3/+5
Also stop leaking the ExecutionEngine created for jit code by forcibly disposing of it after the JIT code has finished executing
2013-06-10std: remove str::{connect,concat}*.Huon Wilson-1/+1
2013-06-10std: convert str::trim* to methods.Huon Wilson-1/+1
2013-06-10std: replace str::each_split* with an iteratorHuon Wilson-2/+4
2013-06-05removed some interner fieldsJohn Clements-1/+1
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-2/+2
Part of #3853
2013-06-01rustc/rusti/rustpkg: Infer packages from `extern mod` directivesTim Chevalier-6/+7
This commit won't be quite as useful until I implement RUST_PATH and until we change `extern mod` to take a general string instead of an identifier (#5682 and #6407). With that said, now if you're using rustpkg and a program contains: extern mod foo; rustpkg will attempt to search for `foo`, so that you don't have to provide a -L directory explicitly. In addition, rustpkg will actually try to build and install `foo`, unless it's already installed (specifically, I tested that `extern mod extra;` would not cause it to try to find source for `extra` and compile it again). This is as per #5681. Incidentally, I changed some driver code to infer the link name from the crate link_meta attributes. If that change isn't ok, say something. Also, I changed the addl_lib_search_paths field in the session options to be an @mut ~[Path] so that it can be modified after expansion but before later phases.
2013-05-30Remove a bunch of unnecessary allocations and copiesBjörn Steinbrink-6/+5
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-10/+10