<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sys, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-07-28T00:51:13+00:00</updated>
<entry>
<title>mv std libs to library/</title>
<updated>2020-07-28T00:51:13+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-06-12T02:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c31b45ae878b821975c4ebd94cc1e49f6073fd0'/>
<id>urn:sha1:2c31b45ae878b821975c4ebd94cc1e49f6073fd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #74681 - RalfJung:miri-extern-fn, r=oli-obk</title>
<updated>2020-07-24T22:00:23+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-07-24T22:00:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5ef299eb9805b4c86b227b718b39084e8bf24454'/>
<id>urn:sha1:5ef299eb9805b4c86b227b718b39084e8bf24454</id>
<content type='text'>
 Miri: use extern fn to expose interpreter operations to program; fix leak checker on Windows

This PR realizes an idea that @oli-obk has been suggesting for a while: to use Miri-specific `extern` functions to provide some extra capabilities to the program. Initially, we have two of these methods, which libstd itself needs:
* `miri_start_panic`, which replaces the intrinsic of the same name (mostly for consistency, to avoid having multiple mechanisms for Miri-specific functionality).
* `miri_static_root`, which adds an allocation to a list of static "roots" that Miri considers as not having leaked (including all memory reachable through them). This is needed for https://github.com/rust-lang/miri/issues/1302.

We use `extern` functions instead of intrinsics for this so that user code can more easily call these Miri hoolks -- e.g. `miri_static_root` should be useful for https://github.com/rust-lang/miri/issues/1318.

The Miri side of this is at https://github.com/rust-lang/miri/pull/1485.

r? @oli-obk
</content>
</entry>
<entry>
<title>Rollup merge of #72954 - hermitcore:rwlock, r=dtolnay</title>
<updated>2020-07-24T17:01:28+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-24T17:01:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dfedb84462ed2281877ec10253e659155213e7c8'/>
<id>urn:sha1:dfedb84462ed2281877ec10253e659155213e7c8</id>
<content type='text'>
revise RwLock for HermitCore

- current version is derived from the wasm implementation
- increasing the readability of `Condvar`
- simplify the interface to the libos
</content>
</entry>
<entry>
<title>avoid implicitly returning ()</title>
<updated>2020-07-23T15:12:31+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-07-23T15:06:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=67b4f3b1482971f6eaecec0c5e01f8be467c491a'/>
<id>urn:sha1:67b4f3b1482971f6eaecec0c5e01f8be467c491a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>on Windows, use miri_static_root for TLS dtors</title>
<updated>2020-07-23T15:12:31+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-07-23T13:49:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c8229cdfc1a570b73d826cb92dd2d43db5257e4a'/>
<id>urn:sha1:c8229cdfc1a570b73d826cb92dd2d43db5257e4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #74606 - cuviper:cloexec, r=sfackler</title>
<updated>2020-07-23T07:42:14+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-23T07:42:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8909ac97d52a8b099fd334d84db1073839e16b16'/>
<id>urn:sha1:8909ac97d52a8b099fd334d84db1073839e16b16</id>
<content type='text'>
Remove Linux workarounds for missing CLOEXEC support

Now that #74163 updated the minimum Linux kernel to 2.6.32, we can
assume the availability of APIs that open file descriptors that are
already set to close on exec, including the flags `O_CLOEXEC`,
`SOCK_CLOEXEC`, and `F_DUPFD_CLOEXEC`.

Closes #74519.
</content>
</entry>
<entry>
<title>Rollup merge of #74587 - lzutao:consts, r=dtolnay</title>
<updated>2020-07-23T07:42:12+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-23T07:42:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bea2eedcb5cb08c08069db554abe7880a3dfd693'/>
<id>urn:sha1:bea2eedcb5cb08c08069db554abe7880a3dfd693</id>
<content type='text'>
Prefer constant over function

Just that I prefer constants over functions that can be made const.
</content>
</entry>
<entry>
<title>Rollup merge of #74141 - euclio:typos, r=steveklabnik</title>
<updated>2020-07-23T07:42:01+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-23T07:42:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9be109910713660e666f83ebdc6a6e717391e647'/>
<id>urn:sha1:9be109910713660e666f83ebdc6a6e717391e647</id>
<content type='text'>
libstd/libcore: fix various typos
</content>
</entry>
<entry>
<title>Prefer constant over function</title>
<updated>2020-07-23T02:49:40+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2020-07-23T02:49:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0de7fade1053f553f83ac603079602d50ab14e19'/>
<id>urn:sha1:0de7fade1053f553f83ac603079602d50ab14e19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move the pipe2 call behind a hard target `#[cfg]`</title>
<updated>2020-07-22T23:38:58+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2020-07-22T23:38:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae06e13b8de23722d8bf2fb0143581df07848aa8'/>
<id>urn:sha1:ae06e13b8de23722d8bf2fb0143581df07848aa8</id>
<content type='text'>
</content>
</entry>
</feed>
