printf-compat icon indicating copy to clipboard operation
printf-compat copied to clipboard

unconditional dependency on alloc is a problem in no_std/no_alloc

Open Crzyrndm opened this issue 3 years ago • 0 comments

alloc is only required for tests(?) so just make no_std conditional on tests|"std" instead

The CI no_std check failed to catch this because you're not building an executable (dependencies are not being checked). Minimal executable has been added and CI now builds that

depends on https://github.com/lights0123/printf-compat/pull/5 to fix the clippy lints.

Crzyrndm avatar Dec 21 '22 03:12 Crzyrndm