<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/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>2025-09-03T07:14:25+00:00</updated>
<entry>
<title>thread parking: fix docs and examples</title>
<updated>2025-09-03T07:14:25+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-08-26T16:12:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=39d51d04e706dee462ac4a17508ed87eb52e7715'/>
<id>urn:sha1:39d51d04e706dee462ac4a17508ed87eb52e7715</id>
<content type='text'>
</content>
</entry>
<entry>
<title>library: Migrate from `cfg_if` to `cfg_select`</title>
<updated>2025-08-16T12:28:31+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-08-10T21:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ae4a0cc3487f28b29f36afe8056535afad21e7b'/>
<id>urn:sha1:1ae4a0cc3487f28b29f36afe8056535afad21e7b</id>
<content type='text'>
Migrate the standard library from using the external `cfg_if` crate to
using the now-built-in `cfg_select` macro.

This does not yet eliminate the dependency from
`library/std/Cargo.toml`, because while the standard library itself no
longer uses `cfg_if`, it also incorporates the `backtrace` crate, which
does.

Migration assisted by the following vim command (after selecting the
full `cfg_if!` invocation):

```
'&lt;,'&gt;s/\(cfg_if::\)\?cfg_if/cfg_select/ | '&lt;,'&gt;s/^\( *\)} else {/\1}\r\1_ =&gt; {/c | '&lt;,'&gt;s/^\( *\)} else if #\[cfg(\(.*\))\] /\1}\r\1\2 =&gt; /e | '&lt;,'&gt;s/if #\[cfg(\(.*\))\] {/\1 =&gt; {/e
```

This is imperfect, but substantially accelerated the process. This
prompts for confirmation on the `} else {` since that can also appear
inside one of the arms. This also requires manual intervention to handle
any multi-line conditions.
</content>
</entry>
<entry>
<title>Add comment why we use zero for COMPLETE</title>
<updated>2025-07-13T10:37:34+00:00</updated>
<author>
<name>Orson Peters</name>
<email>orsonpeters@gmail.com</email>
</author>
<published>2025-07-13T10:37:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f041962694875c0f0a33f8a5e27fd00597042169'/>
<id>urn:sha1:f041962694875c0f0a33f8a5e27fd00597042169</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use zero for initialized Once state</title>
<updated>2025-07-13T10:16:40+00:00</updated>
<author>
<name>Orson Peters</name>
<email>orsonpeters@gmail.com</email>
</author>
<published>2025-07-13T10:16:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a2d41393365df0c0c9f728de7f79b8f0d4e14ef2'/>
<id>urn:sha1:a2d41393365df0c0c9f728de7f79b8f0d4e14ef2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add comments to diagnostic items</title>
<updated>2025-05-28T15:05:45+00:00</updated>
<author>
<name>Patrick-6</name>
<email>pamu99@gmx.ch</email>
</author>
<published>2025-05-28T15:05:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8237107d88866d4f4525f77384c653d4c80ad4df'/>
<id>urn:sha1:8237107d88866d4f4525f77384c653d4c80ad4df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make pthread Mutex internals less public</title>
<updated>2025-05-28T13:13:38+00:00</updated>
<author>
<name>Patrick-6</name>
<email>pamu99@gmx.ch</email>
</author>
<published>2025-05-28T13:13:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=149b5b2567535af761d16ed388b653740db7a457'/>
<id>urn:sha1:149b5b2567535af761d16ed388b653740db7a457</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add diagnostic items to sys::Mutex</title>
<updated>2025-05-28T13:12:56+00:00</updated>
<author>
<name>Patrick-6</name>
<email>pamu99@gmx.ch</email>
</author>
<published>2025-05-28T13:12:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e99a880e22f5a1f3800e1a26828b188204d037e'/>
<id>urn:sha1:2e99a880e22f5a1f3800e1a26828b188204d037e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>collect all Fuchsia bindings into the `fuchsia` module</title>
<updated>2025-05-05T10:16:40+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2025-05-05T10:16:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7845c011dd3bdfb5eaa461476f5f7d0f3aa16dfc'/>
<id>urn:sha1:7845c011dd3bdfb5eaa461476f5f7d0f3aa16dfc</id>
<content type='text'>
The Fuchsia bindings are currently spread out across multiple modules in `sys/pal/unix` leading to unnecessary duplication. This PR moves all of these definitions into `sys::pal::unix::fuchsia` and additionally:
* deduplicates the definitions
* makes the error names consistent
* marks some extern functions as safe
* removes unused items (there's no need to maintain these bindings if we're not going to use them)
* removes the documentation for the definitions (contributors should always consult the platform documentation, duplicating that here is just an extra maintenance burden)
</content>
</entry>
<entry>
<title>use generic Atomic type where possible</title>
<updated>2025-04-26T23:18:08+00:00</updated>
<author>
<name>Christopher Durham</name>
<email>cad97@cad97.com</email>
</author>
<published>2024-09-19T04:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d93f6056824c338751f19356d33bb61ce818749'/>
<id>urn:sha1:4d93f6056824c338751f19356d33bb61ce818749</id>
<content type='text'>
in core/alloc/std only for now, and ignoring test files

Co-authored-by: Pavel Grigorenko &lt;GrigorenkoPV@ya.ru&gt;
</content>
</entry>
<entry>
<title>Fix `*-win7-windows-msvc` target since 26eeac1a1e9fe46ffd80dd0d3dafdd2c2a644306</title>
<updated>2025-02-19T10:05:37+00:00</updated>
<author>
<name>Li Keqing</name>
<email>auroracloud4096@gmail.com</email>
</author>
<published>2025-02-19T10:05:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=35febd7a6d57179f41cb5b4a37f9545915e4d7a5'/>
<id>urn:sha1:35febd7a6d57179f41cb5b4a37f9545915e4d7a5</id>
<content type='text'>
</content>
</entry>
</feed>
