Amanieu / cstr_core

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

Updates to make features based on atomic ops optional, to support thumbv6m-none-eabi #8

Closed apullin closed 4 years ago

apullin commented 4 years ago

These modifications appear to build and work as expected on thumbv6 (without atomics) and thumbv7 (with atomics) system using the nightly toolchain.

Tests pass on x64_64 with both stable and nightly toolchains.

I am not quite sure if the arrangement for the added nightly feature is not the correct way to gate the needed attributes since this means that functionality would be lost going from 0.1.2 -> 0.1.3 (this version) when using stable.

I am also not sure if the caution around keeping the vestigial alloc feature is needed, or if it should be dropped entirely.

Amanieu commented 4 years ago

Thanks!

Amanieu commented 4 years ago

Published version 0.2.0 of the crate.