forked from M-Labs/nac3
1
0
Fork 0

libnac3 -> nac3core

This commit is contained in:
Sebastien Bourdeauducq 2020-12-18 10:18:21 +08:00
parent 8558d41cd8
commit 947a528656
6 changed files with 15 additions and 15 deletions

22
Cargo.lock generated
View File

@ -408,16 +408,6 @@ version = "0.2.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1482821306169ec4d07f6aca392a4681f66c75c9918aa49641a2595db64053cb"
[[package]]
name = "libnac3"
version = "0.1.0"
dependencies = [
"inkwell",
"num-bigint",
"num-traits",
"rustpython-parser",
]
[[package]]
name = "llvm-sys"
version = "100.2.0"
@ -455,6 +445,16 @@ version = "2.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
[[package]]
name = "nac3core"
version = "0.1.0"
dependencies = [
"inkwell",
"num-bigint",
"num-traits",
"rustpython-parser",
]
[[package]]
name = "nac3embedded"
version = "0.1.0"
@ -467,7 +467,7 @@ name = "nac3standalone"
version = "0.1.0"
dependencies = [
"inkwell",
"libnac3",
"nac3core",
"rustpython-parser",
]

View File

@ -1,6 +1,6 @@
[workspace]
members = [
"libnac3",
"nac3core",
"nac3standalone",
"nac3embedded",
]

View File

@ -1,5 +1,5 @@
[package]
name = "libnac3"
name = "nac3core"
version = "0.1.0"
authors = ["M-Labs"]
edition = "2018"

View File

@ -7,4 +7,4 @@ edition = "2018"
[dependencies]
inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "master", features = ["llvm10-0"] }
rustpython-parser = { git = "https://github.com/RustPython/RustPython", branch = "master" }
libnac3 = { path = "../libnac3" }
nac3core = { path = "../nac3core" }

View File

@ -4,7 +4,7 @@ use inkwell::context::Context;
use inkwell::targets::*;
use rustpython_parser::parser;
use libnac3::CodeGen;
use nac3core::CodeGen;
fn main() {