File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 22** /* .rs.bk
33Cargo.lock
44.criterion
5- ** /libproofs.h
6- heaptrack *
5+ heaptrack *
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ fn main() {
2727 // but rather just tell the rest of the system we can't proceed.
2828 match c {
2929 Ok ( res) => {
30- res. write_to_file ( "libfilecoin_proofs.h" ) ;
30+ res. write_to_file ( target_path . join ( "libfilecoin_proofs.h" ) ) ;
3131 }
3232 Err ( err) => {
3333 eprintln ! ( "unable to generate bindings: {:?}" , err) ;
@@ -36,7 +36,7 @@ fn main() {
3636 }
3737
3838 let b = bindgen:: builder ( )
39- . header ( "libfilecoin_proofs.h" )
39+ . header ( target_path . join ( "libfilecoin_proofs.h" ) . to_string_lossy ( ) )
4040 // Here, we tell Rust to link libfilecoin_proofs so that auto-generated
4141 // symbols are linked to symbols in the compiled dylib. For reasons
4242 // unbeknown to me, the link attribute needs to precede an extern block.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ mkdir $RELEASE_PATH/include
2626mkdir -p $RELEASE_PATH /lib/pkgconfig
2727
2828cp target/release/paramcache $RELEASE_PATH /bin/
29- cp filecoin-proofs /libfilecoin_proofs.h $RELEASE_PATH /include/
29+ cp target/release /libfilecoin_proofs.h $RELEASE_PATH /include/
3030cp target/release/libfilecoin_proofs.a $RELEASE_PATH /lib/
3131cp target/release/libfilecoin_proofs.pc $RELEASE_PATH /lib/pkgconfig
3232
You can’t perform that action at this time.
0 commit comments