aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2021-09-14 00:19:40 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2021-09-14 00:19:40 +0200
commit9e6c0a92dbedb5b8801772802e2e5d2e56cb9bcf (patch)
tree96e798b847138a2edffadad02ef6ec74cfd8c739 /Cargo.toml
parent96e9dd5f4ae46b5705b8063a43bb8576e1e5b7b0 (diff)
downloadllvm-kaleidoscope-rs-9e6c0a92dbedb5b8801772802e2e5d2e56cb9bcf.tar.gz
llvm-kaleidoscope-rs-9e6c0a92dbedb5b8801772802e2e5d2e56cb9bcf.zip
ch3: added LLVM IR code genchapter3
- Added safe wrapper around LLVM C API - Added codegen module to emit LLVM IR for the AST - Update the main repl loop to codegen LLVM IR
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e345bab..9bcbe8b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,3 +4,5 @@ version = "0.1.0"
edition = "2018"
[dependencies]
+libc = "0.2"
+llvm-sys = {version = "120.1", features = ["strict-versioning"]}