Skip to content

Commit

Permalink
Fix the no-std issue (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
weikengchen authored Aug 19, 2023
1 parent 68d0828 commit 66ca8ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,6 @@ jobs:
uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: thumbv6m-none-eabi
override: true

- name: Install Rust ARM64
uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand All @@ -192,17 +185,17 @@ jobs:
--exclude ark-algebra-test-templates \
--exclude ark-algebra-bench-templates \
--exclude ark-poly-benches \
--target thumbv6m-none-eabi"
--target aarch64-unknown-none"

- name: build
uses: actions-rs/cargo@v1
with:
command: build
args: "--examples --workspace \
args: "--workspace \
--exclude ark-algebra-test-templates \
--exclude ark-algebra-bench-templates \
--exclude ark-poly-benches \
--target thumbv6m-none-eabi"
--target aarch64-unknown-none"

test_against_curves:
name: Test against curves
Expand Down
2 changes: 1 addition & 1 deletion ec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ rayon = { version = "1", optional = true }
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
hashbrown = "0.14.0"
itertools = { version = "0.11", default-features = false }
num-bigint = "0.4.3"
num-bigint = { version = "0.4.3", default-features = false }

[dev-dependencies]
ark-test-curves = { version = "0.4.2", path = "../test-curves", default-features = false, features = ["bls12_381_curve"] }
Expand Down

0 comments on commit 66ca8ed

Please sign in to comment.