mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-14 07:01:16 +02:00
Merge bitcoin/bitcoin#35950: Update leveldb subtree to latest master
9f10ef5e96Squashed 'src/leveldb/' changes from a7f9bdc611..13da2d6758 (fanquake) Pull request description: Includes: * https://github.com/bitcoin-core/leveldb-subtree/pull/62 * https://github.com/bitcoin-core/leveldb-subtree/pull/64 (used in #35911) ACKs for top commit: l0rinc: code review ACK3e76d22de2hebasto: ACK3e76d22de2. sedited: ACK3e76d22de2Tree-SHA512: 88b9a673550ab95f99de5fb06c8313464b1a6b962a55aa911d7b8bb362eae71a283663460b1cab2aa99e37a066c3f52cfc834cf679b4db49d172bf91b32ae3fa
This commit is contained in:
12
src/leveldb/.github/workflows/ci.yml
vendored
Normal file
12
src/leveldb/.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- run: cmake -B build -DBUILD_SHARED_LIBS=OFF
|
||||
- run: cmake --build build -j$(nproc)
|
||||
- run: ctest --test-dir build --output-on-failure -j$(nproc)
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <sqlite3.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "util/histogram.h"
|
||||
#include "util/random.h"
|
||||
|
||||
@@ -730,9 +730,9 @@ class PosixEnv : public Env {
|
||||
}
|
||||
|
||||
private:
|
||||
void BackgroundThreadMain();
|
||||
[[noreturn]] void BackgroundThreadMain();
|
||||
|
||||
static void BackgroundThreadEntryPoint(PosixEnv* env) {
|
||||
[[noreturn]] static void BackgroundThreadEntryPoint(PosixEnv* env) {
|
||||
env->BackgroundThreadMain();
|
||||
}
|
||||
|
||||
|
||||
@@ -675,9 +675,9 @@ class WindowsEnv : public Env {
|
||||
}
|
||||
|
||||
private:
|
||||
void BackgroundThreadMain();
|
||||
[[noreturn]] void BackgroundThreadMain();
|
||||
|
||||
static void BackgroundThreadEntryPoint(WindowsEnv* env) {
|
||||
[[noreturn]] static void BackgroundThreadEntryPoint(WindowsEnv* env) {
|
||||
env->BackgroundThreadMain();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user