From 513d9699363f60c166084caa4e8a9b4b3a4a2c41 Mon Sep 17 00:00:00 2001 From: Victor Maia Date: Sun, 12 Nov 2023 16:53:29 -0300 Subject: [PATCH] fix broken stuff --- Cargo.toml | 2 ++ src/main.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ffa6a2ca..f9efd479 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,11 @@ edition = "2021" [lib] name = "hvml" +path = "src/lib.rs" [[bin]] name = "hvml" +path = "src/main.rs" required-features = ["cli"] [profile.release] diff --git a/src/main.rs b/src/main.rs index 99f4319e..f0898414 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ use clap::{Parser, ValueEnum}; -use hvm_lang::{check_book, compile_book, load_file_to_book, run_book, RunInfo}; +use hvml::{check_book, compile_book, load_file_to_book, run_book, RunInfo}; use hvmc::{ ast::{show_book, show_net}, run::Ptr,