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

Fix no_std and add Travis testing for it #43

Closed

Conversation

isislovecruft
Copy link
Member

@isislovecruft isislovecruft commented May 29, 2019

Note that this requires using the "nightly" feature of clear_on_drop to avoid erroneous attempts to try to call an executable with the target architecture triple, cf. cesarb/clear_on_drop#20

xoloki and others added 4 commits May 29, 2019 01:09
first pass nostd, turn off default features and add std/alloc features

Update Cargo.toml

Update Cargo.toml

use core ops when in alloc mode

chain features

remove std::ops entirely since we always have core anyway

remove hex and debug transcript to get rid of std errors

alloc default

set no_std config attribute

remove core crate extern

import core crate before use

don't add extern crate core; use global namespace when referring to core

include core explicitly if we're in std mode

re-enable debug-transcript feature

re-enable debug-transcript feature

fmt fixes
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