Commit c8700bb
fix(ci): statically link MinGW runtime for Windows builds (#769)
* fix(ci): statically link MinGW runtime for Windows builds
Adds -static-libgcc, -static-libstdc++, and static winpthread rustflags
for the x86_64-pc-windows-gnu target so the Windows binary no longer
depends on MinGW runtime DLLs absent on user machines. Also sets
OPENSSL_STATIC=1 on the build step to statically link OpenSSL.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(ci): bundle SQLite statically and add Windows binary sanity check
- Add `bundled` feature to rusqlite so SQLite is compiled from source
and statically linked, eliminating the sqlite3.dll dependency
- Remove the Windows libsql CI step that downloaded sqlite3.dll and
created an import library with a broken (null) DLL name entry
- Add post-build verification step that inspects the PE import table
and fails if null DLL imports or MinGW runtime DLLs are found
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* test: fix wallet UTXO tests for bundled SQLite FK enforcement
Insert the wallet record before the address row in `register_test_address`
so the `addresses.seed_hash` FK (enforced when SQLite is compiled with
`SQLITE_DEFAULT_FOREIGN_KEYS=1` via the `bundled` feature) is satisfied.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 26be625 commit c8700bb
5 files changed
Lines changed: 27 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 97 | | |
102 | 98 | | |
103 | 99 | | |
104 | 100 | | |
105 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
106 | 123 | | |
107 | 124 | | |
108 | 125 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2752 | 2752 | | |
2753 | 2753 | | |
2754 | 2754 | | |
| 2755 | + | |
| 2756 | + | |
2755 | 2757 | | |
2756 | 2758 | | |
2757 | 2759 | | |
| |||
0 commit comments