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

Thumbv6 support #325

Merged
merged 5 commits into from
Mar 28, 2019
Merged

Thumbv6 support #325

merged 5 commits into from
Mar 28, 2019

Conversation

jonas-schievink
Copy link
Contributor

@jonas-schievink jonas-schievink commented Mar 18, 2019

As discussed in #285, this adds another initialization function, set_logger_racy, which doesn't use compare_and_swap and is unsafe.

This allows log to support platforms that lack CAS support, which includes thumbv6. I haven't added any other architecture since I don't know how the exact support matrix for atomics looks.

Closes #285

src/lib.rs Outdated Show resolved Hide resolved
@jonas-schievink
Copy link
Contributor Author

jonas-schievink commented Mar 20, 2019

@sfackler Does this look better to you? I'm not terribly good at writing docs.

src/lib.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@sfackler
Copy link
Member

LGTM with 2 more little doc nits!

@fmckeogh
Copy link
Member

Any update?

@sfackler
Copy link
Member

Oh sorry, didn't notice that last commit!

@sfackler sfackler merged commit 75043f9 into rust-lang:master Mar 28, 2019
@jonas-schievink jonas-schievink deleted the thumbv6 branch March 28, 2019 16:03
EFanZh pushed a commit to EFanZh/log that referenced this pull request Jul 23, 2023
…stead of `HashMap`.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.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.

4 participants