Skip to content

tracing-core does not compile on thumbv6m-none-eabi with --no-default-features #972

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
Pratyush opened this issue Sep 9, 2020 · 0 comments
Labels
area/no-std Related to improving support for no-std. crate/core Related to the `tracing-core` crate kind/bug Something isn't working needs/design Additional design discussion is required.

Comments

@Pratyush
Copy link

Pratyush commented Sep 9, 2020

Bug Report

tracing-core does not compile on thumbv6m-none-eabi.

Version

tracing-core: 0.1.16

Platform

Linux, but cross-compiling to thumbv6m-non-eabi

Affected Crates

tracing-core, and hence all downstream tracing crates

Bug

Running cargo check --no-default-features --target thumbv6m-none-eabi in tracing-core fails.

It seems that compare-and-swap (and alloc::sync) are not enabled on this target: rust-lang/rust#51953

@hawkw hawkw added crate/core Related to the `tracing-core` crate kind/bug Something isn't working needs/design Additional design discussion is required. labels Sep 9, 2020
@hawkw hawkw added the area/no-std Related to improving support for no-std. label Sep 29, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area/no-std Related to improving support for no-std. crate/core Related to the `tracing-core` crate kind/bug Something isn't working needs/design Additional design discussion is required.
Projects
None yet
Development

No branches or pull requests

2 participants