[#3] Added the ability to compile a library.

The project will now generate a binary and a library. This is so that
the compiler can be used in other programs as well.
This commit is contained in:
Myrddin Dundragon 2025-01-31 18:01:27 -05:00
parent 928e49a90e
commit c5b85107c4
3 changed files with 14 additions and 0 deletions

7
Cargo.lock generated Normal file
View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "arcanum"
version = "0.0.0"

3
src/compiler.rs Normal file
View File

@ -0,0 +1,3 @@
pub struct Compiler
{
}

4
src/lib.rs Normal file
View File

@ -0,0 +1,4 @@
mod compiler;
pub use self::compiler::Compiler;