diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-12-26 19:44:08 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-12-26 19:44:08 -0500 |
| commit | 6fece14cfbb852c108c2094ae0879da76f2f445e (patch) | |
| tree | c2cde629583a94556d65dbc376e0809124550828 /src-self-hosted/c.zig | |
| parent | 2a25398c869fcdefe8b6508974a5c463ca833520 (diff) | |
| download | zig-6fece14cfbb852c108c2094ae0879da76f2f445e.tar.gz zig-6fece14cfbb852c108c2094ae0879da76f2f445e.zip | |
self-hosted: build against zig_llvm and embedded LLD
Now the self-hosted compiler re-uses the same C++ code for interfacing
with LLVM as the C++ code.
It also links against the same LLD library files.
Diffstat (limited to 'src-self-hosted/c.zig')
| -rw-r--r-- | src-self-hosted/c.zig | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src-self-hosted/c.zig b/src-self-hosted/c.zig index b7e057b941..9a4b56adea 100644 --- a/src-self-hosted/c.zig +++ b/src-self-hosted/c.zig @@ -1,7 +1,4 @@ pub use @cImport({ - @cInclude("llvm-c/Core.h"); - @cInclude("llvm-c/Analysis.h"); - @cInclude("llvm-c/Target.h"); - @cInclude("llvm-c/Initialization.h"); - @cInclude("llvm-c/TargetMachine.h"); + @cInclude("config.h"); + @cInclude("zig_llvm.h"); }); |
