-
Notifications
You must be signed in to change notification settings - Fork 68
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
fixes maybstd imports for no_std on thumbv6m-none-eabi #87
Conversation
This change probably can't come in by the way because it's a breaking change (removing rc and sync modules without the rc feature set) |
Hmmm, this could be unique to my env. I'm currently blocked just adding Cargo.toml (simplified):
and this is the error produced:
|
But to answer your questions, as you can see above I've disabled all features, under the assumption that you couldn't use |
So that's not the fix - I'm getting substantially more errors, including the aforementioned one. The target is |
Hmm, yeah so this is just a target-specific issue. I think support for this can be added, but I don't personally know the cleanest way to exclude |
That's understandable - though not my preference, I can maintain a fork for now. The last thing I'd like to highlight is that from what I can tell, this only a pseudo-breaking change, b/c of a potential contradiction in the API. You mentioned this earlier:
which is kinda the other half of what I want to highlight:
So with respect to the users of |
Ack that this is probably correct, but I'm just being cautious since I'm not sure of all cases the lib is used. cc @matklad @frol any objections to putting |
No objections |
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.
If no objections for a breaking change and this doesn't come with a patch release
I'm having a tiny bit of trouble getting my Cargo workspace to completely work with patches, paths, a 0.0.0 version for this library and a few other build dep things, but I think this fixes the inability to use
borsh
inno_std
b/c a failure touse alloc::sync
on line 32.The remainder of the changes are just in keeping with the rest of the codebase, which only depends on
rc
andsync
whencfg(feature = "rc")