]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add wrapper for make_unique
authorPhilip Herron <philip.herron@embecosm.com>
Tue, 23 Aug 2022 15:22:22 +0000 (16:22 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 13 Dec 2022 13:00:05 +0000 (14:00 +0100)
commitb32b1b1576a6df965cb3fcbed3780b9f045286b2
tree95c7aed348ca190ff432086808694e2d5980024f
parent7999cf327de7b5bbea80046715eeb00c0755a08d
gccrs: Add wrapper for make_unique

This is a wrapper for make_unique. We can likely get rid of this, as there
are other implementations available, or simply keep using the unique_ptr
constructor.

gcc/rust/
* util/rust-make-unique.h: New.
gcc/rust/util/rust-make-unique.h [new file with mode: 0644]