Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: fix nightly build #301

Merged
merged 1 commit into from
Dec 14, 2020
Merged

CI: fix nightly build #301

merged 1 commit into from
Dec 14, 2020

Conversation

japaric
Copy link
Member

@japaric japaric commented Dec 14, 2020

linked_list_allocator (LLA) added a default (opt-out) Cargo feature, "const_mut_refs", in 0.8.7. This feature controls whether Heap::new is a const function or not.
alloc-cortex-m uses linked_list_allocator with default-features = no
as a result alloc-cortex-m doesn't compile on nightly after 0.8.7 was released

to work around the issue we manually enable the LLA's "const_mut_refs"

@japaric japaric merged commit 53c51a4 into main Dec 14, 2020
@japaric japaric deleted the fix-ci branch December 14, 2020 17:05
@Lotterleben Lotterleben restored the fix-ci branch December 18, 2020 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants