Skip to content

Commit

Permalink
Remove calyx lib.rs so it does not expose any thing (#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachitnigam authored Aug 31, 2023
1 parent c68dbb9 commit 4ceff9c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
7 changes: 0 additions & 7 deletions src/lib.rs

This file was deleted.

10 changes: 9 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
use calyx::cmdline::{CompileMode, Opts};
//! # The Calyx Compiler
//!
//! This crate plumbs together the Calyx compiler crates and provides a command-line interface for the Calyx compiler.
//! What `clang` it to `llvm`, this crate is to the Calyx IL.
//! You SHOULD NOT depend on this crate since does things like installing the primitives library in a global location.
//! Instead, depend on the crates that this crate depends: [`calyx_frontend`], [`calyx_ir`], [`calyx_opt`].

mod cmdline;
use calyx_backend::BackendOpt;
use calyx_frontend as frontend;
use calyx_ir as ir;
use calyx_opt::pass_manager::PassManager;
use calyx_utils::CalyxResult;
use cmdline::{CompileMode, Opts};
use itertools::Itertools;

fn main() -> CalyxResult<()> {
Expand Down

0 comments on commit 4ceff9c

Please sign in to comment.