Skip to content

Commit

Permalink
remove FD_HAS_FFI
Browse files Browse the repository at this point in the history
Removes a defunct config variable that's a relict of the past.
  • Loading branch information
riptl authored and ripatel-fd committed Apr 28, 2024
1 parent 6a72f5d commit 74bd99e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/ballet/bn254/Local.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
ifneq ($(FD_HAS_LIBFF),)
ifndef FD_HAS_FFI

$(call add-hdrs,fd_bn254.h fd_poseidon.h)
$(call add-objs,fd_bn254 fd_poseidon_params fd_poseidon,fd_ballet)
$(call make-unit-test,test_bn254,test_bn254,fd_ballet fd_util)
$(call make-unit-test,test_poseidon,test_poseidon,fd_ballet fd_util)

endif
else

$(info bn254 disabled due to lack of libff)
Expand Down
2 changes: 0 additions & 2 deletions src/util/sandbox/Local.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
ifndef FD_HAS_FFI
$(call add-hdrs,fd_sandbox.h)
$(call add-objs,fd_sandbox,fd_util)
$(call make-unit-test,test_sandbox,test_sandbox,fd_util)
endif
2 changes: 0 additions & 2 deletions src/util/sandbox/fd_sandbox.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef HEADER_fd_src_util_sandbox_fd_sandbox_h
#define HEADER_fd_src_util_sandbox_fd_sandbox_h

#ifndef FD_HAS_FFI
#ifdef FD_HAS_HOSTED

#include "../fd_util_base.h"
Expand Down Expand Up @@ -170,6 +169,5 @@ ulong
fd_sandbox_gettid( void );

#endif /* FD_HAS_HOSTED */
#endif /* FD_HAS_FFI */

#endif /* HEADER_fd_src_util_sandbox_fd_sandbox_h */

0 comments on commit 74bd99e

Please sign in to comment.