diff --git a/examples/c-fft/.gitignore b/examples/c-fft/.gitignore index 6d911d6..70b7854 100644 --- a/examples/c-fft/.gitignore +++ b/examples/c-fft/.gitignore @@ -1,2 +1,3 @@ src/fft_wasm.rs -fft.wasm \ No newline at end of file +fft.wasm +Cargo.lock \ No newline at end of file diff --git a/examples/c-fft/Cargo.lock b/examples/c-fft/Cargo.lock deleted file mode 100644 index 1583a7f..0000000 --- a/examples/c-fft/Cargo.lock +++ /dev/null @@ -1,14 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "c-fft" -version = "0.1.0" -dependencies = [ - "herkos-runtime", -] - -[[package]] -name = "herkos-runtime" -version = "0.1.1" diff --git a/examples/c-fft/run.sh b/examples/c-fft/run.sh index e86f16d..0bde880 100755 --- a/examples/c-fft/run.sh +++ b/examples/c-fft/run.sh @@ -54,12 +54,8 @@ echo "==> Transpiling WebAssembly to Rust..." REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)" -if command -v herkos &>/dev/null; then - herkos "$WASM_FILE" --output "$GENERATED_RS" -else - cargo run --manifest-path "$REPO_ROOT/Cargo.toml" -p herkos -- \ - "$SCRIPT_DIR/$WASM_FILE" --output "$SCRIPT_DIR/$GENERATED_RS" -fi +cargo run --manifest-path "$REPO_ROOT/Cargo.toml" -p herkos -- \ + "$SCRIPT_DIR/$WASM_FILE" --output "$SCRIPT_DIR/$GENERATED_RS" echo " Created $GENERATED_RS"