rust/src/libcore
Alex Crichton 5e9d91831a Rollup merge of #40832 - pftbest:fix_msp430, r=stjepang
libcore: fix compilation on 16bit target (MSP430).

Since PR #40601 has been merged, libcore no longer compiles on MSP430.
The reason is this code in `break_patterns`:
```rust
 let mut random = len;
 random ^= random << 13;
 random ^= random >> 17;
 random ^= random << 5;
 random &= modulus - 1;
```
It assumes that `len` is at least a 32 bit integer.
As a workaround replace `break_patterns` with an empty function for 16bit targets.

cc @stjepang
cc @alexcrichton
2017-03-27 15:56:25 -07:00
..
benches Extract collections benchmarks to libcollections/benches 2017-02-06 21:38:47 +11:00
fmt Change how the 0 flag works in format! for floats 2017-03-15 07:50:44 -07:00
hash Rollup merge of #40505 - frewsxcv:hash-docs, r=alexcrichton 2017-03-17 08:49:03 -04:00
iter Rollup merge of #40715 - manuel-rhdt:patch-1, r=brson 2017-03-23 08:42:48 -05:00
num Fix typo in dec2flt/algorithm.rs 2017-03-25 16:21:08 +05:30
prelude Run rustfmt on libcore/prelude folder 2016-10-16 22:13:04 +05:30
slice libcore: sort_unstable: improve randomization in break_patterns. 2017-03-26 20:37:04 +03:00
str Rollup merge of #40824 - donniebishop:fromstr_docexample, r=steveklabnik 2017-03-27 15:56:25 -07:00
sync Revert "Add 128-bit atomics" 2017-02-06 10:39:14 -08:00
any.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
array.rs std: Correct stability attributes for some implementations 2016-10-01 23:58:14 +01:00
borrow.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00
Cargo.toml Extract collections benchmarks to libcollections/benches 2017-02-06 21:38:47 +11:00
cell.rs Stabilize move_cell feature, closes #39264 2017-03-17 13:28:37 -07:00
char.rs Fix up various links 2017-03-20 10:10:16 -04:00
char_private.rs Fix fmt::Debug for strings, e.g. for Chinese characters 2016-11-18 14:45:59 +01:00
clone.rs Remove function invokation parens from documentation links. 2017-03-13 21:43:18 -04:00
cmp.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
convert.rs Auto merge of #40281 - jimmycuadra:try-from-from-str, r=aturon 2017-03-20 05:36:36 +00:00
default.rs Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
internal_macros.rs Fix a few impl stability attributes 2017-01-29 13:31:47 +00:00
intrinsics.rs Auto merge of #39628 - arielb1:shimmir, r=eddyb 2017-03-20 15:58:10 +00:00
iter_private.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
lib.rs Implement feature sort_unstable 2017-03-21 20:46:20 +01:00
macros.rs Remove function invokation parens from documentation links. 2017-03-13 21:43:18 -04:00
marker.rs Remove function invokation parens from documentation links. 2017-03-13 21:43:18 -04:00
mem.rs Fix up various links 2017-03-20 10:10:16 -04:00
nonzero.rs Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
ops.rs Don't stutter in operator descriptions #29365 2017-03-25 09:06:14 +00:00
option.rs Add missing urls in Option enum 2017-03-20 15:09:02 +01:00
panicking.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
ptr.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
raw.rs Fix up various links 2017-03-20 10:10:16 -04:00
result.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
tuple.rs Remove macro work-around. 2016-11-12 12:47:13 -07:00