Skip to content

Commit

Permalink
Merge branch 'main' into ec-op-projective-types-rs-impl
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta authored Jan 4, 2024
2 parents b242a15 + 88a5bf1 commit e7a88b0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/fresh_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
# At the end of every day
- cron: "0 0 * * *"

env:
PROPTEST_CASES: 10000

jobs:
fresh_run:
strategy:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
cairo_programs/**/*.json
!cairo_programs/manually_compiled/*
examples/wasm-demo/src/array_sum.json
PROPTEST_CASES: 100

jobs:
build-programs:
Expand Down
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,18 @@ ark-std = { version = "0.4.0", default-features = false }
# For fuzzing
arbitrary = { version = "1.3.0", features = ["derive"] }

[profile.test]
opt-level = 2

[profile.release]
lto = "fat"

[profile.release.package.wasm-demo]
# Tell `rustc` to optimize for small code size.
opt-level = "s"

[profile.test.package.proptest]
opt-level = 3

[profile.test.package.rand_chacha]
opt-level = 3
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ STARKNET_SIERRA_COMPILE_CAIRO_1:=cairo1/bin/starknet-sierra-compile
STARKNET_COMPILE_CAIRO_2:=cairo2/bin/starknet-compile
STARKNET_SIERRA_COMPILE_CAIRO_2:=cairo2/bin/starknet-sierra-compile

ifndef PROPTEST_CASES
PROPTEST_CASES:=10
export PROPTEST_CASES
endif

.PHONY: build-cairo-1-compiler build-cairo-1-compiler-macos build-cairo-2-compiler build-cairo-2-compiler-macos \
deps deps-macos cargo-deps build run check test clippy coverage benchmark flamegraph \
compare_benchmarks_deps compare_benchmarks docs clean \
Expand Down

0 comments on commit e7a88b0

Please sign in to comment.