Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Oct 8, 2024
1 parent 9d164fa commit 18a0c27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
24 changes: 0 additions & 24 deletions bindings/java/rust_code/src/errors.rs

This file was deleted.

6 changes: 3 additions & 3 deletions scripts/compile_to_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ usage() {
echo "Usage: $0 [OS] [ARCH] [LIB_NAME] [LIB_TYPE] [OUT_DIR] [BUILD_TOOL]"
echo "Compile the project for the specified OS, architecture, library name, library type, output directory, and build tool."
echo "If no OS and ARCH are provided, it defaults to the current system's OS and architecture."
echo "If no LIB_NAME is provided, it defaults to 'c_eth_kzg'."
echo "If no LIB_NAME is provided, it defaults to 'c_verkle'."
echo "If no LIB_TYPE is provided, it defaults to 'both'."
echo "If no OUT_DIR is provided, it defaults to './bindings/c/build'."
echo "If no BUILD_TOOL is provided, it defaults to 'cargo'."
echo
echo "Arguments:"
echo " OS Operating system (e.g., Linux, Darwin, MINGW64_NT)"
echo " ARCH Architecture (e.g., x86_64, arm64, universal)"
echo " LIB_NAME Library name (e.g., c_eth_kzg)"
echo " LIB_NAME Library name (e.g., c_verkle)"
echo " LIB_TYPE Library type to copy (static, dynamic, or both)"
echo " OUT_DIR Output directory for the compiled libraries"
echo " BUILD_TOOL Build tool to use (cargo or zigbuild)"
Expand All @@ -37,7 +37,7 @@ PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
# Determine the operating system, architecture, library name, library type, output directory, and build tool if not provided
OS="${1:-$(uname)}"
ARCH="${2:-$(uname -m)}"
LIB_NAME="${3:-c_eth_kzg}"
LIB_NAME="${3:-c_verkle}"
LIB_TYPE="${4:-both}"
OUT_DIR="${5:-$PROJECT_ROOT/bindings/c/build}"
BUILD_TOOL="${6:-cargo}"
Expand Down

0 comments on commit 18a0c27

Please sign in to comment.