-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
2,501 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: halo2-wasm Tests | ||
|
||
on: | ||
push: | ||
paths: | ||
- "halo2-wasm/**" | ||
|
||
defaults: | ||
run: | ||
working-directory: halo2-wasm | ||
|
||
jobs: | ||
halo2-wasm-tests: | ||
runs-on: ubuntu-latest-64core-256ram | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: | | ||
rustup toolchain install nightly-2023-08-12-x86_64-unknown-linux-gnu | ||
rustup component add rust-src --toolchain nightly-2023-08-12-x86_64-unknown-linux-gnu | ||
cargo build --target=x86_64-unknown-linux-gnu --verbose | ||
- name: Test | ||
run: cargo test --target=x86_64-unknown-linux-gnu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
target | ||
Cargo.lock | ||
*.bin | ||
bin | ||
bin | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,32 @@ | ||
[workspace] | ||
members = ["halo2-wasm"] | ||
resolver = "2" | ||
resolver = "2" | ||
|
||
[profile.dev] | ||
opt-level = 3 | ||
debug = 2 # change to 0 or 2 for more or less debug info | ||
overflow-checks = true | ||
incremental = true | ||
|
||
# Local "release" mode, more optimized than dev but faster to compile than release | ||
[profile.local] | ||
inherits = "dev" | ||
opt-level = 3 | ||
# Set this to 1 or 2 to get more useful backtraces | ||
debug = 1 | ||
debug-assertions = false | ||
panic = 'unwind' | ||
# better recompile times | ||
incremental = true | ||
lto = "thin" | ||
codegen-units = 16 | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
debug = false | ||
debug-assertions = false | ||
lto = "fat" | ||
# `codegen-units = 1` can lead to WORSE performance - always bench to find best profile for your machine! | ||
# codegen-units = 1 | ||
panic = "unwind" | ||
incremental = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ public/kzg_bn256_19.bin | |
public/kzg_bn256_20.bin | ||
|
||
my.d.ts | ||
src/shared/halo2lib.d.ts | ||
src/shared/docs/build.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.