about summary refs log tree commit diff
path: root/src/libcore/prelude
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-83/+0
2020-04-25Bump bootstrap compilerMark Rousskov-1/+0
2020-04-15Deprecate the asm! macroAmanieu d'Antras-0/+1
2020-03-26Rename asm! to llvm_asm!Amanieu d'Antras-2/+2
asm! is left as a wrapper around llvm_asm! to maintain compatibility.
2020-03-10builtin_macros: Add attribute macro `#[cfg_accessible(path)]`Vadim Petrochenkov-0/+9
2019-11-26Format libcore with rustfmtDavid Tolnay-33/+10
This commit applies rustfmt with default settings to files in src/libcore *that are not involved in any currently open PR* to minimize merge conflicts. The list of files involved in open PRs was determined by querying GitHub's GraphQL API with this script: https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8 With the list of files from the script in `outstanding_files`, the relevant commands were: $ find src/libcore -name '*.rs' | xargs rustfmt --edition=2018 $ rg libcore outstanding_files | xargs git checkout -- Repeating this process several months apart should get us coverage of most of the rest of libcore.
2019-08-15Remove `__rust_unstable_column`Vadim Petrochenkov-1/+0
2019-08-14Handle cfg(bootstrap) throughoutMark Rousskov-4/+0
2019-08-10Give built-in macros stable addresses in the standard libraryVadim Petrochenkov-16/+22
2019-07-31Remove derives `Encodable`/`Decodable` and unstabilize attribute `#[bench]`Vadim Petrochenkov-2/+0
2019-07-26Introduce built-in macros through libcoreVadim Petrochenkov-0/+47
2019-04-18libcore => 2018Taiki Endo-11/+11
2018-12-25Remove licensesMark Rousskov-20/+0
2018-12-21Update Pin API to match the one proposed for stabilizationTaylor Cramer-1/+1
Remove pin::Unpin reexport and add Unpin to the prelude. Change Pin associated functions to methods. Rename get_mut_unchecked_ to get_unchecked_mut Remove impl Unpin for Pin Mark Pin repr(transparent)
2018-05-17Switch to 1.26 bootstrap compilerMark Simulacrum-10/+0
2018-04-21Replace StrExt with inherent str methods in libcoreSimon Sapin-0/+1
2018-04-21Replace SliceExt with inherent [T] methods in libcoreSimon Sapin-0/+1
2018-04-12Remove the CharExt trait, now that libcore has inherent methods for charSimon Sapin-3/+0
2018-03-30Revert "Add TryFrom and TryInto to the prelude"Simon Sapin-3/+0
This reverts commit 09008cc23ff6395c2c928f3690e07d7389d08ebc.
2018-03-26Add TryFrom and TryInto to the preludeSimon Sapin-0/+3
2018-01-15Reexport -> re-export in prose and documentation commentsCarol (Nichols || Goulding)-4/+4
2016-10-16Run rustfmt on libcore/prelude folderSrinivas Reddy Thatiparthy-14/+28
2015-11-18Add missing annotations and some testsVadim Petrochenkov-0/+14
2015-08-17core: Stabilize prelude::v1Alex Crichton-18/+19
This commit stabilizes the prelude::v1 module of libcore after verifying that it's a subset of the prelude of the standard library with the addition of a few extension traits.
2015-08-15core: Fill out issues for unstable featuresAlex Crichton-1/+2
2015-08-03syntax: Implement #![no_core]Alex Crichton-0/+52
This commit is an implementation of [RFC 1184][rfc] which tweaks the behavior of the `#![no_std]` attribute and adds a new `#![no_core]` attribute. The `#![no_std]` attribute now injects `extern crate core` at the top of the crate as well as the libcore prelude into all modules (in the same manner as the standard library's prelude). The `#![no_core]` attribute disables both std and core injection. [rfc]: https://github.com/rust-lang/rfcs/pull/1184