Skip to content

Commit

Permalink
fix: fix wrong linking
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed Mar 11, 2024
1 parent 2e5d9ae commit edb872a
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 44 deletions.
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bin/edlangc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
4 changes: 2 additions & 2 deletions edb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion edb/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down
4 changes: 2 additions & 2 deletions lib/edlang_ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
8 changes: 4 additions & 4 deletions lib/edlang_check/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 }
10 changes: 5 additions & 5 deletions lib/edlang_codegen_llvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
16 changes: 8 additions & 8 deletions lib/edlang_driver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions lib/edlang_ir/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
6 changes: 3 additions & 3 deletions lib/edlang_lowering/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
4 changes: 2 additions & 2 deletions lib/edlang_parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lib/edlang_session/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lib/edlang_span/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit edb872a

Please sign in to comment.