Skip to content

Conversation

@TheBlueMatt
Copy link
Collaborator

Turns out there is no good option in swift, so we should just do it in C here.

@TheBlueMatt TheBlueMatt force-pushed the main branch 2 times, most recently from ec0b57e to 35c9191 Compare July 3, 2021 01:33
@TheBlueMatt TheBlueMatt added this to the 0.0.99 milestone Jul 3, 2021
@TheBlueMatt
Copy link
Collaborator Author

Updated to upstream + lightningdevkit/rust-lightning#988 (which hopefully will go in 0.0.99).

Copy link
Contributor

@jkczyz jkczyz left a comment

Choose a reason for hiding this comment

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

Reviewed at a very high-level. Unable to run because demo.cpp needs to updated (see comment).

It appears somehow the LLVM IR is slipping into the Rust library,
causing Ubunto link to fail with the following error:

/usr/bin/ld: error: LLVM gold plugin has failed to create LTO module: Invalid record
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@TheBlueMatt
Copy link
Collaborator Author

Updated to latest upstream again.

Comment on lines 21 to 24
lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "865c6ba04eef70ed33afe484e9df7d12093fc598", features = ["allow_wallclock_use"] }
lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "865c6ba04eef70ed33afe484e9df7d12093fc598" }
lightning-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "865c6ba04eef70ed33afe484e9df7d12093fc598" }
lightning-background-processor = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "865c6ba04eef70ed33afe484e9df7d12093fc598" }
Copy link
Contributor

Choose a reason for hiding this comment

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

I take it this needs to be updated for 0.0.99?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Huh! I'd intended to, but apparently set it to the wrong value. In any case I'll need to update it one more time before merge once 0.0.99 is tagged upstream, but that just changes the last commit so I won't bother with re-review.

@TheBlueMatt TheBlueMatt merged commit 2c56d2b into lightningdevkit:main Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants