Skip to content

Feature guarded no_std support#518

Draft
dzmitry-huba wants to merge 4 commits into
tikv:masterfrom
dzmitry-huba:no_std_pr
Draft

Feature guarded no_std support#518
dzmitry-huba wants to merge 4 commits into
tikv:masterfrom
dzmitry-huba:no_std_pr

Conversation

@dzmitry-huba

Copy link
Copy Markdown
Contributor

name: no_std
about: Supporting no_std compilation mode


Description of feature:
Make the library compatible with no_std environments.

Implementation:
The std target implementation remains unchanged. The majority of changes are switching to using core and alloc where std used to be. The no_std flavor uses no_std compatible collections and synchronization primitives. The thiserror crate doesn't have no_std support hence the error types where reimplemented manually.

Dzmitry Huba added 4 commits July 13, 2023 17:38
---
name: no_std
about: Supporting no_std compilation mode

---

**Description of feature:**
Make the library compatible with no_std environments.

**Implementation:**
The std target implementation remains unchanged. The majority of changes are switching to using core and alloc where std used to be. The no_std flavor uses no_std compatible collections and synchronization primitives. The thiserror crate doesn't have no_std support hence the error types where reimplemented manually.

Signed-off-by: Dzmitry Huba <huba@google.com>
Signed-off-by: Dzmitry Huba <huba@google.com>
…uses stable version and no-std requires an experimental feature.

Signed-off-by: Dzmitry Huba <huba@google.com>
Signed-off-by: Dzmitry Huba <huba@google.com>
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.

1 participant