<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/rand, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-01-15T06:09:53+00:00</updated>
<entry>
<title>Remove leftover Rand stuff</title>
<updated>2018-01-15T06:09:53+00:00</updated>
<author>
<name>Fenrir</name>
<email>fenrirwolf@gmail.com</email>
</author>
<published>2018-01-15T06:07:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1482afbbedfbbd6920b8cf05bd23ba30a36630ce'/>
<id>urn:sha1:1482afbbedfbbd6920b8cf05bd23ba30a36630ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Remove `rand` crate and module</title>
<updated>2017-11-09T04:41:17+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2017-11-01T19:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6bc8f164b09b9994e6a2d4c4ca60d7d36c09d3fe'/>
<id>urn:sha1:6bc8f164b09b9994e6a2d4c4ca60d7d36c09d3fe</id>
<content type='text'>
This commit removes the `rand` crate from the standard library facade as
well as the `__rand` module in the standard library. Neither of these
were used in any meaningful way in the standard library itself. The only
need for randomness in libstd is to initialize the thread-local keys of
a `HashMap`, and that unconditionally used `OsRng` defined in the
standard library anyway.

The cruft of the `rand` crate and the extra `rand` support in the
standard library makes libstd slightly more difficult to port to new
platforms, namely WebAssembly which doesn't have any randomness at all
(without interfacing with JS). The purpose of this commit is to clarify
and streamline randomness in libstd, focusing on how it's only required
in one location, hashmap seeds.

Note that the `rand` crate out of tree has almost always been a drop-in
replacement for the `rand` crate in-tree, so any usage (accidental or
purposeful) of the crate in-tree should switch to the `rand` crate on
crates.io. This then also has the further benefit of avoiding
duplication (mostly) between the two crates!
</content>
</entry>
<entry>
<title>Introduce tidy lint to check for inconsistent tracking issues</title>
<updated>2017-06-16T18:40:40+00:00</updated>
<author>
<name>est31</name>
<email>MTest31@outlook.com</email>
</author>
<published>2017-06-16T17:58:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c6afde6c46d167c9c75389b887f1d2498aeef3e4'/>
<id>urn:sha1:c6afde6c46d167c9c75389b887f1d2498aeef3e4</id>
<content type='text'>
This commit
    * Refactors the collect_lib_features function to work in a
      non-checking mode (no bad pointer needed, and list of
      lang features).
    * Introduces checking whether unstable/stable tags for a
      given feature have inconsistent tracking issues.
    * Fixes such inconsistencies throughout the codebase.
</content>
</entry>
<entry>
<title>Update usages of 'OSX' (and other old names) to 'macOS'.</title>
<updated>2017-03-12T18:59:04+00:00</updated>
<author>
<name>Corey Farwell</name>
<email>coreyf@rwell.org</email>
</author>
<published>2017-03-12T18:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97a1b6a055d69cf21faa9773133725bdfddc5196'/>
<id>urn:sha1:97a1b6a055d69cf21faa9773133725bdfddc5196</id>
<content type='text'>
As of last year with version 'Sierra', the Mac operating system is now
called 'macOS'.
</content>
</entry>
<entry>
<title>Implement `fmt::Debug` for all structures in libstd.</title>
<updated>2016-12-18T22:55:14+00:00</updated>
<author>
<name>Corey Farwell</name>
<email>coreyf@rwell.org</email>
</author>
<published>2016-11-25T18:21:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=86fc63e62ddc0a271210b8cc7cc2a6de6874b8f8'/>
<id>urn:sha1:86fc63e62ddc0a271210b8cc7cc2a6de6874b8f8</id>
<content type='text'>
Part of https://github.com/rust-lang/rust/issues/31869.

Also turn on the `missing_debug_implementations` lint at the crate
level.
</content>
</entry>
<entry>
<title>Changed most vec! invocations to use square braces</title>
<updated>2016-10-31T22:51:40+00:00</updated>
<author>
<name>iirelu</name>
<email>anna@bawk.space</email>
</author>
<published>2016-10-29T21:54:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e593c3b89343a98bdcc76ce9f5869ff18882dfff'/>
<id>urn:sha1:e593c3b89343a98bdcc76ce9f5869ff18882dfff</id>
<content type='text'>
Most of the Rust community agrees that the vec! macro is clearer when
called using square brackets [] instead of regular brackets (). Most of
these ocurrences are from before macros allowed using different types of
brackets.

There is one left unchanged in a pretty-print test, as the pretty
printer still wants it to have regular brackets.
</content>
</entry>
<entry>
<title>Ignore lots and lots of std tests on emscripten</title>
<updated>2016-09-30T21:02:48+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2016-09-07T05:34:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c4a01ee9eea6fc50252f08afbf98a91270e9d5e'/>
<id>urn:sha1:9c4a01ee9eea6fc50252f08afbf98a91270e9d5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: restructure rand os code into sys modules</title>
<updated>2016-02-18T00:21:32+00:00</updated>
<author>
<name>Sean McArthur</name>
<email>sean.monstar@gmail.com</email>
</author>
<published>2016-02-17T21:56:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34dfc3991db26a363657f0bd56db1669032468b3'/>
<id>urn:sha1:34dfc3991db26a363657f0bd56db1669032468b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bootstrap: Add directives to not double-link libs</title>
<updated>2016-02-11T19:12:32+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-01-21T23:36:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eac0a8bc3070e45047fff57e7b024a059289a36d'/>
<id>urn:sha1:eac0a8bc3070e45047fff57e7b024a059289a36d</id>
<content type='text'>
Have all Cargo-built crates pass `--cfg cargobuild` and then add appropriate
`#[cfg]` definitions to all crates to avoid linking anything if this is passed.
This should help allow libstd to compile with both the makefiles and with Cargo.
</content>
</entry>
<entry>
<title>Remove "powerpc64le" and "mipsel" target_arch</title>
<updated>2016-02-02T04:39:07+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-01-30T21:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f803c202681fa137fca691df999ac3f335d29c1'/>
<id>urn:sha1:8f803c202681fa137fca691df999ac3f335d29c1</id>
<content type='text'>
Currently the `mipsel-unknown-linux-gnu` target doesn't actually set the
`target_arch` value to `mipsel` but it rather uses `mips`. Alternatively the
`powerpc64le` target does indeed set the `target_arch` as `powerpc64le`,
causing a bit of inconsistency between theset two.

As these are just the same instance of one instruction set, let's use
`target_endian` to switch between them and only set the `target_arch` as one
value. This should cut down on the number of `#[cfg]` annotations necessary and
all around be a little more ergonomic.
</content>
</entry>
</feed>
