-
Notifications
You must be signed in to change notification settings - Fork 185
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
Progress towards no_std #865
Conversation
Codecov Report
@@ Coverage Diff @@
## main #865 +/- ##
==========================================
+ Coverage 74.35% 74.37% +0.01%
==========================================
Files 206 206
Lines 13042 13032 -10
==========================================
- Hits 9697 9692 -5
+ Misses 3345 3340 -5
Continue to review full report at Codecov.
|
Pull Request Test Coverage Report for Build 2fdce6248056fa6a7326998b4f61fe45ec4ad2f9-PR-865
💛 - Coveralls |
.cargo/config.toml
Outdated
@@ -13,6 +13,8 @@ tidy = "make tidy" | |||
# field-reassign-with-default: https://github.com/rust-lang/rust-clippy/issues/6559 (fixed in nightly but not stable) | |||
clippy-all = "clippy --all-features --all-targets -- -D warnings -Aclippy::field-reassign-with-default" | |||
|
|||
check-thumb = "check --target thumbv7m-none-eabi" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can remove these if necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request: Add a comment for what these are for
.cargo/config.toml
Outdated
@@ -13,6 +13,8 @@ tidy = "make tidy" | |||
# field-reassign-with-default: https://github.com/rust-lang/rust-clippy/issues/6559 (fixed in nightly but not stable) | |||
clippy-all = "clippy --all-features --all-targets -- -D warnings -Aclippy::field-reassign-with-default" | |||
|
|||
check-thumb = "check --target thumbv7m-none-eabi" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request: Add a comment for what these are for
@@ -2,6 +2,8 @@ | |||
// called LICENSE at the top level of the ICU4X source tree | |||
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). | |||
|
|||
#![cfg_attr(not(test), no_std)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request: Make this more consistent between writeable and yoke
Progress towards #812
This contains some progress towards
no_std
support. The main accomplishments of this PR are:no_std
compatible nowserde
is built withno_std
unless otherwise necessary.This should not regress any behavior, and should generally be desirable for these crates anyway. We do not use any of serde's std features, so we do not need to pull it in with std. Rust unifies features so if icu4x is used by a crate that does need serde-with-std, it will pull in the appropriate dependency as needed.
There is nothing to test as a result of this PR since we do not yet have a complete
icu_capi
no_std
build.Making a PR now because this work bitrots really easily.