<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/liballoc/sync, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<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>Migrate to numeric associated consts</title>
<updated>2020-06-10T01:35:47+00:00</updated>
<author>
<name>Lzu Tao</name>
<email>taolzu@gmail.com</email>
</author>
<published>2020-06-02T07:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fff822fead6249671cbcb090b24bce58fab38de0'/>
<id>urn:sha1:fff822fead6249671cbcb090b24bce58fab38de0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix test_weak_count_locked for Miri</title>
<updated>2020-05-11T14:49:36+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-05-03T10:34:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7bea58eeac3a5a5280810623f06eadb3a8b891a3'/>
<id>urn:sha1:7bea58eeac3a5a5280810623f06eadb3a8b891a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>liballoc tests: Miri supports threads now</title>
<updated>2020-05-01T09:16:38+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2020-05-01T09:16:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c66d02e3ba0d5ace4e42bab88e4df246f03b91d5'/>
<id>urn:sha1:c66d02e3ba0d5ace4e42bab88e4df246f03b91d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Format the world</title>
<updated>2019-12-22T22:42:47+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-12-22T22:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a06baa56b95674fc626b3c3fd680d6a65357fe60'/>
<id>urn:sha1:a06baa56b95674fc626b3c3fd680d6a65357fe60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #65778 - bdonlan:stable_weak_count, r=dtolnay</title>
<updated>2019-12-16T04:23:26+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-12-16T04:23:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c34ea91a9dbea9b23653dc39cb09e5d412353359'/>
<id>urn:sha1:c34ea91a9dbea9b23653dc39cb09e5d412353359</id>
<content type='text'>
Stabilize `std::{rc,sync}::Weak::{weak_count, strong_count}`

* Original PR: #56696
* Tracking issue: #57977

Closes: #57977

Supporting comments:

&gt; Although these were added for testing, it is occasionally useful to have a way to probe optimistically for whether a weak pointer has become dangling, without actually taking the overhead of manipulating atomics. Are there any plans to stabilize this?

_Originally posted by @bdonlan in https://github.com/rust-lang/rust/issues/57977#issuecomment-516970921_

&gt; Having this stabilized would help. Currently, the only way to check if a weak pointer has become dangling is to call `upgrade`, which is by far expensive.

_Originally posted by @glebpom in https://github.com/rust-lang/rust/issues/57977#issuecomment-526934709_

Not sure if stabilizing these warrants a full RFC, so throwing this out here as a start for now.

Note: per CONTRIBUTING.md, I ran the tidy checks, but they seem to be failing on unchanged files (primarily in `src/stdsimd`).
</content>
</entry>
<entry>
<title>liballoc: ignore tests in Miri instead of removing them entirely</title>
<updated>2019-12-07T11:42:19+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2019-12-07T11:42:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca2ffe3a8030e0fb6593cb6905a371441a10a4e0'/>
<id>urn:sha1:ca2ffe3a8030e0fb6593cb6905a371441a10a4e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make Weak::weak_count() return zero when no strong refs remain</title>
<updated>2019-11-21T19:48:39+00:00</updated>
<author>
<name>Bryan Donlan</name>
<email>bdonlan@amazon.com</email>
</author>
<published>2019-11-21T19:48:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0d0b283c2c5a4df891ca47b27f0851ef2549ac3b'/>
<id>urn:sha1:0d0b283c2c5a4df891ca47b27f0851ef2549ac3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add implementations for converting boxed slices into boxed arrays</title>
<updated>2019-08-05T14:26:53+00:00</updated>
<author>
<name>Jake Goulding</name>
<email>jake.goulding@gmail.com</email>
</author>
<published>2019-06-04T12:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32324d22c33dda31eadf49c5f27d6e6ff38a3ef1'/>
<id>urn:sha1:32324d22c33dda31eadf49c5f27d6e6ff38a3ef1</id>
<content type='text'>
This mirrors the implementations of reference slices into arrays.
</content>
</entry>
<entry>
<title>liballoc: Unconfigure tests during normal build</title>
<updated>2019-08-01T22:59:01+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-08-01T22:40:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3d0d6ee271a34d2329235b9a04cf4a421d9026cd'/>
<id>urn:sha1:3d0d6ee271a34d2329235b9a04cf4a421d9026cd</id>
<content type='text'>
Remove additional libcore-like restrictions from liballoc, turns out the testing works ok if the tests are a part of liballoc itself.
</content>
</entry>
</feed>
