mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-22 07:58:24 +00:00
fix: fix wrong linking
This commit is contained in:
parent
2e5d9ae618
commit
edb872a218
22
Cargo.lock
generated
22
Cargo.lock
generated
|
@ -235,7 +235,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "edb"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
|
@ -248,14 +248,14 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "edlang_ast"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"edlang_span",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "edlang_check"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"ariadne",
|
||||
"edlang_ast",
|
||||
|
@ -266,7 +266,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "edlang_codegen_llvm"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"edlang_ir",
|
||||
"edlang_parser",
|
||||
|
@ -279,7 +279,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "edlang_driver"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ariadne",
|
||||
|
@ -300,7 +300,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "edlang_ir"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"edlang_span",
|
||||
"educe",
|
||||
|
@ -309,7 +309,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "edlang_lowering"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"edlang_ast",
|
||||
"edlang_ir",
|
||||
|
@ -319,7 +319,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "edlang_parser"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"ariadne",
|
||||
"edlang_ast",
|
||||
|
@ -332,18 +332,18 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "edlang_session"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"ariadne",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "edlang_span"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
|
||||
[[package]]
|
||||
name = "edlangc"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
dependencies = [
|
||||
"edlang_driver",
|
||||
]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlangc"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "A experimental language using LLVM."
|
||||
edition = "2021"
|
||||
|
@ -14,4 +14,4 @@ repository = "https://github.com/edg-l/edlang"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
edlang_driver = { version = "0.0.1-alpha.13", path = "../../lib/edlang_driver" }
|
||||
edlang_driver = { version = "0.0.1-alpha.14", path = "../../lib/edlang_driver" }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edb"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "The edlang language builder."
|
||||
edition = "2021"
|
||||
|
@ -14,7 +14,7 @@ repository = "https://github.com/edg-l/edlang"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
edlang_driver = { version = "0.0.1-alpha.13", path = "../lib/edlang_driver" }
|
||||
edlang_driver = { version = "0.0.1-alpha.14", path = "../lib/edlang_driver" }
|
||||
anyhow = "1"
|
||||
clap = { version = "4.4.16", features = ["derive"] }
|
||||
toml = "0.8.10"
|
||||
|
|
|
@ -258,7 +258,7 @@ mod {} {{
|
|||
let start = Instant::now();
|
||||
let object = compile(&compile_args)?;
|
||||
|
||||
if has_main {
|
||||
if !has_main {
|
||||
link_shared_lib(&[object], &output)?;
|
||||
} else {
|
||||
link_binary(&[object], &output)?;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_ast"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang AST"
|
||||
edition = "2021"
|
||||
|
@ -13,4 +13,4 @@ repository = "https://github.com/edg-l/edlang"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
edlang_span = { version = "0.0.1-alpha.13", path = "../edlang_span" }
|
||||
edlang_span = { version = "0.0.1-alpha.14", path = "../edlang_span" }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_check"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang check"
|
||||
edition = "2021"
|
||||
|
@ -14,7 +14,7 @@ repository = "https://github.com/edg-l/edlang"
|
|||
|
||||
[dependencies]
|
||||
ariadne = { version = "0.4.0", features = ["auto-color"] }
|
||||
edlang_ast = { version = "0.0.1-alpha.13", path = "../edlang_ast" }
|
||||
edlang_lowering = { version = "0.0.1-alpha.13", path = "../edlang_lowering" }
|
||||
edlang_session = { version = "0.0.1-alpha.13", path = "../edlang_session" }
|
||||
edlang_ast = { version = "0.0.1-alpha.14", path = "../edlang_ast" }
|
||||
edlang_lowering = { version = "0.0.1-alpha.14", path = "../edlang_lowering" }
|
||||
edlang_session = { version = "0.0.1-alpha.14", path = "../edlang_session" }
|
||||
tracing = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_codegen_llvm"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang LLVM codegen"
|
||||
edition = "2021"
|
||||
|
@ -13,10 +13,10 @@ repository = "https://github.com/edg-l/edlang"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
edlang_ir = { version = "0.0.1-alpha.13", path = "../edlang_ir" }
|
||||
edlang_parser = { version = "0.0.1-alpha.13", path = "../edlang_parser" }
|
||||
edlang_session = { version = "0.0.1-alpha.13", path = "../edlang_session" }
|
||||
edlang_ir = { version = "0.0.1-alpha.14", path = "../edlang_ir" }
|
||||
edlang_parser = { version = "0.0.1-alpha.14", path = "../edlang_parser" }
|
||||
edlang_session = { version = "0.0.1-alpha.14", path = "../edlang_session" }
|
||||
llvm-sys = "170.0.1"
|
||||
inkwell = { git = "https://github.com/TheDan64/inkwell", rev = "e0aa2e51a6cb501e4e2a889bbea12a1efab9c4ff", features = ["llvm17-0"] }
|
||||
tracing = { workspace = true }
|
||||
edlang_span = { version = "0.0.1-alpha.13", path = "../edlang_span" }
|
||||
edlang_span = { version = "0.0.1-alpha.14", path = "../edlang_span" }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_driver"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang compiler driver library"
|
||||
edition = "2021"
|
||||
|
@ -16,13 +16,13 @@ repository = "https://github.com/edg-l/edlang"
|
|||
ariadne = { version = "0.4.0", features = ["auto-color"] }
|
||||
clap = { version = "4.4.16", features = ["derive"] }
|
||||
anyhow = "1"
|
||||
edlang_ast = { version = "0.0.1-alpha.13", path = "../edlang_ast" }
|
||||
edlang_check = { version = "0.0.1-alpha.13", path = "../edlang_check" }
|
||||
edlang_codegen_llvm = { version = "0.0.1-alpha.13", path = "../edlang_codegen_llvm" }
|
||||
edlang_ir = { version = "0.0.1-alpha.13", path = "../edlang_ir" }
|
||||
edlang_lowering = { version = "0.0.1-alpha.13", path = "../edlang_lowering" }
|
||||
edlang_parser = { version = "0.0.1-alpha.13", path = "../edlang_parser" }
|
||||
edlang_session = { version = "0.0.1-alpha.13", path = "../edlang_session" }
|
||||
edlang_ast = { version = "0.0.1-alpha.14", path = "../edlang_ast" }
|
||||
edlang_check = { version = "0.0.1-alpha.14", path = "../edlang_check" }
|
||||
edlang_codegen_llvm = { version = "0.0.1-alpha.14", path = "../edlang_codegen_llvm" }
|
||||
edlang_ir = { version = "0.0.1-alpha.14", path = "../edlang_ir" }
|
||||
edlang_lowering = { version = "0.0.1-alpha.14", path = "../edlang_lowering" }
|
||||
edlang_parser = { version = "0.0.1-alpha.14", path = "../edlang_parser" }
|
||||
edlang_session = { version = "0.0.1-alpha.14", path = "../edlang_session" }
|
||||
tracing = { workspace = true }
|
||||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
||||
walkdir = "2.5.0"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_ir"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang IR"
|
||||
edition = "2021"
|
||||
|
@ -13,6 +13,6 @@ repository = "https://github.com/edg-l/edlang"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
edlang_span = { version = "0.0.1-alpha.13", path = "../edlang_span" }
|
||||
edlang_span = { version = "0.0.1-alpha.14", path = "../edlang_span" }
|
||||
smallvec = "1.13.1"
|
||||
educe = "0.5.11"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_lowering"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang lowering"
|
||||
edition = "2021"
|
||||
|
@ -13,7 +13,7 @@ repository = "https://github.com/edg-l/edlang"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
edlang_ast = { version = "0.0.1-alpha.13", path = "../edlang_ast" }
|
||||
edlang_ir = { version = "0.0.1-alpha.13", path = "../edlang_ir" }
|
||||
edlang_ast = { version = "0.0.1-alpha.14", path = "../edlang_ast" }
|
||||
edlang_ir = { version = "0.0.1-alpha.14", path = "../edlang_ir" }
|
||||
tracing.workspace = true
|
||||
thiserror = "1.0.57"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_parser"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang parser"
|
||||
edition = "2021"
|
||||
|
@ -14,7 +14,7 @@ repository = "https://github.com/edg-l/edlang"
|
|||
|
||||
[dependencies]
|
||||
ariadne = { version = "0.4.0", features = ["auto-color"] }
|
||||
edlang_ast = { version = "0.0.1-alpha.13", path = "../edlang_ast" }
|
||||
edlang_ast = { version = "0.0.1-alpha.14", path = "../edlang_ast" }
|
||||
itertools = "0.12.0"
|
||||
lalrpop-util = { version = "0.20.0", features = ["lexer"] }
|
||||
logos = "0.14.0"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_session"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang session"
|
||||
edition = "2021"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "edlang_span"
|
||||
version = "0.0.1-alpha.13"
|
||||
version = "0.0.1-alpha.14"
|
||||
authors = ["Edgar Luque <edgar@edgarluque.com>"]
|
||||
description = "edlang span"
|
||||
edition = "2021"
|
||||
|
|
Loading…
Reference in a new issue