Skip to content

Commit 3b02cc5

Browse files
committed
change nightly version in override script
1 parent c02f643 commit 3b02cc5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

ci/LDKSwift/Tests/LDKSwiftTests/LDKSwiftTests.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ import LDKHeaders
1111
#endif
1212
import XCTest
1313

14-
#if canImport(FoundationNetworking)
15-
import FoundationNetworking
16-
#endif
17-
1814
class LDKSwiftTests: XCTestCase {
1915

2016
override func setUpWithError() throws {
@@ -280,6 +276,7 @@ class LDKSwiftTests: XCTestCase {
280276
let route = Route(paths_arg: [path], payment_params_arg: paymentParams)
281277
}
282278

279+
#if !SWIFT_PACKAGE
283280
public func testRapidGossipSync() async throws {
284281
// first, download the gossip data
285282
print("Sending rapid gossip sync request…");
@@ -362,6 +359,7 @@ class LDKSwiftTests: XCTestCase {
362359
}
363360

364361
}
362+
#endif
365363

366364
func testExtendedActivity() async throws {
367365
// for i in 0...(1 << 7) {

src/scripts/build_individual_libldk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def run(config: ScriptConfig):
5555
child_environment['RUSTFLAGS'] = '--cfg=c_bindings'
5656
child_environment['PATH'] = '/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin'
5757

58-
subprocess.check_call([RUSTUP_PATH, 'override', 'set', 'nightly'], cwd=config.LDK_C_BINDINGS_DIRECTORY)
58+
subprocess.check_call([RUSTUP_PATH, 'override', 'set', 'nightly-2022-05-13'], cwd=config.LDK_C_BINDINGS_DIRECTORY)
5959

6060
lipo_executables_input: [str] = []
6161

0 commit comments

Comments
 (0)