<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/allocator.rs, branch 1.73.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.73.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.73.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-08-13T16:49:49+00:00</updated>
<entry>
<title>Auto merge of #113722 - bjorn3:allocator_shim_refactor, r=jackh726</title>
<updated>2023-08-13T16:49:49+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-08-13T16:49:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=644e8068cbffef6428d1970fe50a4a863079ee54'/>
<id>urn:sha1:644e8068cbffef6428d1970fe50a4a863079ee54</id>
<content type='text'>
Extract a create_wrapper_function for use in allocator shim writing

This deduplicates some logic and makes it easier to follow what wrappers are produced. In the future it may allow moving the code to determine which wrappers to create to cg_ssa.
</content>
</entry>
<entry>
<title>Generate better function argument names in global_allocator expansion</title>
<updated>2023-08-06T14:36:05+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2023-08-06T14:20:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=704aa56ba0f3b42499f97b14b2f7a2bfb0761b0e'/>
<id>urn:sha1:704aa56ba0f3b42499f97b14b2f7a2bfb0761b0e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extract a create_wrapper_function for use in allocator shim writing</title>
<updated>2023-08-04T13:26:36+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2023-07-15T12:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49ae3b7867a09fefee26f1ff34890f7a3e230f28'/>
<id>urn:sha1:49ae3b7867a09fefee26f1ff34890f7a3e230f28</id>
<content type='text'>
This deduplicates some logic and makes it easier to follow what wrappers
are produced. In the future it may allow moving the code to determine
which wrappers to create to cg_ssa.
</content>
</entry>
<entry>
<title>cg_llvm: remove pointee types and pointercast/bitcast-of-ptr</title>
<updated>2023-07-29T17:18:17+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2022-12-06T05:07:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b6540777fed3ca92a7c306be6c6ab4b074a033b2'/>
<id>urn:sha1:b6540777fed3ca92a7c306be6c6ab4b074a033b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "use new c literals instead of cstr! macro"</title>
<updated>2023-07-05T11:11:27+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2023-07-04T17:53:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3788b7ab32a6398e7563557f7b32f741f43704a3'/>
<id>urn:sha1:3788b7ab32a6398e7563557f7b32f741f43704a3</id>
<content type='text'>
This reverts commit a17561ffc90c900cb7d0e96b00c6381244764ef7.
</content>
</entry>
<entry>
<title>use new c literals instead of cstr! macro</title>
<updated>2023-05-31T16:40:24+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2023-05-16T15:43:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a17561ffc90c900cb7d0e96b00c6381244764ef7'/>
<id>urn:sha1:a17561ffc90c900cb7d0e96b00c6381244764ef7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prevent insta-stable no alloc shim support</title>
<updated>2023-05-11T14:35:09+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2022-09-10T11:33:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=66982a383b6f7d3a933fc6896202632bee7161a4'/>
<id>urn:sha1:66982a383b6f7d3a933fc6896202632bee7161a4</id>
<content type='text'>
You will need to add the following as replacement for the old __rust_*
definitions when not using the alloc shim.

    #[no_mangle]
    static __rust_no_alloc_shim_is_unstable: u8 = 0;
</content>
</entry>
<entry>
<title>Use global_fn_name instead of format!</title>
<updated>2023-05-11T14:35:09+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-07-06T16:56:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=145b0574efd63603f35beda4d6b69933c8a01c1f'/>
<id>urn:sha1:145b0574efd63603f35beda4d6b69933c8a01c1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split AllocatorKind::fn_name in global_fn_name and default_fn_name</title>
<updated>2023-05-11T14:35:08+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-07-03T15:50:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ba7c5db079132b5d85112083691d4203a6b761c'/>
<id>urn:sha1:6ba7c5db079132b5d85112083691d4203a6b761c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't use an allocator shim for `#[global_allocator]`</title>
<updated>2023-05-11T14:23:31+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-07-03T14:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ce20663f767c7d1610411b21ed31db3e9af21f4'/>
<id>urn:sha1:4ce20663f767c7d1610411b21ed31db3e9af21f4</id>
<content type='text'>
This makes it possible to use liballoc/libstd in combination with
`--emit obj` if you use `#[global_allocator]`. Making it work for the
default libstd allocator would require weak functions, which are not
well supported on all systems.
</content>
</entry>
</feed>
