<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/sys/redox, 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>2019-08-06T22:18:23+00:00</updated>
<entry>
<title>redox: convert to target_family unix</title>
<updated>2019-08-06T22:18:23+00:00</updated>
<author>
<name>Jeremy Soller</name>
<email>jeremy@system76.com</email>
</author>
<published>2019-04-07T14:39:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0498da9a3dc061f604fcfb9b56bd889e07f2b7e2'/>
<id>urn:sha1:0498da9a3dc061f604fcfb9b56bd889e07f2b7e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add {IoSlice, IoSliceMut}::advance</title>
<updated>2019-08-03T08:44:45+00:00</updated>
<author>
<name>Thomas de Zeeuw</name>
<email>thomasdezeeuw@gmail.com</email>
</author>
<published>2019-07-25T20:30:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dad56c39474377c7d47e261b380d0be3aed104cc'/>
<id>urn:sha1:dad56c39474377c7d47e261b380d0be3aed104cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing lifetime specifier</title>
<updated>2019-07-04T08:42:24+00:00</updated>
<author>
<name>Jeremy Stucki</name>
<email>dev@jeremystucki.ch</email>
</author>
<published>2019-07-04T08:42:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc67e5774df2ca5d5fdcf78835983b8c2ddb134d'/>
<id>urn:sha1:fc67e5774df2ca5d5fdcf78835983b8c2ddb134d</id>
<content type='text'>
Co-Authored-By: Mazdak Farrokhzad &lt;twingoow@gmail.com&gt;</content>
</entry>
<entry>
<title>Remove needless lifetimes</title>
<updated>2019-07-01T10:15:27+00:00</updated>
<author>
<name>Jeremy Stucki</name>
<email>jeremy@myelin.ch</email>
</author>
<published>2019-06-25T17:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=47ea8ae0223434e917ce840a963b495019bbe4d1'/>
<id>urn:sha1:47ea8ae0223434e917ce840a963b495019bbe4d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #60341 - mtak-:macos-tlv-workaround, r=alexcrichton</title>
<updated>2019-06-20T02:36:49+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-06-20T02:36:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c805ce183840bd20bd81a54a02b3c8b6dccc9dd'/>
<id>urn:sha1:3c805ce183840bd20bd81a54a02b3c8b6dccc9dd</id>
<content type='text'>
macos tlv workaround

fixes: #60141

Includes:
* remove dead code: `requires_move_before_drop`. This hasn't been needed for a while now (oops I should have removed it in #57655)
* redox had a copy of `fast::Key` (not sure why?). That has been removed.
* Perform a `read_volatile` on OSX to reduce `tlv_get_addr` calls per `__getit` from (4-2 depending on context) to 1.

`tlv_get_addr` is relatively expensive (~1.5ns on my machine).

Previously, in contexts where `__getit` was inlined, 4 calls to `tlv_get_addr` were performed per lookup. For some reason when `__getit` is not inlined this is reduced to 2x - and performance improves to match.

After this PR, I have only ever seen 1x call to `tlv_get_addr` per `__getit`, and macos now benefits from situations where `__getit` is inlined.

I'm not sure if the `read_volatile(&amp;&amp;__KEY)` trick is working around an LLVM bug, or a rustc bug, or neither.

r? @alexcrichton
</content>
</entry>
<entry>
<title>Rollup merge of #61202 - oberien:permissionext-print-octal, r=varkor</title>
<updated>2019-05-28T22:20:01+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-05-28T22:20:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21684c07c7f0b83601dfb834bc717cd411a94004'/>
<id>urn:sha1:21684c07c7f0b83601dfb834bc717cd411a94004</id>
<content type='text'>
Print PermissionExt::mode() in octal in Documentation Examples

Printing the file permission mode on unix systems in decimal feels unintuitive. Printing it in octal gives the expected form of e.g. `664`.
</content>
</entry>
<entry>
<title>Print file mode of PermissionExt in octal in Examples</title>
<updated>2019-05-26T00:55:21+00:00</updated>
<author>
<name>oberien</name>
<email>jaro.fietz@gmx.de</email>
</author>
<published>2019-05-26T00:55:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=04e45c877fc43a6b1624adfddeed5700becfa543'/>
<id>urn:sha1:04e45c877fc43a6b1624adfddeed5700becfa543</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Depend on `backtrace` crate from crates.io</title>
<updated>2019-05-26T00:09:45+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2019-05-15T14:30:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1040fe329a8db99ae0aae47975830a0829d7792'/>
<id>urn:sha1:d1040fe329a8db99ae0aae47975830a0829d7792</id>
<content type='text'>
This commit removes all in-tree support for generating backtraces in
favor of depending on the `backtrace` crate on crates.io. This resolves
a very longstanding piece of duplication where the standard library has
long contained the ability to generate a backtrace on panics, but the
code was later extracted and duplicated on crates.io with the
`backtrace` crate. Since that fork each implementation has seen various
improvements one way or another, but typically `backtrace`-the-crate has
lagged behind libstd in one way or another.

The goal here is to remove this duplication of a fairly critical piece
of code and ensure that there's only one source of truth for generating
backtraces between the standard library and the crate on crates.io.
Recently I've been working to bring the `backtrace` crate on crates.io
up to speed with the support in the standard library which includes:

* Support for `StackWalkEx` on MSVC to recover inline frames with
  debuginfo.
* Using `libbacktrace` by default on MinGW targets.
* Supporting `libbacktrace` on OSX as an option.
* Ensuring all the requisite support in `backtrace`-the-crate compiles
  with `#![no_std]`.
* Updating the `libbacktrace` implementation in `backtrace`-the-crate to
  initialize the global state with the correct filename where necessary.

After reviewing the code in libstd the `backtrace` crate should be at
exact feature parity with libstd today. The backtraces generated should
have the same symbols and same number of frames in general, and there's
not known divergence from libstd currently.

Note that one major difference between libstd's backtrace support and
the `backtrace` crate is that on OSX the crates.io crate enables the
`coresymbolication` feature by default. This feature, however, uses
private internal APIs that aren't published for OSX. While they provide
more accurate backtraces this isn't appropriate for libstd distributed
as a binary, so libstd's dependency on the `backtrace` crate explicitly
disables this feature and forces OSX to use `libbacktrace` as a
symbolication strategy.

The long-term goal of this refactoring is to eventually move us towards
a world where we can drop `libbacktrace` entirely and simply use Gimli
and the surrounding crates for backtrace support. That's still aways off
but hopefully will much more easily enabled by having the source of
truth for backtraces live in crates.io!

Procedurally if we go forward with this I'd like to transfer the
`backtrace-rs` crate to the rust-lang GitHub organization as well, but I
figured I'd hold off on that until we get closer to merging.
</content>
</entry>
<entry>
<title>Rollup merge of #60581 - hellow554:fix_60580, r=alexcrichton</title>
<updated>2019-05-22T01:47:31+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-05-22T01:47:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d69ef04af59b4e4c4c50fb2cc09d958ae879556a'/>
<id>urn:sha1:d69ef04af59b4e4c4c50fb2cc09d958ae879556a</id>
<content type='text'>
convert custom try macro to `?`

resolves #60580

r? @frewsxcv
</content>
</entry>
<entry>
<title>restructure thread_local! for better codegen (especially on macos)</title>
<updated>2019-05-15T14:30:33+00:00</updated>
<author>
<name>tyler</name>
<email>tyler@brainiumstudios.com</email>
</author>
<published>2019-05-03T05:40:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dfe51a7249e04431526cf3b4779316aabef53cca'/>
<id>urn:sha1:dfe51a7249e04431526cf3b4779316aabef53cca</id>
<content type='text'>
</content>
</entry>
</feed>
