Skip to content

Commit

Permalink
try to reduce compile time for rust examples
Browse files Browse the repository at this point in the history
  • Loading branch information
yshekel committed Oct 10, 2024
1 parent 6730a1a commit 8ffa24e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Rust examples
working-directory: ./examples/rust
if: needs.check-changed-files.outputs.rust == 'true' || needs.check-changed-files.outputs.examples == 'true'
run: |
run: |
# loop over all directories in the current directory
for dir in $(find . -mindepth 1 -maxdepth 1 -type d); do
if [ -d "$dir" ]; then
Expand Down
5 changes: 2 additions & 3 deletions examples/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[workspace.package]

[workspace]
members = [
"msm",
members = [
"msm",
"ntt",
"polynomials",
"arkworks-icicle-conversions",
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/msm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ clap = { version = "<=4.4.12", features = ["derive"] }
[features]
cuda = ["icicle-runtime/cuda_backend",
"icicle-bn254/cuda_backend",
"icicle-bls12-377/cuda_backend",
"icicle-bn254/no_ecntt",
"icicle-bls12-377/cuda_backend",
"icicle-bls12-377/no_ecntt"
]

0 comments on commit 8ffa24e

Please sign in to comment.