| Age | Commit message (Collapse) | Author | Lines |
|
|
|
… to make the name `alloc` available.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stabilize take_set_limit
Fixes #42781
|
|
Move deny(warnings) into rustbuild
This permits easier iteration without having to worry about warnings
being denied.
Fixes #49517
|
|
Correct a few stability attributes
* `const_indexing` language feature was stabilized in 1.26.0 by #46882
* `Display` impls for `PanicInfo` and `Location` were stabilized in 1.26.0 by #47687
* `TrustedLen` is still unstable so its impls should be as well even though `RangeInclusive` was stabilized by #47813
* `!Send` and `!Sync` for `Args` and `ArgsOs` were stabilized in 1.26.0 by #48005
* `EscapeDefault` has been stable since 1.0.0 so should continue to show that even though it was moved to core in #48735
This could be backported to beta like #49612
|
|
This permits easier iteration without having to worry about warnings
being denied.
Fixes #49517
|
|
|
|
Bump the bootstrap compiler to 1.26.0 beta
Holy cow that's a lot of `cfg(stage0)` removed and a lot of new stable language
features!
|
|
Inject the `compiler_builtins` crate whenever the `core` crate is injected
|
|
|
|
std: Inline some Termination-related methods
These were showing up in tests and in binaries but are trivially optimize-able
away, so add `#[inline]` attributes so LLVM has an opportunity to optimize them
out.
|
|
typos
|
|
These were showing up in tests and in binaries but are trivially optimize-able
away, so add `#[inline]` attributes so LLVM has an opportunity to optimize them
out.
|
|
|
|
Holy cow that's a lot of `cfg(stage0)` removed and a lot of new stable language
features!
|
|
|
|
Stabilize attributes on generic parameters
Closes https://github.com/rust-lang/rust/issues/48848
|
|
Fixes #42781
|
|
|
|
|
|
Add some performance guidance to std::fs and std::io docs
Adds more documentation about performance to various "read" functions in `fs` and `io`, and to `BufReader`/`BufWriter`, with the goal of helping developers choose the best option for a given task.
|
|
Stabilize parent_id()
Fixes #46104
|
|
The Box::new(mem::uninitialized()) pattern actually actively copies
uninitialized bytes from the stack into the box, which is a waste of
time. Using the box syntax instead avoids the useless copy.
|
|
tweak core::fmt docs
Remove an outdated (pre-1.0!) claim about passing something or other to a function. Also swap the variable names in the example.
|
|
Fix "since" version for getpid feature.
It was stabilized right before the beta branch was cut for 1.26.0.
See https://github.com/rust-lang/rust/pull/49523#issuecomment-377996315
This will need to be backported to beta (1.26.0)
|
|
Fix typo
In `libstd/io/buffered.rs` one example was marked as `no_ru` instead of `no_run`. I assume this is a typo.
|
|
rustc_driver: get rid of the extra thread
**Do not rollup**
We can alter the stack size afterwards on Unix.
Having a separate thread causes poor debugging experience when interrupting with signals. I have to get the backtrace of the all thread, as the main thread is waiting to join doing nothing else. This patch allows me to just run `bt` to get the desired backtrace.
|
|
Fixes #46104
|
|
|
|
|
|
Swap the variable names in the example.
|
|
Closes #22181, #27779
|
|
|
|
It was stabilized right before the beta branch was cut for 1.26.0.
See https://github.com/rust-lang/rust/pull/49523#issuecomment-377996315
|
|
|
|
|
|
Use Alloc and Layout from core::heap.
94d1970bba87f2d2893f6e934e4c3f02ed50604d moved the alloc::allocator
module to core::heap, moving e.g. Alloc and Layout out of the alloc
crate. While alloc::heap reexports them, it's better to use them from
where they really come from.
|
|
94d1970bba87f2d2893f6e934e4c3f02ed50604d moved the alloc::allocator
module to core::heap, moving e.g. Alloc and Layout out of the alloc
crate. While alloc::heap reexports them, it's better to use them from
where they really come from.
|
|
Fixes #44971
|
|
Clarify network byte order conversions for integer / IP address conversions.
Opened primarily to address https://github.com/rust-lang/rust/issues/48819.
Also added a few other conversion docs/examples.
|
|
Rename fs::read_string to read_to_string and stabilize
As approved in https://github.com/rust-lang/rust/issues/46588#issuecomment-377530365
Closes #46588.
|
|
fs_read_write_bytes stabilized in 1.26.0
Fix the stabilization attributes from #49422 because it merged before 1.26 branched to beta.
r? @TimNN
|
|
Make UNIX_EPOCH an associated constant of SystemTime
It's not very discoverable as a separate const in the module.
r? @alexcrichton
|
|
Move the alloc::allocator module to core::heap
This is the `Alloc` trait and its dependencies.
|