<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_cranelift/src/allocator.rs, branch 1.67.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.67.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.67.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-10-31T16:32:57+00:00</updated>
<entry>
<title>Rewrite implementation of `#[alloc_error_handler]`</title>
<updated>2022-10-31T16:32:57+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2022-10-14T01:24:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56074b5231ceef266a1097ea355f62c951e1b468'/>
<id>urn:sha1:56074b5231ceef266a1097ea355f62c951e1b468</id>
<content type='text'>
The new implementation doesn't use weak lang items and instead changes
`#[alloc_error_handler]` to an attribute macro just like
`#[global_allocator]`.

The attribute will generate the `__rg_oom` function which is called by
the compiler-generated `__rust_alloc_error_handler`. If no `__rg_oom`
function is defined in any crate then the compiler shim will call
`__rdl_oom` in the alloc crate which will simply panic.

This also fixes link errors with `-C link-dead-code` with
`default_alloc_error_handler`: `__rg_oom` was previously defined in the
alloc crate and would attempt to reference the `oom` lang item, even if
it didn't exist. This worked as long as `__rg_oom` was excluded from
linking since it was not called.

This is a prerequisite for the stabilization of
`default_alloc_error_handler` (#102318).
</content>
</entry>
<entry>
<title>Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23</title>
<updated>2022-10-23T14:22:55+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2022-10-23T14:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e54a13f18bf2873f12d556fb05bb60f2a7f75bfa'/>
<id>urn:sha1:e54a13f18bf2873f12d556fb05bb60f2a7f75bfa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `debugging_opts` to `unstable_opts`</title>
<updated>2022-07-13T22:47:06+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-07-06T12:44:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c9765cff18a3c4ba2962ea59d4c3f6966f9700c'/>
<id>urn:sha1:3c9765cff18a3c4ba2962ea59d4c3f6966f9700c</id>
<content type='text'>
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
Rename it to be more clear.
</content>
</entry>
<entry>
<title>Add -Z oom={panic,abort} command-line option</title>
<updated>2022-03-03T12:58:38+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2021-10-06T14:52:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa36237e1604de6a2a6275f5580c9d680d627c2f'/>
<id>urn:sha1:aa36237e1604de6a2a6275f5580c9d680d627c2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23</title>
<updated>2022-02-23T10:49:34+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2022-02-23T10:49:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f596dce542d31e56eac60836cc8d3621511410d9'/>
<id>urn:sha1:f596dce542d31e56eac60836cc8d3621511410d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06</title>
<updated>2021-08-06T14:26:56+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-08-06T14:26:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=279f486960edc43246ea413970f587a82365cca7'/>
<id>urn:sha1:279f486960edc43246ea413970f587a82365cca7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make allocator_kind a query.</title>
<updated>2021-06-20T09:52:51+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-05-11T20:05:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a371d2c8939c3a32ff0da69eb66b271ffa58288'/>
<id>urn:sha1:6a371d2c8939c3a32ff0da69eb66b271ffa58288</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Reduce the amount of untracked state in TyCtxt"</title>
<updated>2021-06-01T07:05:22+00:00</updated>
<author>
<name>Camille Gillot</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-06-01T07:05:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f0f3138cb80137b9277b29118c05dbff9a8915e'/>
<id>urn:sha1:0f0f3138cb80137b9277b29118c05dbff9a8915e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make allocator_kind a query.</title>
<updated>2021-05-30T17:58:01+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-05-11T20:05:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee94fbb607957ff842778ebec5e8e621145c60b3'/>
<id>urn:sha1:ee94fbb607957ff842778ebec5e8e621145c60b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use () in dependency_formats.</title>
<updated>2021-05-12T11:58:41+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2021-05-11T09:26:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=85a14d70bb2f094f67642ed22f5ffab4a4b9b719'/>
<id>urn:sha1:85a14d70bb2f094f67642ed22f5ffab4a4b9b719</id>
<content type='text'>
</content>
</entry>
</feed>
