github.com/consensys/gnark@v0.11.0/backend/groth16/bn254/icicle/noicicle.go (about)

     1  //go:build !icicle
     2  
     3  package icicle_bn254
     4  
     5  import (
     6  	"fmt"
     7  
     8  	"github.com/consensys/gnark/backend"
     9  	groth16_bn254 "github.com/consensys/gnark/backend/groth16/bn254"
    10  	"github.com/consensys/gnark/backend/witness"
    11  	cs "github.com/consensys/gnark/constraint/bn254"
    12  )
    13  
    14  const HasIcicle = false
    15  
    16  func Prove(r1cs *cs.R1CS, pk *ProvingKey, fullWitness witness.Witness, opts ...backend.ProverOption) (*groth16_bn254.Proof, error) {
    17  	return nil, fmt.Errorf("icicle backend requested but program compiled without 'icicle' build tag")
    18  }