<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/wasm, branch 1.53.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.53.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.53.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-04-30T09:52:32+00:00</updated>
<entry>
<title>Auto merge of #84522 - CDirkx:cmath, r=yaahc</title>
<updated>2021-04-30T09:52:32+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-04-30T09:52:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49920bc581743d6edb9f82fbff4cbafebc212619'/>
<id>urn:sha1:49920bc581743d6edb9f82fbff4cbafebc212619</id>
<content type='text'>
Reuse `sys::unix::cmath` on other platforms

Reuse `sys::unix::cmath` on all non-`windows` platforms.

`unix` is chosen as the canonical location instead of `unsupported` or `common` because `unsupported` doesn't make sense semantically and `common` is reserved for code that is supported on all platforms. Also `unix` is already the home of some non-`windows` code that is technically not exclusive to `unix` like `unix::path`.
</content>
</entry>
<entry>
<title>Reuse `unix::cmath`</title>
<updated>2021-04-28T12:25:04+00:00</updated>
<author>
<name>Christiaan Dirkx</name>
<email>christiaan@dirkx.email</email>
</author>
<published>2021-04-24T15:50:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26fb1e373bd313b70d1f95cd16259035e5a7f8c8'/>
<id>urn:sha1:26fb1e373bd313b70d1f95cd16259035e5a7f8c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #84115 - CDirkx:rt, r=m-ou-se</title>
<updated>2021-04-25T04:45:39+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-04-25T04:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5da10c01214a3d3ebec65b8ba6effada92a0673f'/>
<id>urn:sha1:5da10c01214a3d3ebec65b8ba6effada92a0673f</id>
<content type='text'>
Rework `init` and `cleanup`

This PR reworks the code in `std` that runs before and after `main` and centralizes this code respectively in the functions `init` and `cleanup` in both `sys_common` and `sys`. This makes is easy to see what code is executed during initialization and cleanup on each platform just by looking at e.g. `sys::windows::init`.

Full list of changes:
- new module `rt` in `sys_common` to contain `init` and `cleanup` and the runtime macros.
- `at_exit` and the mechanism to register exit handlers has been completely removed. In practice this was only used for closing sockets on windows and flushing stdout, which have been moved to `cleanup`.
- &lt;s&gt;On windows `alloc` and `net` initialization is now done in `init`, this saves a runtime check in every allocation and network use.&lt;/s&gt;
</content>
</entry>
<entry>
<title>Explicitly implement `!Send` and `!Sync` for `sys::{Args, Env}`</title>
<updated>2021-04-22T22:15:35+00:00</updated>
<author>
<name>Christiaan Dirkx</name>
<email>christiaan@dirkx.email</email>
</author>
<published>2021-04-14T02:04:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dc110af7fc39bd19b61038eb13f2a4d5d59857c7'/>
<id>urn:sha1:dc110af7fc39bd19b61038eb13f2a4d5d59857c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #84413 - CDirkx:args_inner_debug, r=m-ou-se</title>
<updated>2021-04-22T16:14:43+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2021-04-22T16:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1f5fc601770b7d579904c5b8fe554b184587b66'/>
<id>urn:sha1:d1f5fc601770b7d579904c5b8fe554b184587b66</id>
<content type='text'>
Remove `sys::args::Args::inner_debug` and use `Debug` instead

This removes the method `sys::args::Args::inner_debug` on all platforms and implements `Debug` for `Args` instead.

I believe this creates a more natural API for the different platforms under `sys`: export a type `Args: Debug + Iterator + ...` vs. `Args: Iterator + ...` and with a method `inner_debug`.
</content>
</entry>
<entry>
<title>Move most init to `sys::init`</title>
<updated>2021-04-22T16:00:12+00:00</updated>
<author>
<name>Christiaan Dirkx</name>
<email>christiaan@dirkx.email</email>
</author>
<published>2021-04-11T21:48:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=11445c10ab630a6ad8526f3fc5bcea1badad2964'/>
<id>urn:sha1:11445c10ab630a6ad8526f3fc5bcea1badad2964</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `sys::args::Args::inner_debug` and use `Debug` instead</title>
<updated>2021-04-22T09:04:29+00:00</updated>
<author>
<name>Christiaan Dirkx</name>
<email>christiaan@dirkx.email</email>
</author>
<published>2021-04-21T21:51:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a6de8450e495f9027c174d22a041112344a9e51'/>
<id>urn:sha1:1a6de8450e495f9027c174d22a041112344a9e51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move all cleanup to `sys::cleanup`</title>
<updated>2021-04-22T08:44:44+00:00</updated>
<author>
<name>Christiaan Dirkx</name>
<email>christiaan@dirkx.email</email>
</author>
<published>2021-04-11T21:20:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf470197addb37146eb2e0d16f14dd14293d91f0'/>
<id>urn:sha1:cf470197addb37146eb2e0d16f14dd14293d91f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change uses of never type</title>
<updated>2021-04-20T18:53:07+00:00</updated>
<author>
<name>Christiaan Dirkx</name>
<email>christiaan@dirkx.email</email>
</author>
<published>2021-04-14T01:19:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d45e1314f36ac249e8fb7d9564362ac8f94e49be'/>
<id>urn:sha1:d45e1314f36ac249e8fb7d9564362ac8f94e49be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace `Void` with never type</title>
<updated>2021-04-20T18:53:07+00:00</updated>
<author>
<name>Christiaan Dirkx</name>
<email>christiaan@dirkx.email</email>
</author>
<published>2021-04-14T00:37:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=389fef3b304bd4f196a337797591d9f8db998a62'/>
<id>urn:sha1:389fef3b304bd4f196a337797591d9f8db998a62</id>
<content type='text'>
</content>
</entry>
</feed>
