-
Notifications
You must be signed in to change notification settings - Fork 37.7k
compat: remove glibcxx sanity checks #25233
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
Conversation
These checks were added in bitcoin#4339, (see also bitcoin#4081), to test our back-compat stubs, however, those stubs no-longer exist (bitcoin#22930), meaning that these checks are now just testing some specific standard library behaviour, without a particular rationale, or reason, compared to any other standard library functions we use. There has also been some discussion about the sanity checks in the context of the libbitcoinkernel refactoring, see bitcoin#25065 (comment). Removing the checks removes the need to worry about atleast the glibcxx checks. Also remove the list of check from the doc in init.h, because it is incomplete, and anyone who wants to know what checks are included can look at the function.
Concept ACK. Agree on
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Guix builds on
|
lgtm ACK cc61bc2 |
GUIX hashes on arm64, my hashes match @fanquake:
|
Concept and code review ACK cc61bc2 |
Post-merge ACK cc61bc2 |
These checks were added in #4339, (see also #4081), to test
our back-compat stubs, however, those stubs no-longer exist (#22930),
meaning that these checks are now just testing some specific standard
library behaviour, without a particular rationale, or reason, compared
to any other standard library functionlity we use.
There has also been some discussion about our sanity checks in the
context of the libbitcoinkernel refactoring, see #25065 (comment).
Removing the checks removes the need to worry about atleast the
glibcxx checks.
Also remove the list of checks from the doc in
init.h
, because it isincomplete, and anyone who wants to know what checks are included can
look at the function.
Guix Build (arm64):