You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says. When I run the following code, it fails with the error message saying "Exited with signal 6 (SIGABRT): abort program" (in playground) or "process didn't exit successfully: C:\Users\wada3\Documents\projects\foo\target\debug\deps\foo-c5fce5ee08e1c1dc.exe (exit code: 0xc0000374, STATUS_HEAP_CORRUPTION)" in my Windows.
Please note that the Box::into_inner() is an unstable function and it's guarded behind box_into_inner feature flag in the std::boxed::Box for now.
So this might be something should not be supported by this library. Anyway, just for someone else who noticed this and came here from google search...
Minimum reproducing sample:
#![feature(allocator_api)]use::allocator_api2::boxed::Box;pubfnmain(){let b = Box::new(3);Box::into_inner(b);}
allocator_api2 version: 0.2.20
thanks!
The text was updated successfully, but these errors were encountered:
As the title says. When I run the following code, it fails with the error message saying "Exited with signal 6 (SIGABRT): abort program" (in playground) or "process didn't exit successfully:
C:\Users\wada3\Documents\projects\foo\target\debug\deps\foo-c5fce5ee08e1c1dc.exe
(exit code: 0xc0000374, STATUS_HEAP_CORRUPTION)" in my Windows.Please note that the
Box::into_inner()
is an unstable function and it's guarded behindbox_into_inner
feature flag in thestd::boxed::Box
for now.So this might be something should not be supported by this library. Anyway, just for someone else who noticed this and came here from google search...
Minimum reproducing sample:
allocator_api2
version: 0.2.20thanks!
The text was updated successfully, but these errors were encountered: