Skip to content

Commit 5e6d229

Browse files
committed
Add missing inline attribute
1 parent da63add commit 5e6d229

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/allocator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ fn create_const_value_function(
104104
)));
105105

106106
func.add_attribute(FnAttribute::AlwaysInline);
107+
func.add_attribute(FnAttribute::Inline);
107108

108109
if tcx.sess.must_emit_unwind_tables() {
109110
// TODO(antoyo): emit unwind tables.

0 commit comments

Comments
 (0)