Skip to content

Commit

Permalink
fix: ci tests (#5)
Browse files Browse the repository at this point in the history
* fix std flag in test

* change dependencies and ci run configs
  • Loading branch information
yuwen01 authored Oct 28, 2024
1 parent 93df375 commit 444e109
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
--verbose
--target ${{ matrix.target }}
--no-default-features
--features groups,pairings
--features groups,pairings,alloc
bitrot:
name: Bitrot check
Expand Down
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ version = "1.4"
default-features = false
optional = true

[dependencies.hex]
version = "0.4"
default-features = false
features = ["alloc"]
optional = true


[target.'cfg(target_os = "zkvm")'.dependencies.sp1-lib]
version = "3.0.0"
Expand All @@ -80,5 +86,5 @@ bits = ["ff/bits"]
groups = ["group"]
pairings = ["groups", "pairing"]
alloc = ["group/alloc"]
experimental = ["digest"]
experimental = ["digest", "hex"]
nightly = ["subtle/nightly"]
1 change: 0 additions & 1 deletion src/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,6 @@ fn test_inv() {
assert_eq!(inv, INV);
}

#[cfg(feature = "std")]
#[test]
fn test_debug() {
assert_eq!(
Expand Down

0 comments on commit 444e109

Please sign in to comment.