Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Latest commit

 

History

History
13 lines (9 loc) · 366 Bytes

File metadata and controls

13 lines (9 loc) · 366 Bytes

Swift bindingds

Currently, we don't provide compiled artifacts, threfore, manual steps to build and orchestrate the libraries and headers are necessary.

Running

Assuming that the header and library are in the same directory.

swiftc -import-objc-header filecoin_signer_ffi.h main.swift libfilecoin_signer_ffi.so -o ./main
LD_LIBRARY_PATH=. ./main