about summary refs log tree commit diff
path: root/src/libcore/sys.rs
AgeCommit message (Collapse)AuthorLines
2013-05-04Register snapshotsBrian Anderson-22/+0
2013-05-02Merge remote-tracking branch 'brson/io' into incomingBrian Anderson-4/+24
Conflicts: mk/rt.mk src/libcore/run.rs
2013-05-02core: Wire up the unwinder to newsched againBrian Anderson-17/+18
This was some merge fallout
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-8/+0
2013-04-30Merge remote-tracking branch 'brson/io'Brian Anderson-5/+24
Conflicts: src/libcore/task/local_data_priv.rs
2013-04-29test: Fix tests.Patrick Walton-1/+1
2013-04-29test: Remove #[legacy_modes] from the test suite.Patrick Walton-1/+1
2013-04-29librustc: Rename `reinterpret_cast` to `transmute_copy` and remove the intrinsicPatrick Walton-2/+2
2013-04-25Made fail! and assert! accept both &'static str and ~str, as well as a fmt! ↵Marvin Löbel-1/+46
like format list. Unwinding through macros now happens as a call to the trait function `FailWithCause::fail_with()`, which consumes self, allowing to use a more generic failure object in the future.
2013-04-23Merge remote-tracking branch 'brson/io'Brian Anderson-5/+24
This also reverts some changes to TLS that were leaking memory. Conflicts: src/libcore/rt/uv/net.rs src/libcore/task/local_data_priv.rs src/libcore/unstable/lang.rs
2013-04-23core::rt: Tasks to not require an unwinderBrian Anderson-1/+5
A task without an unwinder will abort the process on failure. I'm using this in the runtime tests to guarantee that a call to `assert!` actually triggers some kind of failure (an abort) instead of silently doing nothing. This is essentially in lieu of a working linked failure implementation.
2013-04-22core::rt: Add unwinding to newsched tasksBrian Anderson-5/+20
2013-04-20libcore: wrappers for size/align_of to act on values without needing ↵Huon Wilson-1/+57
explicit ::<type> annotations
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵Huon Wilson-9/+9
pub mod or pub fn).
2013-04-14core: remove unnecessary unsafe blocks/functionsAlex Crichton-8/+4
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-20/+20
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-1/+1
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-13/+13
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-1/+1
notation. rs=delifetiming
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-20/+27
2013-03-07libsyntax: Stop parsing structural record typesPatrick Walton-2/+2
2013-03-07libcore: Remove `extern mod { ... }` from libcore. rs=deexterningPatrick Walton-9/+17
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-1/+1
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-04Remove unused imports throughout src/Alex Crichton-2/+0
2013-03-03rustc: MIPS32 supportJyun-Yan You-0/+2
2013-02-15libcore: Get rid of `move`.Luqman Aden-2/+2
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-4/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-13/+15
2013-01-13Make vectors (& old ports) of zero-size types allocate one byte each.Jed Davis-1/+20
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-1/+1
2013-01-10core: Change XXXs into proper FIXMEs with issue numbersTim Chevalier-1/+1
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2012-12-27librustc: Fix the test runner, the condition system, and core test. rs=bustagePatrick Walton-0/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+8
contain at least two components. r=graydon
2012-12-10Adjust the die macro to only accept ~str and to work in statement positionBrian Anderson-1/+28
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-10-12Make moves explicit in core testsTim Chevalier-2/+2
2012-10-02Removing explicit uses of + modeTim Chevalier-1/+1
This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes.
2012-09-27Finish de-exporting path, rand, run, sys. Part of #3583.Graydon Hoare-1/+0
2012-09-26libcore: De-export dvec, rand, run, and sysPatrick Walton-32/+20
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+2
#[legacy_exports];
2012-09-20core: Demode sysBrian Anderson-2/+6
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-3/+3
2012-09-18libcore: make a copyless io::BytesWriterErick Tryzelaar-4/+3
2012-09-18Replace uses of 'unchecked' with 'unsafe'Brian Anderson-4/+4