Amanieu / cstr_core

Implementation of CStr and CString for no_std environments
Apache License 2.0
41 stars 17 forks source link

Allow compilation on stable toolchain. #4

Closed 0ndorio closed 4 years ago

0ndorio commented 5 years ago

The crate enables the alloc feature via #![cfg_attr(feature = "alloc", feature(alloc))] and can therefore not be compiled via stable toolchain.

As the feature was stabilized ~1 year ago would it be possible to remove this line or is there another way to extend cfg_attr to check the compiler version in use?