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

(WIP) Add no_std support #46

Closed
wants to merge 1 commit into from
Closed

Conversation

jturner314
Copy link
Contributor

This PR adds no_std support. In the no_std case, the available CPU features are determined at compile time instead of run time.

The WIP portion of this PR is adding tests for the no_std support.

@vadixidav
Copy link
Contributor

Hey, if you want to test no_std, take a look at this GitHub action here: https://github.com/rust-cv/eight-point/blob/master/.github/workflows/no-std.yml

@bluss
Copy link
Owner

bluss commented Apr 11, 2020

indexmap has a test for compilation as no-std, too https://github.com/bluss/indexmap/blob/master/.travis.yml

@bluss
Copy link
Owner

bluss commented Apr 20, 2020

It looks like this is backwards compatible as long as only disabling std requires Rust 1.36; so the supported version does not need to change.

@vadixidav
Copy link
Contributor

@jturner314 Are you interested in carrying this on? If not, I might use your branch as a starting point for a new PR.

@jturner314
Copy link
Contributor Author

@vadixidav Please feel free to take over the effort. I don't have much time to work on this.

@vadixidav
Copy link
Contributor

Alright, I am going to pick this up today. I will make another PR once I am done.

@vadixidav vadixidav mentioned this pull request Jun 20, 2020
@bluss bluss closed this in #51 Dec 7, 2020
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