-
Notifications
You must be signed in to change notification settings - Fork 46
Fixes allocator to reflect changes in nightly API #45
Conversation
wee_alloc/src/imp_static_array.rs
Outdated
| @@ -1,5 +1,5 @@ | |||
| use const_init::ConstInit; | |||
| use core::alloc::{AllocErr, Opaque}; | |||
| use core::alloc::{AllocErr, u8}; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, that was too verbose :) Gonna fix that in a sec.
|
For the first issue, I would refer to https://users.rust-lang.org/t/psa-breaking-change-panic-fmt-language-item-removed-in-favor-of-panic-implementation/17875 , regarding the switch from |
@ZackPierce, thank you for the link. I think I can handle that. |
|
@ZackPierce, I've fixed all issues and now As for the remaining two issues, looks like it was me accidentally running normal |
pepyakin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
ZackPierce
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Revision 4e9f23f points to a master after rustwasm/wee_alloc#45 was merged
Revision 4e9f23f points to a master after rustwasm/wee_alloc#45 was merged
Recent changes in nightly broke
wee_allocbuild. In an attempt to solve the issues I prepared the following PR.Unfortunately, not all changes are resolved at the moment, so I would really appreciate any suggestions and comments on the remaining issues.
Currently there are three of them:
panic_fmtatexample/src/lib.rs:21:1duplicate lang item found:oomatexample/src/lib.rs:31:1duplicate lang item found:eh_personalityatexample/src/lib.rs:39:1Aside of that, the rest of the code compiles successfully.