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

"allocator" and "nightly" features (for no_std environments) #153

Closed
wants to merge 2 commits into from

Commits on Nov 14, 2017

  1. no_std support (using enabled-by-default "std" feature)

    - Changes all references to libcore features from ::std to ::core
    - Feature gates anything dependent on std on the "std" feature
    tonychain authored and jbowens committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    2c6b1d8 View commit details
    Browse the repository at this point in the history
  2. "allocator" and "nightly" features (for no_std environments)

    This commit gates all allocator-dependent features on an "allocator" feature.
    
    It also adds a "nightly" feature which enables using the "allocator" feature in
    no_std environments. This requires using #[feature(alloc)] which requires
    nightly.
    
    The "allocator" feature is automatically enabled when either the "std" or
    "nightly" features are enabled.
    
    Travis CI is configured to check that builds succeed with both the "nightly"
    feature along with "std" and "nightly" in combination. To avoid the problem
    of nightly changes breaking the build, these combinations are specifically
    flagged as allowed failures in the Travis CI configuration.
    tonychain authored and jbowens committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    a90575c View commit details
    Browse the repository at this point in the history