Skip to content
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

Target thumbv6m unsupported due to delog dependency #30

Open
Maxgamerboy1 opened this issue Feb 23, 2023 · 1 comment
Open

Target thumbv6m unsupported due to delog dependency #30

Maxgamerboy1 opened this issue Feb 23, 2023 · 1 comment

Comments

@Maxgamerboy1
Copy link

Maxgamerboy1 commented Feb 23, 2023

Using the thumbv6m toolchain when building this library you get a couple errors.
image

Not sure if waiting delog to support thumbv6m is the way to go.
trussed-dev/delog#9

IMO, debug info should be used for development via dev-dependency or, opt-in via feature or, compiled out for release builds or, some third option.

@elpiel
Copy link
Contributor

elpiel commented Mar 16, 2023

Use this patch for delog which switches AtomicUsize with the one from the atomic-pollyfill which adds pollyfills when the platform does not support core atomic size operations.

[patch.crates-io]
delog = {git = "https://github.com/LechevSpace/delog.git", rev = "869167f7ff0630518c86f30afd215fee124d19c1"}

You can also track the PR here: trussed-dev/delog#12

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

No branches or pull requests

2 participants