summary refs log tree commit diff
path: root/src/libcore/rt
AgeCommit message (Collapse)AuthorLines
2013-04-01remove stray mode on callback, seems to not change anythingGraydon Hoare-1/+1
2013-03-30Correct type signature for start lang item.Luqman Aden-0/+20
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-88/+88
2013-03-29auto merge of #5570 : alexcrichton/rust/fix-unused-imports, r=sanxiynbors-12/+7
Before it wouldn't warn about unused imports in the list if something in the list was used. These commits fix that case, add a test, and remove all unused imports in lists of imports throughout the compiler.
2013-03-29libcore: language change minor fix for ARM & MIPSYoung-il Choi-2/+2
2013-03-28Removing unused importsAlex Crichton-12/+7
2013-03-27librustc: Allow expr_repeat to be used with any vstorePatrick Walton-1/+1
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-1/+1
2013-03-26librustc: Remove all uses of the old `[T * N]` fixed-length vector syntaxPatrick Walton-3/+3
2013-03-26Remove unused imports throughoutAlex Crichton-5/+0
2013-03-26core: Make sure every module at least has a one-line descriptionBrian Anderson-0/+2
2013-03-25Merge remote-tracking branch 'brson/rt'Brian Anderson-983/+1618
Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-10/+10
2013-03-22libsyntax: Stop parsing `pure` and `static`Patrick Walton-1/+1
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-4/+4
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-28/+28
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-19libcore: Make a couple of constructors public. rs=testfixingPatrick Walton-3/+3
2013-03-19librustc: Enforce privacy for static methods.Patrick Walton-3/+2
This starts moving a bunch of privacy checks into the privacy checking phase and out of resolve.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-8/+8
notation. rs=delifetiming
2013-03-18core: Initialize global state lazily in the Scheduler ctorBrian Anderson-10/+7
I don't want any global one-time initalization functions because that will make embedding harder.
2013-03-18Add a way to run the test suite with the new schedulerBrian Anderson-0/+31
TESTARGS=--newrt make check-stage1-rpass Conflicts: src/rt/rustrt.def.in
2013-03-18core: Refactor uv bindingsBrian Anderson-483/+535
I can already see these are going to get massive. Putting them into multiple files.
2013-03-18core: Begin uv file system bindingsBrian Anderson-0/+36
2013-03-18core: Add rt::io and start sketching the APIBrian Anderson-0/+92
2013-03-18core: Rename rt::io to rt::rtioBrian Anderson-6/+4
This is an internal interface. I want to use rt::io for public interfaces.
2013-03-18core: Convert some multiline statements to single-lineBrian Anderson-135/+67
2013-03-18core: Simplify uvll bindings and strip out currently-unused bitsBrian Anderson-1770/+315
No more mapping uv structs to Rust structs
2013-03-18core: Don't use printf in rtdebug!Brian Anderson-10/+4
The bots were showing a segfault that I can't reproduce. Assuming it's varargs related so let's not use printf
2013-03-18Give core::rt and std::net their own uvll bindingsBrian Anderson-1/+1941
I intend to do some big refactoring and don't want to deal w/ std just now
2013-03-18core: Cleanup rt::contextBrian Anderson-17/+35
2013-03-16rt: Add RUST_DEBUG_MEM to rust_env to avoid racesBrian Anderson-0/+48
2013-03-15Fix an android compilation failILyoan-0/+1
2013-03-13test: Fix tests. rs=testsPatrick Walton-2/+7
2013-03-13Revamp foreign code not to consider the Rust modes. This requiresNiko Matsakis-2/+2
adjusting a few foreign functions that were declared with by-ref mode. This also allows us to remove by-val mode in the near future. With copy mode, though, we have to be careful because Rust will implicitly pass somethings by pointer but this may not be the C ABI rules. For example, rust will pass a struct Foo as a Foo*. So I added some code into the adapters to fix this (though the C ABI rules may put the pointer back, oh well). This patch also includes a lint mode for the use of by-ref mode in foreign functions as the semantics of this have changed.
2013-03-12core: Turn off rtdebug loggingBrian Anderson-2/+3
2013-03-11core: Add context switching for ARM and MIPSBrian Anderson-31/+63
ARM definitely compiles
2013-03-11core: Add rt mod and add the new scheduler codeBrian Anderson-0/+2441