summary refs log tree commit diff
path: root/src/libarena
AgeCommit message (Collapse)AuthorLines
2019-06-17Make use of `ptr::null(_mut)` instead of casting zeroLzu Tao-4/+4
2019-06-16Separate libarena::lib modulechansuke-215/+214
2019-06-11Add deny(unused_lifetimes) to all the crates that have deny(internal).Eduard-Mihai Burtescu-0/+1
2019-05-23Optimize alloc_from_iterJohn Kåre Alsaker-5/+24
2019-04-17Deny `internal` in stage0Mateusz Mikuła-1/+1
2019-04-14Rollup merge of #59675 - SimonSapin:stable-alloc, r=alexcrichtonMazdak Farrokhzad-1/+0
Stabilize the `alloc` crate. This implements RFC 2480: * https://github.com/rust-lang/rfcs/pull/2480 * https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md Closes https://github.com/rust-lang/rust/issues/27783
2019-04-12Stabilize the `alloc` crate.Simon Sapin-1/+0
This implements RFC 2480: * https://github.com/rust-lang/rfcs/pull/2480 * https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md Closes https://github.com/rust-lang/rust/issues/27783
2019-04-03Deny internal lints on non conflicting cratesflip1995-0/+1
- libarena - librustc_allocator - librustc_borrowck - librustc_codegen_ssa - librustc_codegen_utils - librustc_driver - librustc_errors - librustc_incremental - librustc_metadata - librustc_passes - librustc_privacy - librustc_resolve - librustc_save_analysis - librustc_target - librustc_traits - libsyntax - libsyntax_ext - libsyntax_pos
2019-04-01Add ensure_capacity and rename min to lenJohn Kåre Alsaker-15/+26
2019-04-01Use set_lenJohn Kåre Alsaker-2/+2
2019-04-01Support allocating iterators with arenasJohn Kåre Alsaker-16/+129
2019-02-11libarena => 2018Mazdak Farrokhzad-10/+11
2019-02-07Remove images' url to make it work even without internet connectionGuillaume Gomez-3/+1
2019-01-01Check the correct arenaOliver Scherer-0/+5
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-02Auto merge of #56378 - ljedrz:arena_tweaks, r=nagisabors-10/+14
arena: speed up TypedArena::clear and improve common patterns - speed up `TypedArena::clear`: improves its performance by up to **33%** (in case of a single entry) - simplify `DroplessArena::in_arena`
2018-12-02arena: improve common patternsljedrz-7/+2
2018-11-30arena: speed up TypedArena::clearljedrz-3/+12
2018-11-30Inline thingsJohn Kåre Alsaker-0/+2
2018-10-19Update TypedArena testsOliver Scherer-11/+11
2018-10-19Prefer `Default::default` over `FxHash*::default` in struct constructorsOliver Scherer-20/+12
2018-09-27Bump to 1.31.0 and bootstrap from 1.30 betaJosh Stone-1/+1
2018-09-11stabalize infer outlives requirements (RFC 2093).toidiu-1/+0
Co-authored-by: nikomatsakis
2018-08-24check that adding infer-outlives requirement to all crates worksNiko Matsakis-0/+1
2018-08-20Replace usages of ptr::offset with ptr::{add,sub}.Corey Farwell-2/+2
2018-08-09[nll] libarena: enable feature(nll) for bootstrapmemoryruins-0/+1
2018-07-25Deny bare_trait_objects globallyTatsuyuki Ishi-1/+0
2018-07-12Deny bare trait objects in the rest of rustljedrz-0/+1
2018-06-29Make raw_vec perma-unstable and hiddenSimon Sapin-0/+1
2018-05-27Make &Slice a thin pointerJohn Kåre Alsaker-25/+34
2018-05-17Switch to 1.26 bootstrap compilerMark Simulacrum-1/+0
2018-04-15Make arenas thread safeJohn Kåre Alsaker-0/+74
2018-04-08Move deny(warnings) into rustbuildMark Simulacrum-1/+0
This permits easier iteration without having to worry about warnings being denied. Fixes #49517
2018-04-05Stabilize attributes on generic parametersVadim Petrochenkov-1/+1
2018-01-13Rollup merge of #47069 - Kagamihime:master, r=nrckennytm-11/+24
rustfmt libarena/lib.rs Note: it's my very first pull request. I'm trying to do something very simple to see how it works here, even if it's a tiny change or maybe it's not correct (sorry if it is the case). r? @nrc
2018-01-01Fix docs for future pulldown migrationMalo Jaffré-1/+3
2017-12-29fixupKagamihime-0/+2
2017-12-29rustfmt libarena/lib.rsKagamihime-13/+24
2017-09-16stabilized needs_drop (fixes #41890)Michal Budzynski-1/+0
2017-08-25*: remove crate_{name,type} attributesTamir Duberstein-3/+0
Fixes #41701.
2017-06-19Bump version and stage0 compilerAlex Crichton-2/+0
2017-05-20migrate everything to using mem::needs_dropAlexis Beingessner-5/+4
2017-05-11rustc: Remove #![unstable] annotationAlex Crichton-2/+2
These are now no longer necessary with `-Z force-unstable-if-unmarked`
2017-05-04Deprecate heap::EMPTY in favour of Unique::empty or otherwise.Alexis Beingessner-3/+1
2017-01-10Rollup merge of #38664 - apasel422:may-dangle, r=pnkfelixSeo Sanghyeon-4/+3
Replace uses of `#[unsafe_destructor_blind_to_params]` with `#[may_dangle]` CC #34761 r? @pnkfelix
2017-01-08Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrcbors-1/+1
Remove not(stage0) from deny(warnings) Historically this was done to accommodate bugs in lints, but there hasn't been a bug in a lint since this feature was added which the warnings affected. Let's completely purge warnings from all our stages by denying warnings in all stages. This will also assist in tracking down `stage0` code to be removed whenever we're updating the bootstrap compiler.
2016-12-31Utilize new in_arena method instead of hashing for Lifting interned itemsMark Simulacrum-2/+12
2016-12-31Fix TypedArena infinitely looping when inplace reallocation fails.Mark Simulacrum-2/+2
2016-12-31Add a non type-specific arena.Mark Simulacrum-0/+117
It relies on the underlying types not having special Drop behavior.
2016-12-29Remove not(stage0) from deny(warnings)Alex Crichton-1/+1
Historically this was done to accommodate bugs in lints, but there hasn't been a bug in a lint since this feature was added which the warnings affected. Let's completely purge warnings from all our stages by denying warnings in all stages. This will also assist in tracking down `stage0` code to be removed whenever we're updating the bootstrap compiler.