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
Since release 0.3.0 of the crate, this library depends on alloc, and requires types from it to fill functions. Because alloc requires an allocator, you can't link it in any crate marked with #![allocator], so it all breaks down.
Fix: Remove dependency on alloc by replacing Layout parameters with size, and align usize parameters, like they were in v0.2.7
The text was updated successfully, but these errors were encountered:
The allocator API was changed a few days ago. The #![allocator] attribute is gone now. Instead, a global allocator is now defined through the Alloc trait and the #[global_allocator] attribute. See #4 for more details.
If you update your nightly version, you will need to use the new API, so I decided to adjust this crate. If you want to stay on an older nightly, you can just keep using v0.2.7.
Since release 0.3.0 of the crate, this library depends on alloc, and requires types from it to fill functions. Because alloc requires an allocator, you can't link it in any crate marked with #![allocator], so it all breaks down.
Fix: Remove dependency on alloc by replacing Layout parameters with size, and align usize parameters, like they were in v0.2.7
The text was updated successfully, but these errors were encountered: