diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-06-14 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-06-15 10:02:06 +0200 |
| commit | 1f0895162ba5a783d4d73d5c263552eaca9343b3 (patch) | |
| tree | 661e0fe44d168857edeee089169afa74ae3e3244 /src/rustllvm/RustWrapper.cpp | |
| parent | c0c3327ade8b0caa3043425ee45842c86fbd4f76 (diff) | |
| download | rust-1f0895162ba5a783d4d73d5c263552eaca9343b3.tar.gz rust-1f0895162ba5a783d4d73d5c263552eaca9343b3.zip | |
Avoid forming references to an uninitialized memory in DroplessArena
Return a pointer from `alloc_raw` instead of a slice. There is no practical use for slice as a return type and changing it to a pointer avoids forming references to an uninitialized memory.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
