summary refs log tree commit diff
path: root/src/libcore/unstable
AgeCommit message (Collapse)AuthorLines
2013-03-30Rename confusing var, use_new_rt -> use_old_rt.Luqman Aden-4/+4
2013-03-30Correct type signature for start lang item.Luqman Aden-0/+26
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-1/+1
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-54/+54
2013-03-28Removing unused importsAlex Crichton-4/+6
2013-03-28auto merge of #5608 : erickt/rust/incoming, r=catamorphismbors-0/+5
@nikomatsakis pointed out that `fn read_option<T>(&self, f: &fn() -> T) -> Option<T>` should have this syntax so it can work with custom option types: `fn read_option<T>(&self, f: &fn(bool) -> T) -> T`. Also, this also includes some `#[inline(always)]` on the memory functions in `src/libcore/unstable/lang.rs` to reduce one level of indirection when allocating memory.
2013-03-28core: Inline mallocing wrapper functionsErick Tryzelaar-0/+5
As far as I can tell, this doesn't make rust compile any faster, but it does at least remove one level of indirection on malloc, which might help speed up some operations.
2013-03-28Register snapshotsBrian Anderson-189/+0
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-2/+2
2013-03-26option: rm functions that duplicate methodsDaniel Micay-1/+1
2013-03-26Check for null in return_to_mut. Fixes #4904.Niko Matsakis-2/+6
2013-03-25Merge remote-tracking branch 'brson/rt'Brian Anderson-1944/+14
Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs
2013-03-22libcore: Fix obsolete syntax in extfmtPatrick Walton-18/+17
2013-03-22librustc: Add explicit lifetime binders and new lifetime notation in ↵Patrick Walton-2/+2
core/std/syntax/rustc
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-9/+9
2013-03-22auto merge of #5488 : pcwalton/rust/depure, r=pcwaltonbors-13/+13
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-13/+13
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-1/+1
2013-03-22Pass the fmt! buffer to each conversion methodAlex Crichton-0/+209
Achieves a little more speedup and avoids allocations around some strings in conv_str
2013-03-22core: replace uses of old deriving attribute with new oneAndrew Paseltiner-9/+9
2013-03-21auto merge of #5480 : pcwalton/rust/at-const, r=pcwaltonbors-0/+1
r? @catamorphism
2013-03-21librustc: Forbid destructors from being attached to any structs that might ↵Patrick Walton-0/+1
contain non-Owned fields. r=nmatsakis
2013-03-21Un-renamed trim and substr functions.Marvin Löbel-2/+2
2013-03-21Switched over substr and trim functions in str to be non-allocating, ↵Marvin Löbel-2/+2
temporary renamed them to better track use-sites
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-1/+1
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-1/+1
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-20libsyntax: Never use `::<>` in the type grammarPatrick Walton-1/+1
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-3/+3
notation. rs=delifetiming
2013-03-18Add a way to run the test suite with the new schedulerBrian Anderson-5/+14
TESTARGS=--newrt make check-stage1-rpass Conflicts: src/rt/rustrt.def.in
2013-03-18Give core::rt and std::net their own uvll bindingsBrian Anderson-1939/+0
I intend to do some big refactoring and don't want to deal w/ std just now
2013-03-15impl Clone for ~T, ~[T], ~strBen Striegel-3/+3
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-3/+4
2013-03-13Remove `++` mode from the compiler (it is parsed as `+` mode)Niko Matsakis-2/+2
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-11Remove uses of logBrian Anderson-98/+98
2013-03-11core: Add rt mod and add the new scheduler codeBrian Anderson-0/+1939
2013-03-11rt/core: port os::list_dir to rust ref #4812Jeff Olson-0/+15
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-57/+57
2013-03-07libcore: Remove `extern mod { ... }` from libcore. rs=deexterningPatrick Walton-7/+15
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-4/+4
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-05auto merge of #5233 : bstrie/rust/deimpselfcore, r=graydonbors-1/+1
2013-03-04De-implicit-self libcoreBen Striegel-1/+1
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-2/+8
2013-03-04Remove unused imports throughout src/Alex Crichton-13/+5
2013-03-02libcore: Remove `fn@`, `fn~`, and `fn&` from libcore. rs=defunPatrick Walton-7/+6
2013-03-01core: Move core::rt to core::unstable::langBrian Anderson-0/+136
2013-03-01Rename core::private to core::unstable. #4743Brian Anderson-0/+1568