Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jul-sh
Copy link

@jul-sh jul-sh commented Jun 6, 2022

tested on rustc 1.62.0-nightly

@jul-sh jul-sh force-pushed the main branch 2 times, most recently from 95885e8 to c45748c Compare June 6, 2022 12:46
Fixes broken no_std builds on rustc 1.62.0-nightly
@kevinaboos
Copy link

I can confirm this change is needed, I made the same change in my own fork too.

However, I used cfg_attr to only declare no_std when std was not enabled:

#![cfg_attr(not(feature = "std"), no_std)]

That might be a better approach since this crate does intend to be used with std too.

@bbqsrc would you consider merging this? thanks.

@bbqsrc bbqsrc merged commit 29141be into bbqsrc:main Sep 8, 2022
jul-sh pushed a commit to jul-sh/oak that referenced this pull request Sep 9, 2022
Our PR to fix the issue upstream was merged and release, we can now remove the patch: bbqsrc/thiserror-core2#3

Patch first added in: project-oak#2931

Tracking issue: project-oak#2920
jul-sh pushed a commit to project-oak/oak that referenced this pull request Sep 9, 2022
Our PR to fix the issue upstream was merged and release, we can now remove the patch: bbqsrc/thiserror-core2#3

Patch first added in: #2931

Tracking issue: #2920
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.

3 participants