about summary refs log tree commit diff
path: root/src/libstd/sys_common/util.rs
AgeCommit message (Collapse)AuthorLines
2019-03-31libstd: deny(elided_lifetimes_in_paths)Mazdak Farrokhzad-2/+2
2019-02-28Fix some imports and pathsTaiki Endo-1/+1
2019-02-28libstd => 2018Taiki Endo-5/+5
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-06Refactor stderr_prints_nothing into a more modular functionJethro Beekman-4/+3
2018-04-13std: Minimize size of panicking on wasmAlex Crichton-1/+4
This commit applies a few code size optimizations for the wasm target to the standard library, namely around panics. We notably know that in most configurations it's impossible for us to print anything in wasm32-unknown-unknown so we can skip larger portions of panicking that are otherwise simply informative. This allows us to get quite a nice size reduction. Finally we can also tweak where the allocation happens for the `Box<Any>` that we panic with. By only allocating once unwinding starts we can reduce the size of a panicking wasm module from 44k to 350 bytes.
2017-09-13Move default stack min size to thread implementationsTobias Schaffner-21/+0
The default min stack size value is smaller on l4re and therefore this value has to be different depending on the platform.
2017-09-08Move the stack size value for L4Re to the min_stack_size functionSebastian Humenda-0/+5
2016-11-01std: Move sys_common to libstd/sys_commonBrian Anderson-0/+50
Make the directory structure reflect the module structure. I've always found the existing structure confusing.