<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<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>Rollup merge of #74598 - mzohreva:mz/fix-test, r=KodrAus</title>
<updated>2020-07-27T10:31:55+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2020-07-27T10:31:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba3c245227a83e9470de17f777f967b4d20fd8f3'/>
<id>urn:sha1:ba3c245227a83e9470de17f777f967b4d20fd8f3</id>
<content type='text'>
Fix sync_once_cell_does_not_leak_partially_constructed_boxes

Spinning multiple threads in this test causes a deadlock in
SGX where thread scheduling is not preemptive.

cc @jethrogb @AdrianCX
</content>
</entry>
<entry>
<title>Avoid writes without any data in `Write::write_all_vectored`</title>
<updated>2020-07-26T10:25:02+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2020-07-06T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a5d3abfb1aa3a38e0b3b3508c760fc8e712226c'/>
<id>urn:sha1:7a5d3abfb1aa3a38e0b3b3508c760fc8e712226c</id>
<content type='text'>
Previously, when non-empty sequence of empty IoSlices have been provided
to `Write::write_all_vectored`, the buffers would be written as is with
`Write::write_vectored` and subsequently the return value `Ok(0)` would
be misinterpreted as an error.

Avoid writes without any data by advancing the buffers first. This
matches the documented behaviour of `Write::write_all_vectored`
and is analogous to what happens in `Write::write_all`.
</content>
</entry>
<entry>
<title>Auto merge of #74060 - kpp:remove_length_at_most_32, r=dtolnay</title>
<updated>2020-07-26T05:50:51+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-07-26T05:50:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=461707c5a119cc33c5d7df585ddb6cbec4a081bf'/>
<id>urn:sha1:461707c5a119cc33c5d7df585ddb6cbec4a081bf</id>
<content type='text'>
Remove trait LengthAtMost32

This is a continuation of https://github.com/rust-lang/rust/pull/74026 preserving the original burrbull's commit.

I talked to @burrbull, he suggested me to finish his PR.
</content>
</entry>
<entry>
<title>Auto merge of #74017 - poliorcetics:where-keyword, r=jyn514</title>
<updated>2020-07-25T01:44:22+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-07-25T01:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4e173472beb073ce3759525a15ed429b032787a'/>
<id>urn:sha1:c4e173472beb073ce3759525a15ed429b032787a</id>
<content type='text'>
Document the where keyword

Partial fix of #34601 (and last PR for it 🎉).

This documents the `where` keyword.

@rustbot modify labels: T-doc,C-enhancement
</content>
</entry>
<entry>
<title>Auto merge of #73645 - poliorcetics:ref-keyword, r=jyn514</title>
<updated>2020-07-24T23:55:16+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-07-24T23:55:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e55f584b3bfafc335a1a819ddd1ee6f97b7a59e'/>
<id>urn:sha1:1e55f584b3bfafc335a1a819ddd1ee6f97b7a59e</id>
<content type='text'>
Document the ref keyword

Partial fix for #34601.

This documents the `ref` keyword with two examples, one failing to compile because the `ref` keyword is missing, and the same example fixed with the keyword inserted in the correct place.

It also explains (very *very* rapidly) the differences between `&amp;` and `ref`.

I put a link to the best place I could find in the Reference but there may be something better that I didn't find.
</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>Fix nits, rework the second example of select (the one deliberately failing to compile)</title>
<updated>2020-07-24T17:33:52+00:00</updated>
<author>
<name>Alexis Bourget</name>
<email>alexis.bourget@gmail.com</email>
</author>
<published>2020-07-24T17:33:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6af60d3e2434490ed0e4a4fee40435c989753a0b'/>
<id>urn:sha1:6af60d3e2434490ed0e4a4fee40435c989753a0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix nits</title>
<updated>2020-07-24T17:06:26+00:00</updated>
<author>
<name>Alexis Bourget</name>
<email>alexis.bourget@gmail.com</email>
</author>
<published>2020-07-24T17:06:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=79f052bd4fa7f695a96515c44c5a72e75cf782ee'/>
<id>urn:sha1:79f052bd4fa7f695a96515c44c5a72e75cf782ee</id>
<content type='text'>
</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>
</feed>
