[#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:
parent
928e49a90e
commit
c5b85107c4
7
Cargo.lock
generated
Normal file
7
Cargo.lock
generated
Normal 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
3
src/compiler.rs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pub struct Compiler
|
||||||
|
{
|
||||||
|
}
|
4
src/lib.rs
Normal file
4
src/lib.rs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mod compiler;
|
||||||
|
|
||||||
|
|
||||||
|
pub use self::compiler::Compiler;
|
Loading…
x
Reference in New Issue
Block a user