-
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
Make subcrates #![no_std]
#216
Comments
I noticed in the 1.11 release notes that |
Any timeline on when this will be done? Especially num-traits? |
I'm interested in this too.
|
I started working on porting
Removing the
So the compiler expects |
Even fixing that problem by reimplementing
|
Maybe |
I backported |
I think the best way forward is to split |
Given that |
I think we should support everything in this file and the basic operations ( |
I think it's fine to exclude core's unstable |
Unfortunately they are required for sorting floats, it would be nice to
still have `is_nan`, `is_finite` etc. They can be implemented in one line
on stable using `core`.
…On Tue, May 30, 2017, 19:32 Josh Stone ***@***.***> wrote:
I think it's fine to exclude core's unstable Float methods. Those are
basically all the methods that are lang items in std, so we don't need to
support them in no_std. That still leaves the constants and basic ops.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#216 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACCtKsEuKDM9H5P6GDTalvSgtG9tKcfks5r_FLBgaJpZM4JgF8S>
.
|
This makes it possible to build `traits` without `std`. For this a new trait `BasicFloat` was introduced, implementing some basic functionality that works with `core`. Most notably this is lacking functions like `cos`, `sin`, etc. `Float` is not available without `std`. Refs rust-num#216.
This makes it possible to build `traits` without `std`. For this a new trait `BasicFloat` was introduced, implementing some basic functionality that works with `core`. Most notably this is lacking functions like `cos`, `sin`, etc. `Float` is not available without `std`. Refs rust-num#216.
This makes it possible to build `traits` without `std`. For this a new trait `BasicFloat` was introduced, implementing some basic functionality that works with `core`. Most notably this is lacking functions like `cos`, `sin`, etc. `Float` is not available without `std`. Refs rust-num#216.
traits: Introduce std feature This makes it possible to build `traits` without `std`. For this a new trait `BasicFloat` was introduced, implementing some basic functionality that works with `core`. Most notably this is lacking functions like `cos`, `sin`, etc. `Float` is not available without `std`. Refs #216.
num-traits
num-integer
num-complex
num-iter
The text was updated successfully, but these errors were encountered: