Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #3

Merged
merged 4 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
with:
crate: cargo-binstall
version: "1.4"
locked: false
- run: cargo binstall -y --force cargo-risczero
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Copyright (c) {YEAR} RISC Zero, Inc.
//
// All rights reserved.
2 changes: 1 addition & 1 deletion risc0/core/log.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/IOP/IR/Dialect.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/IOP/IR/IR.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/IOP/IR/Ops.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/ZHL/IR/Dialect.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/ZHL/IR/Ops.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/ZHL/IR/Types.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/ZHL/IR/ZHL.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/ZHLT/Transforms/PassDetail.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/ZStruct/Transforms/PassDetail.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/Conversion/ZStructToZll/PassDetail.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/Conversion/ZStructToZll/Passes.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/IR/Attrs.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/IR/Attrs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/IR/Field.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/IR/Types.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/Transforms/AddReductions.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/Transforms/DropConstraints.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/Transforms/MakePolynomial.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/Transforms/MakeVerifyTaps.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/Transforms/PassDetail.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/Dialect/Zll/Transforms/SplitStage.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/fib/build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/fib/cxx/fp.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/fib/src/ffi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/fib/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/recursion/bits.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/recursion/micro.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/recursion/sha.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/recursion/test/runner.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/verify/poly.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/verify/poly.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/verify/test/merkle.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/verify/wrap_recursion.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/circuit/verify/wrap_rv32im.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/codegen/mustache.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/edsl/component.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/edsl/test.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/zkp/digest.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/zkp/poseidon_254.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/zkp/poseidon_consts.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/zkp/sha256.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/zkp/sha_rng.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/zkp/util.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/compiler/zkp/util.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/bits.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/bytes.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/bytes.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/fpext.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/iszero.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/iszero.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/mux.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/onehot.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/reg.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/test/bits.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/test/fpext.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/test/mux.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/test/onehot.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/test/test_runner.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/test/test_runner.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/test/test_with_bytes.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/components/test/u32.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/dsl/lower.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion zirgen/dsl/parser.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023 RISC Zero, Inc.
// Copyright (c) 2024 RISC Zero, Inc.
//
// All rights reserved.

Expand Down
Loading
Loading