Skip to content

ci: build android 32 bit apk - #317

Merged
hebasto merged 2 commits into
bitcoin-core:mainfrom
johnny9:android32
May 9, 2023
Merged

hebasto merged 2 commits into
bitcoin-core:mainfrom
johnny9:android32

Conversation

@johnny9

@johnny9 johnny9 commented Apr 14, 2023 •

Copy link
Copy Markdown
Collaborator

Windows
Intel macOS
Apple Silicon macOS
ARM64 Android
ARM32 Android

@jarolrod

Copy link
Copy Markdown
Contributor

cc @hebasto

@johnny9

johnny9 commented Apr 14, 2023

Copy link
Copy Markdown
Collaborator Author

We've had a few people already including myself with armeabi v7a devices. I guess they aren't as old as I thought. Some 2018/2019 devices

@hebasto hebasto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approach ACK 9afa997.

Mind adding a new download link to .github/PULL_REQUEST_TEMPLATE.md and src/qml/README.md?

Comment thread src/Makefile.qt.include Resolved
Comment thread .cirrus.yml Outdated
copy_artifacts_script:
- cp src/qt/android/build/outputs/apk/debug/android-debug.apk ${CIRRUS_WORKING_DIR}/unsecure_android.apk
unsecure_android_apk_artifacts:
path: "unsecure_android.apk"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The filename should be distinguishable from the one from the ARM64 Android APK CI task. Otherwise, they can override each other when the user downloads both of them.

@johnny9
johnny9 force-pushed the android32 branch 2 times, most recently from 6ecd499 to 14a60ca Compare April 16, 2023 14:26
@johnny9

johnny9 commented Apr 16, 2023

Copy link
Copy Markdown
Collaborator Author

from 9afa997 to 14a60c

  • Add ARM32 Android link to README
  • Give android32 apk a unique filename

@johnny9

johnny9 commented Apr 16, 2023

Copy link
Copy Markdown
Collaborator Author

from 14a60ca to 6e92cf

  • Rename new configure variable to NDK_LIBCXX_DIR

Comment thread .cirrus.yml Outdated
FILE_ENV: "./ci/test/00_setup_env_android32.sh"
copy_artifacts_script:
- cp src/qt/android/build/outputs/apk/debug/android-debug.apk ${CIRRUS_WORKING_DIR}/unsecure_android_32bit.apk
unsecure_android_apk_32bit_artifacts:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hebasto will this change the url for the .zip to unsecure_android_apk_32bit.zip?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hebasto will this change the url for the .zip to unsecure_android_apk_32bit.zip?

It does. See https://cirrus-ci.org/guide/writing-tasks/#latest-build-artifacts.

We use the following URL format:

https://api.cirrus-ci.com/v1/artifact/github/<USER OR ORGANIZATION>/<REPOSITORY>/<TASK NAME OR ALIAS>/<ARTIFACTS_NAME>.zip

@hebasto hebasto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approach ACK 0face65.

Rename new configure variable to NDK_LIBCXX_DIR

Please move this change into the first commit.

Add ARM32 Android link to README

A similar change to .github/PULL_REQUEST_TEMPLATE.md?

@hebasto

hebasto commented Apr 16, 2023

Copy link
Copy Markdown
Member

@johnny9

johnny9 commented Apr 16, 2023 •

Copy link
Copy Markdown
Collaborator Author

from 0face65 to e11b561

  • Put change to LIBCXX configure variable to the right commit
  • Added ARM32 Android url to pull request TEMPLATE

@jarolrod

Copy link
Copy Markdown
Contributor

concept ack, I don't currently have a 32 bit android device so cannot test

@hebasto hebasto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The artifact name and urls are not inlined now. Mind updating urls or an artifact name s/unsecure_android_apk_32bit_artifacts/unsecure_android_32bit_apk_artifacts/?

[![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/unsecure_mac_gui.zip?branch=pull/<PR>)
[![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/unsecure_mac_arm64_gui.zip?branch=pull/<PR>)
[![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/unsecure_android_apk.zip?branch=pull/<PR>)
[![ARM32 Android](https://img.shields.io/badge/OS-Android%2032bit-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_32bit_apk.zip?branch=pull/<PR>)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/bitcoin-core/gui-qml/pull/317/files#r1167988459:

Suggested change
[![ARM32 Android](https://img.shields.io/badge/OS-Android%2032bit-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_32bit_apk.zip?branch=pull/<PR>)
[![ARM32 Android](https://img.shields.io/badge/OS-Android%2032bit-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_apk_32bit.zip?branch=pull/<PR>)

@0xB10C

0xB10C commented Apr 17, 2023

Copy link
Copy Markdown

CI is green. An artifact is available to download at https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_apk_32bit.zip?branch=pull/317.

Synced signet on a OnePlus One (2014, 3GB RAM, 4x 2.45 GHz Snapdragon 801) with this APK in about an hour.

@jarolrod jarolrod left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK e11b561

I did not test this and don't currently have a way to test. But we have confirmation of two users being able to install and run, and one user being able to sync.

edit: cannot grab android 32 bit link from pr description

[![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/unsecure_mac_gui.zip?branch=pull/<PR>)
[![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/unsecure_mac_arm64_gui.zip?branch=pull/<PR>)
[![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/unsecure_android_apk.zip?branch=pull/<PR>)
[![ARM32 Android](https://img.shields.io/badge/OS-Android%2032bit-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_32bit_apk.zip?branch=pull/<PR>)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johnny9 this should fix the issue of not being able to grab the link from the PR description

@johnny9
johnny9 force-pushed the android32 branch 2 times, most recently from efc4dd3 to 3b50687 Compare April 23, 2023 03:26
@johnny9

johnny9 commented Apr 23, 2023 •

Copy link
Copy Markdown
Collaborator Author

from e11b561 to 3b50687

  • Changed the cirrus task artifact property to unsecure_android_32bit_apk_artifacts to match the filename of the artifact and match the expected url

@johnny9

johnny9 commented May 8, 2023

Copy link
Copy Markdown
Collaborator Author

from 3b50687 to ec8e89

  • rebased with main

@hebasto

hebasto commented May 8, 2023

Copy link
Copy Markdown
Member

@johnny9

from 3b50687 to ec8e89

  • rebased with main

Thanks for rebasing!

Although another diff is required after rebasing:

--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -399,7 +399,9 @@ task:
   alias: android32
   << : *CONTAINER_DEPENDS_TEMPLATE
   container:
-    image: ubuntu:jammy
+      CI_IMAGE_NAME_TAG: ubuntu:jammy
+      FILE_ENV: "./ci/test/00_setup_env_android32.sh"
+  << : *CREDITS_TEMPLATE
   android_sdk_cache:
     folder: "depends/SDKs/android"
     fingerprint_key: "ANDROID_API_LEVEL=28 ANDROID_BUILD_TOOLS_VERSION=28.0.3 ANDROID_NDK_VERSION=23.2.8568313"
@@ -409,7 +411,6 @@ task:
   << : *MAIN_TEMPLATE
   env:
     << : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
-    FILE_ENV: "./ci/test/00_setup_env_android32.sh"
   copy_artifacts_script:
     - cp src/qt/android/build/outputs/apk/debug/android-debug.apk ${CIRRUS_WORKING_DIR}/unsecure_android_32bit.apk
   unsecure_android_32bit_apk_artifacts:

@hebasto hebasto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 28ab1ee

@hebasto
hebasto merged commit c9492c7 into bitcoin-core:main May 9, 2023
johnny9 pushed a commit to johnny9/bitcoin-core-app that referenced this pull request Jul 4, 2025
ed4f1f2 ci: build android 32 bit apk (johnny9)
88ba08482d1d0f62500228fe3f82663d615173e6 android: configure toolchain path for libc++ based on arch (johnny9)

Pull request description:

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/unsecure_win_gui.zip?branch=pull/317)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/unsecure_mac_gui.zip?branch=pull/317)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/unsecure_mac_arm64_gui.zip?branch=pull/317)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/unsecure_android_apk.zip?branch=pull/317)
  [![ARM32 Android](https://img.shields.io/badge/OS-Android%2032bit-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_32bit_apk.zip?branch=pull/317)

ACKs for top commit:
  hebasto:
    ACK ed4f1f2

Tree-SHA512: 00360e652ba7e4a7b4f7c917e779491ca14e7e336b06ab0ff0f50dd571a37526b9c5f48002c1262b1c71ceb21475f191184cb0c2f77eab9a0f0be350843393a5
tx-signer450 added a commit to tx-signer450/gui-qml that referenced this pull request Oct 20, 2025
ed4f1f2f7dfcea9111f3fea45031b6c3644f6c02 ci: build android 32 bit apk (johnny9)
88ba08482d1d0f62500228fe3f82663d615173e6 android: configure toolchain path for libc++ based on arch (johnny9)

Pull request description:

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/unsecure_win_gui.zip?branch=pull/317)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/unsecure_mac_gui.zip?branch=pull/317)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/unsecure_mac_arm64_gui.zip?branch=pull/317)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/unsecure_android_apk.zip?branch=pull/317)
  [![ARM32 Android](https://img.shields.io/badge/OS-Android%2032bit-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_32bit_apk.zip?branch=pull/317)

ACKs for top commit:
  hebasto:
    ACK ed4f1f2f7dfcea9111f3fea45031b6c3644f6c02

Tree-SHA512: 00360e652ba7e4a7b4f7c917e779491ca14e7e336b06ab0ff0f50dd571a37526b9c5f48002c1262b1c71ceb21475f191184cb0c2f77eab9a0f0be350843393a5
johnny9 added a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
johnny9 pushed a commit to johnny9/gui-qml that referenced this pull request Jun 14, 2026
ed4f1f2 ci: build android 32 bit apk (johnny9)
88ba084 android: configure toolchain path for libc++ based on arch (johnny9)

Pull request description:

  [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/unsecure_win_gui.zip?branch=pull/317)
  [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/unsecure_mac_gui.zip?branch=pull/317)
  [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/unsecure_mac_arm64_gui.zip?branch=pull/317)
  [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/unsecure_android_apk.zip?branch=pull/317)
  [![ARM32 Android](https://img.shields.io/badge/OS-Android%2032bit-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android32/unsecure_android_32bit_apk.zip?branch=pull/317)

ACKs for top commit:
  hebasto:
    ACK ed4f1f2

Rebased-From: c9492c7
Github-Pull: bitcoin-core#317
hebasto pushed a commit to hebasto/gui-qml that referenced this pull request Nov 22, 2026
…nunix platform support and fix race conditions

d5f7524 doc: Bump minimum required Cap'n Proto version to 0.9.2 (Ryan Ofsky)
4898199 build: suppress -Wc++23-lambda-attributes in warn_interface (Ryan Ofsky)
270f5db Squashed 'src/ipc/libmultiprocess/' changes from e8de5c7b68e..acded1aafae (Ryan Ofsky)

Pull request description:

  The changes can be verified by running `test/lint/git-subtree-check.sh src/ipc/libmultiprocess` as described in [developer notes](https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md#subtrees) and [lint instructions](https://github.com/bitcoin/bitcoin/tree/master/test/lint#git-subtree-checksh).

  Changes since last subtree update (#35720):

  - Adds support for nonunix platforms, making API changes that are not backwards compatible ([bitcoin-core#274](bitcoin-core/libmultiprocess#274)). Follow-ups add a `CurrentThread()` accessor matching compatibility code in [bitcoin/bitcoin#35084](bitcoin/bitcoin#35084) ([bitcoin-core#323](bitcoin-core/libmultiprocess#323)) and remove code for Cap'n Proto versions before 0.9 ([bitcoin-core#331](bitcoin-core/libmultiprocess#331)).
  - Fixes a data race between IPC calls running on worker threads and disconnects, found by Antithesis ([bitcoin-core#349](bitcoin-core/libmultiprocess#349)).
  - Fixes a use-after-free when a socket disconnects before `ConnectStream` connects, and leaks and hangs when a client `construct()` call throws ([bitcoin-core#298](bitcoin-core/libmultiprocess#298)).
  - Fixes a race where file descriptors from `SpawnProcess` could leak into processes forked at the same time by other threads, by clearing `FD_CLOEXEC` in the child after forking ([bitcoin-core#311](bitcoin-core/libmultiprocess#311)).
  - Makes `SpawnProcess` report `exec` failures back to the parent and throw, reaping the child ([bitcoin-core#312](bitcoin-core/libmultiprocess#312)).
  - Adds support for `std::chrono::time_point` fields ([bitcoin-core#303](bitcoin-core/libmultiprocess#303)) and for serializing lists of interface objects that need to be moved from ([bitcoin-core#304](bitcoin-core/libmultiprocess#304)), both needed by [bitcoin/bitcoin#10102](bitcoin/bitcoin#10102).
  - Accepts container fields and parameters with any comparator, hash, and allocator types, like Bitcoin Core's `GCSFilter::ElementSet`, needed by [bitcoin/bitcoin#29409](bitcoin/bitcoin#29409) ([bitcoin-core#379](bitcoin-core/libmultiprocess#379)).
  - Finds the `capnp` tool in vcpkg and Windows builds, needed by [bitcoin/bitcoin#32387](bitcoin/bitcoin#32387) ([bitcoin-core#317](bitcoin-core/libmultiprocess#317)).
  - Adds a `destroy_connection` option to `ServeStream` and `ConnectStream`, lets `ServeStream` take ownership of the init object and return the new server and its connection, and adds an `EventLoop::incomingConnections()` accessor, simplifying test setup in both repositories and needed by [bitcoin/bitcoin#35932](bitcoin/bitcoin#35932) ([bitcoin-core#365](bitcoin-core/libmultiprocess#365)).
  - Replaces `EventLoop::post()` with `sync()` taking a `kj::FunctionParam`, avoiding a heap allocation per call ([bitcoin-core#347](bitcoin-core/libmultiprocess#347)).
  - Names threads spawned by the event loop so they can be told apart in tools and logs ([bitcoin-core#324](bitcoin-core/libmultiprocess#324)).
  - Fixes warnings that Bitcoin Core enables or plans to enable: adds `[[noreturn]]` attributes for `-Wmissing-noreturn` ([bitcoin-core#339](bitcoin-core/libmultiprocess#339), for [bitcoin/bitcoin#35911](bitcoin/bitcoin#35911)), and fixes `-Wunused` ([bitcoin-core#362](bitcoin-core/libmultiprocess#362), for [bitcoin/bitcoin#36167](bitcoin/bitcoin#36167)), `-Wunused-const-variable` and `-Wundef` ([bitcoin-core#370](bitcoin-core/libmultiprocess#370)), and `-Wmissing-prototypes` ([bitcoin-core#386](bitcoin-core/libmultiprocess#386), for [bitcoin/bitcoin#36743](bitcoin/bitcoin#36743)) warnings.
  - Fails at compile time with a suggested workaround when Cap'n Proto misdetects exception support (`KJ_NO_EXCEPTIONS`), as happens on NetBSD ([bitcoin-core#364](bitcoin-core/libmultiprocess#364)).
  - Build improvements: fixes stale generated code when the `mpgen` binary changes ([bitcoin-core#316](bitcoin-core/libmultiprocess#316)), fixes `mpgen` link order for static Cap'n Proto builds ([bitcoin-core#367](bitcoin-core/libmultiprocess#367)), links `mpgen` against `kj-async` instead of `capnp-rpc` ([bitcoin-core#327](bitcoin-core/libmultiprocess#327)), shows Cap'n Proto `find_package` diagnostics ([bitcoin-core#325](bitcoin-core/libmultiprocess#325)), installs `type-unordered-set.h` and `version.h` ([bitcoin-core#350](bitcoin-core/libmultiprocess#350)), and shows include-what-you-use errors instead of failing silently ([bitcoin-core#371](bitcoin-core/libmultiprocess#371)).
  - Test, CI, documentation, and minor code improvements: fix for a startup race in the example program ([bitcoin-core#315](bitcoin-core/libmultiprocess#315)), new test for immediate client disconnects in `ListenConnections` ([bitcoin-core#310](bitcoin-core/libmultiprocess#310)), `ReadList` return value check ([bitcoin-core#338](bitcoin-core/libmultiprocess#338)), connect test race fix ([bitcoin-core#343](bitcoin-core/libmultiprocess#343)) and cleanups ([bitcoin-core#344](bitcoin-core/libmultiprocess#344)), `std::ranges::copy` follow-ups ([bitcoin-core#307](bitcoin-core/libmultiprocess#307)), trailing whitespace removal ([bitcoin-core#345](bitcoin-core/libmultiprocess#345)), Cap'n Proto version documentation fix ([bitcoin-core#357](bitcoin-core/libmultiprocess#357)), clang-tidy updates ([bitcoin-core#358](bitcoin-core/libmultiprocess#358), [bitcoin-core#360](bitcoin-core/libmultiprocess#360), [bitcoin-core#380](bitcoin-core/libmultiprocess#380), [bitcoin-core#389](bitcoin-core/libmultiprocess#389)), new CI job testing newer cmake and Cap'n Proto versions ([bitcoin-core#212](bitcoin-core/libmultiprocess#212), [bitcoin-core#359](bitcoin-core/libmultiprocess#359)), CI coverage for the minimum supported g++ ([bitcoin-core#330](bitcoin-core/libmultiprocess#330), [bitcoin-core#366](bitcoin-core/libmultiprocess#366)), new CI warnings ([bitcoin-core#332](bitcoin-core/libmultiprocess#332), [bitcoin-core#341](bitcoin-core/libmultiprocess#341)), CI parallelism ([bitcoin-core#334](bitcoin-core/libmultiprocess#334), [bitcoin-core#356](bitcoin-core/libmultiprocess#356)), CI diagnostics ([bitcoin-core#351](bitcoin-core/libmultiprocess#351), [bitcoin-core#352](bitcoin-core/libmultiprocess#352)), Nix and LLVM updates ([bitcoin-core#296](bitcoin-core/libmultiprocess#296), [bitcoin-core#363](bitcoin-core/libmultiprocess#363)), NetBSD and OpenBSD CI fixes ([bitcoin-core#321](bitcoin-core/libmultiprocess#321), [bitcoin-core#340](bitcoin-core/libmultiprocess#340), [bitcoin-core#381](bitcoin-core/libmultiprocess#381)), building Cap'n Proto with GCC in the 32-bit CI job to avoid an ABI mismatch ([bitcoin-core#383](bitcoin-core/libmultiprocess#383)), and GitHub Actions updates ([bitcoin-core#387](bitcoin-core/libmultiprocess#387)).

  The second commit suppresses the clang `-Wc++23-lambda-attributes` warning, which the new `[[noreturn]]` lambda attribute in `mp/proxy-types.h` triggers in C++20 builds. Since #31507 the Windows build uses clang-cl, so the same flag covers it.

  The third commit updates the minimum Cap'n Proto version in `doc/dependencies.md` to 0.9.2 (1.0 with Clang). This update raises libmultiprocess's own minimum from 0.7 to 0.9 (bitcoin-core/libmultiprocess#331), and libmultiprocess rejects 0.9.0 and 0.9.1 for CVE-2022-46149 and, with Clang 16 or newer, every version before 1.0.

ACKs for top commit:
  fanquake:
    ACK d5f7524
  willcl-ark:
    ACK d5f7524

Tree-SHA512: 4064944f4d8bb6c1665ddc7d5fae838492235d7dfdafab88b19b687ff6892460a3f450b90a145b287866330c569b862d748c941a70c65abc7f273ef13e490fd7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants