<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sys/common/mutex.rs, 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>2016-11-01T17:08:24+00:00</updated>
<entry>
<title>std: Move sys_common to libstd/sys_common</title>
<updated>2016-11-01T17:08:24+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2016-09-30T23:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca30691813836e1c6896e5ba5d4397eb717e7270'/>
<id>urn:sha1:ca30691813836e1c6896e5ba5d4397eb717e7270</id>
<content type='text'>
Make the directory structure reflect the module structure. I've always
found the existing structure confusing.
</content>
</entry>
<entry>
<title>Use `#[prelude_import]` in `libstd`.</title>
<updated>2016-08-24T22:12:48+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-08-22T19:47:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a2c8783d91624261317316f996d8d2d09b7b6a4'/>
<id>urn:sha1:9a2c8783d91624261317316f996d8d2d09b7b6a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix undefined behavior when re-locking a mutex from the same thread</title>
<updated>2016-06-02T12:31:01+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2016-05-25T04:44:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d73f5e65ecbcb6a0acb908b54226edfccf47eccc'/>
<id>urn:sha1:d73f5e65ecbcb6a0acb908b54226edfccf47eccc</id>
<content type='text'>
The only applies to pthread mutexes. We solve this by creating the
mutex with the PTHREAD_MUTEX_NORMAL type, which guarantees that
re-locking from the same thread will deadlock.
</content>
</entry>
<entry>
<title>Use `const fn` to abstract away the contents of UnsafeCell &amp; friends.</title>
<updated>2015-05-27T08:19:03+00:00</updated>
<author>
<name>Eduard Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2015-05-27T08:18:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=377b0900aede976b2d37a499bbd7b62c2e39b358'/>
<id>urn:sha1:377b0900aede976b2d37a499bbd7b62c2e39b358</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pluralize doc comment verbs and add missing periods</title>
<updated>2015-04-13T17:57:51+00:00</updated>
<author>
<name>Andrew Paseltiner</name>
<email>apaseltiner@gmail.com</email>
</author>
<published>2015-04-13T14:21:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6fa16d6a473415415cb87a1fe6754aace32cbb1c'/>
<id>urn:sha1:6fa16d6a473415415cb87a1fe6754aace32cbb1c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Add a new `env` module</title>
<updated>2015-02-01T19:08:15+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-27T20:20:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=70ed3a48dfa301c5bb56de3e0a7c25214539b83c'/>
<id>urn:sha1:70ed3a48dfa301c5bb56de3e0a7c25214539b83c</id>
<content type='text'>
This is an implementation of [RFC 578][rfc] which adds a new `std::env` module
to replace most of the functionality in the current `std::os` module. More
details can be found in the RFC itself, but as a summary the following methods
have all been deprecated:

[rfc]: https://github.com/rust-lang/rfcs/pull/578

* `os::args_as_bytes`   =&gt; `env::args`
* `os::args`            =&gt; `env::args`
* `os::consts`          =&gt; `env::consts`
* `os::dll_filename`    =&gt; no replacement, use `env::consts` directly
* `os::page_size`       =&gt; `env::page_size`
* `os::make_absolute`   =&gt; use `env::current_dir` + `join` instead
* `os::getcwd`          =&gt; `env::current_dir`
* `os::change_dir`      =&gt; `env::set_current_dir`
* `os::homedir`         =&gt; `env::home_dir`
* `os::tmpdir`          =&gt; `env::temp_dir`
* `os::join_paths`      =&gt; `env::join_paths`
* `os::split_paths`     =&gt; `env::split_paths`
* `os::self_exe_name`   =&gt; `env::current_exe`
* `os::self_exe_path`   =&gt; use `env::current_exe` + `pop`
* `os::set_exit_status` =&gt; `env::set_exit_status`
* `os::get_exit_status` =&gt; `env::get_exit_status`
* `os::env`             =&gt; `env::vars`
* `os::env_as_bytes`    =&gt; `env::vars`
* `os::getenv`          =&gt; `env::var` or `env::var_string`
* `os::getenv_as_bytes` =&gt; `env::var`
* `os::setenv`          =&gt; `env::set_var`
* `os::unsetenv`        =&gt; `env::remove_var`

Many function signatures have also been tweaked for various purposes, but the
main changes were:

* `Vec`-returning APIs now all return iterators instead
* All APIs are now centered around `OsString` instead of `Vec&lt;u8&gt;` or `String`.
  There is currently on convenience API, `env::var_string`, which can be used to
  get the value of an environment variable as a unicode `String`.

All old APIs are `#[deprecated]` in-place and will remain for some time to allow
for migrations. The semantics of the APIs have been tweaked slightly with regard
to dealing with invalid unicode (panic instead of replacement).

The new `std::env` module is all contained within the `env` feature, so crates
must add the following to access the new APIs:

    #![feature(env)]

[breaking-change]
</content>
</entry>
<entry>
<title>markers -&gt; marker</title>
<updated>2015-01-06T23:10:31+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2015-01-06T22:33:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9f07d055f7823ac0e17e014f3effa2a0be0947e9'/>
<id>urn:sha1:9f07d055f7823ac0e17e014f3effa2a0be0947e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change `std::kinds` to `std::markers`; flatten `std::kinds::marker`</title>
<updated>2015-01-06T20:45:28+00:00</updated>
<author>
<name>Nick Cameron</name>
<email>ncameron@mozilla.com</email>
</author>
<published>2015-01-06T01:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=503709708c72401dbe091ed5c7e0494efabe0669'/>
<id>urn:sha1:503709708c72401dbe091ed5c7e0494efabe0669</id>
<content type='text'>
[breaking-change]
</content>
</entry>
<entry>
<title>Make Send and Sync traits unsafe</title>
<updated>2014-12-26T16:26:33+00:00</updated>
<author>
<name>Flavio Percoco</name>
<email>flaper87@gmail.com</email>
</author>
<published>2014-12-21T23:49:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f436f9ca2963e33cc41802370bb9c551c833970e'/>
<id>urn:sha1:f436f9ca2963e33cc41802370bb9c551c833970e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Require types to opt-in Sync</title>
<updated>2014-12-26T16:26:32+00:00</updated>
<author>
<name>Flavio Percoco</name>
<email>flaper87@gmail.com</email>
</author>
<published>2014-12-06T16:39:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb803a857000813e4d572900799f0498fb20050b'/>
<id>urn:sha1:fb803a857000813e4d572900799f0498fb20050b</id>
<content type='text'>
</content>
</entry>
</feed>
