| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-11-11 | Remove #[fixed_stack_segment] and #[rust_stack] | Alex Crichton | -4/+0 | |
| These two attributes are no longer useful now that Rust has decided to leave segmented stacks behind. It is assumed that the rust task's stack is always large enough to make an FFI call (due to the stack being very large). There's always the case of stack overflow, however, to consider. This does not change the behavior of stack overflow in Rust. This is still normally triggered by the __morestack function and aborts the whole process. C stack overflow will continue to corrupt the stack, however (as it did before this commit as well). The future improvement of a guard page at the end of every rust stack is still unimplemented and is intended to be the mechanism through which we attempt to detect C stack overflow. Closes #8822 Closes #10155 | ||||
| 2013-10-23 | Removed Unnecessary comments and white spaces #4386 | reedlepee | -1/+0 | |
| 2013-10-23 | Making fields in std and extra : private #4386 | reedlepee | -2/+3 | |
| 2013-09-16 | switch Drop to `&mut self` | Daniel Micay | -1/+1 | |
| 2013-08-27 | Remove offset_inbounds for an unsafe offset function | Alex Crichton | -1/+3 | |
| 2013-08-19 | Add externfn macro and correctly label fixed_stack_segments | Niko Matsakis | -0/+4 | |
| 2013-07-30 | implement pointer arithmetic with GEP | Daniel Micay | -1/+1 | |
| Closes #8118, #7136 ~~~rust extern mod extra; use std::vec; use std::ptr; fn bench_from_elem(b: &mut extra::test::BenchHarness) { do b.iter { let v: ~[u8] = vec::from_elem(1024, 0u8); } } fn bench_set_memory(b: &mut extra::test::BenchHarness) { do b.iter { let mut v: ~[u8] = vec::with_capacity(1024); unsafe { let vp = vec::raw::to_mut_ptr(v); ptr::set_memory(vp, 0, 1024); vec::raw::set_len(&mut v, 1024); } } } fn bench_vec_repeat(b: &mut extra::test::BenchHarness) { do b.iter { let v: ~[u8] = ~[0u8, ..1024]; } } ~~~ Before: test bench_from_elem ... bench: 415 ns/iter (+/- 17) test bench_set_memory ... bench: 85 ns/iter (+/- 4) test bench_vec_repeat ... bench: 83 ns/iter (+/- 3) After: test bench_from_elem ... bench: 84 ns/iter (+/- 2) test bench_set_memory ... bench: 84 ns/iter (+/- 5) test bench_vec_repeat ... bench: 84 ns/iter (+/- 3) | ||||
| 2013-06-25 | Change finalize -> drop. | Luqman Aden | -1/+1 | |
| 2013-06-03 | rename the Ptr trait to RawPtr | Daniel Micay | -1/+1 | |
| Closes #6607 | ||||
| 2013-06-01 | Remove all uses of `pub impl`. rs=style | Patrick Walton | -5/+5 | |
| 2013-05-22 | libstd: Rename libcore to libstd and libstd to libextra; update makefiles. | Patrick Walton | -0/+76 | |
| This only changes the directory names; it does not change the "real" metadata names. | ||||
