brillig/
lib.rs

1#![forbid(unsafe_code)]
2#![warn(unreachable_pub)]
3#![warn(clippy::semicolon_if_nothing_returned)]
4#![cfg_attr(not(test), warn(unused_crate_dependencies, unused_extern_crates))]
5
6//! The Brillig bytecode is distinct from regular [ACIR][acir] in that it does not generate constraints.
7//! This is a generalization over the fixed directives that exists within in the ACVM.
8//!
9//! [acir]: https://crates.io/crates/acir
10//! [acvm]: https://crates.io/crates/acvm
11//! [brillig_vm]: https://crates.io/crates/brillig_vm
12
13mod black_box;
14mod foreign_call;
15mod opcodes;
16
17pub use black_box::BlackBoxOp;
18pub use foreign_call::{ForeignCallParam, ForeignCallResult};
19pub use opcodes::{
20    BinaryFieldOp, BinaryIntOp, HeapArray, HeapValueType, HeapVector, MemoryAddress, ValueOrArray,
21};
22pub use opcodes::{BrilligOpcode as Opcode, Label};