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

initial no_std support #4

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

initial no_std support #4

wants to merge 4 commits into from

Conversation

enomado
Copy link

@enomado enomado commented May 2, 2021

No description provided.

@enomado
Copy link
Author

enomado commented May 7, 2021

not sure is it fail or just failed to check

@marcbone
Copy link
Owner

marcbone commented May 8, 2021

It failed due to formating. So it's not a problem. I can fix it. Also, there are some other things I want to add. However, I am currently quite busy, but I have it on my mind.

@@ -20,6 +20,16 @@ path = "src/lib.rs"
name = "plot"
path = "examples/plot.rs"

[dependencies]
[dependencies.num-traits]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you really need this dependency? What is it doing?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its for mathematical operations on floats. no_std dont have it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK num_trait is for division/multiplication, and libm is for sqrt

@marcbone
Copy link
Owner

marcbone commented Jul 5, 2021

Could you test if this works for you one final time before I release it?

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