Skip to content

Commit

Permalink
Round 5
Browse files Browse the repository at this point in the history
  • Loading branch information
einar-polygon committed Oct 14, 2024
1 parent 5451399 commit e9a8702
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
[build]
# https://github.com/rust-lang/rust/pull/124129
# https://github.com/dtolnay/linkme/pull/88
rustflags = ["-Z", "linker-features=-lld"]

[env]
RUST_BACKTRACE = "1"
RUST_TEST_NOCAPTURE = "1"

[term]
verbose = true
color = 'auto'

[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-Z", "linker-features=-lld", "-C", "target-cpu=native"] #, "-C", "link-arg=-fuse-ld=/usr/bin/mold", "-C", "debuginfo=2"]
24 changes: 24 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,27 @@ starky = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "dc77c77f

[workspace.lints.clippy]
too_long_first_doc_paragraph = "allow"

[profile.release]
opt-level = 3
debug = true
incremental = true
debug-assertions = true
lto = false
overflow-checks = false

[profile.test]
opt-level = 3
debug = true
incremental = true
debug-assertions = true
lto = false
overflow-checks = false

[profile.dev]
opt-level = 3
debug = true
incremental = true
debug-assertions = true
lto = false
overflow-checks = false
2 changes: 1 addition & 1 deletion scripts/prove_stdio.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# ------------------------------------------------------------------------------
set -exo pipefail
set -ex

# Run prover with the parsed input from the standard terminal.
# To generate the json input file, use the `rpc` tool, for example:
Expand Down
2 changes: 1 addition & 1 deletion scripts/test_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ echo "Testing against mainnet, current revision: $GITHASH."

#BLOCKS="$CANCUNBLOCKS $RANDOMBLOCKS $ROUND3"
#BLOCKS="19511272"
BLOCKS=$RANDOMBLOCKS
BLOCKS=$ROUND5
BLOCKS=`echo $BLOCKS | tr ' ' '\n' | sort -nu | tr '\n' ' '`
echo "Testing blocks: $BLOCKS"

Expand Down

0 comments on commit e9a8702

Please sign in to comment.