Closed sergey-shandar closed 1 year ago
Note: we can't prebuild binding.rs
because function signatures may depend on a target platform. So, every platform should have its own bindings.rs
.
@xoloki should we create another repo for utility tools to get rid of mono repo? If the build tool is flexible enough, we may share it with https://github.com/rust-bitcoin/rust-secp256k1
@xoloki should we create another repo for utility tools to get rid of mono repo?
It's fine for now, let's focus on other work. We can do this later once we're not in time crunch.
@xoloki should we create another repo for utility tools to get rid of mono repo?
It's fine for now, let's focus on other work. We can do this later once we're not in time crunch.
Sure, but feel free to shout ideas into comments.
See issue #50 and #52 for possible improvements.
Note: current building process affects all customers of
p256k1
. The proposal is to move a part ofbuilding.rs
which generates bindings to as a separate utility project (Rust script). The script shouldsecp256k1
C library,static
from C source code for some selected functions.include
to a header file with prefixes.We will commit the patched C source code and generated bindings to Git.
We can split the issue into two tasks:
The first task should fix https://github.com/Trust-Machines/core-eng/issues/188