-
Notifications
You must be signed in to change notification settings - Fork 148
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
nostd feature #360
Comments
We tried this already for num-traits -- #296, then had to yank it -- #297. It was gating (I don't think a breaking semver bump to num-traits is likely any time soon. It's so much of a public dependency that I expect that would be very painful for everyone to migrate.) It might actually be OK to do no-std in num-bigint (with |
Just curious, if you can share, which platform is that? |
Currently running rust on an ARM microcontroller, where I provide my own allocator.
I'm not sure why adding a feature would be a breaking change. If it's on by default, surely nobody would notice ?
…On December 23, 2017 4:21:32 AM GMT+01:00, Josh Stone ***@***.***> wrote:
> I'd like to use this crate on a platform that doesn't provide an std,
but still has an allocator
Just curious, if you can share, which platform is that?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#360 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
It will break crates that use From @cuviper's link's link (servo/euclid#210):
|
Well, I can see two solutions then :
|
Features need to be additive. Otherwise, one crate which uses The semver trick might be perfect though. Publish 0.2 with the feature changes, then re-export it with full std support in 0.1. |
367: Release 0.2.0 r=cuviper a=cuviper Closes #298. Closes #357. Closes #360. Co-authored-by: Josh Stone <[email protected]> Co-authored-by: Christopher Durham <[email protected]>
Hey, it'd be nice if this crate could support
nostd
. My use-case is that I'd like to use this crate on a platform that doesn't provide anstd
, but still has an allocator (which I think is the only required bit for most of the crates in here ?). Is this something you'd be willing to accept PRs for ?The text was updated successfully, but these errors were encountered: