Split into isle and islec crates
This commit is contained in:
12
cranelift/isle/Cargo.lock
generated
12
cranelift/isle/Cargo.lock
generated
@@ -70,17 +70,25 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "isle"
|
name = "isle"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"log",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "islec"
|
||||||
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"env_logger",
|
"env_logger",
|
||||||
|
"isle",
|
||||||
"log",
|
"log",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
version = "0.2.97"
|
version = "0.2.101"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6"
|
checksum = "3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "log"
|
name = "log"
|
||||||
|
|||||||
@@ -1,11 +1,2 @@
|
|||||||
[package]
|
[workspace]
|
||||||
name = "isle"
|
members = [ "isle", "islec" ]
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Chris Fallin <chris@cfallin.org>"]
|
|
||||||
edition = "2018"
|
|
||||||
license = "Apache-2.0 WITH LLVM-exception"
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
log = "0.4"
|
|
||||||
env_logger = { version = "0.8", default-features = false }
|
|
||||||
clap = "2.33"
|
|
||||||
|
|||||||
9
cranelift/isle/isle/Cargo.toml
Normal file
9
cranelift/isle/isle/Cargo.toml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[package]
|
||||||
|
name = "isle"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Chris Fallin <chris@cfallin.org>"]
|
||||||
|
edition = "2018"
|
||||||
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
log = "0.4"
|
||||||
9
cranelift/isle/isle/src/lib.rs
Normal file
9
cranelift/isle/isle/src/lib.rs
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
pub mod ast;
|
||||||
|
pub mod codegen;
|
||||||
|
pub mod compile;
|
||||||
|
pub mod error;
|
||||||
|
pub mod ir;
|
||||||
|
pub mod lexer;
|
||||||
|
pub mod parser;
|
||||||
|
pub mod sema;
|
||||||
|
|
||||||
12
cranelift/isle/islec/Cargo.toml
Normal file
12
cranelift/isle/islec/Cargo.toml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[package]
|
||||||
|
name = "islec"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Chris Fallin <chris@cfallin.org>"]
|
||||||
|
edition = "2018"
|
||||||
|
license = "Apache-2.0 WITH LLVM-exception"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
log = "0.4"
|
||||||
|
isle = { version = "*", path = "../isle/" }
|
||||||
|
env_logger = { version = "0.8", default-features = false }
|
||||||
|
clap = "2.33"
|
||||||
Reference in New Issue
Block a user