diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-05-31 19:13:08 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-06-24 08:12:17 +0200 |
| commit | a6747d328cad831ceb07fb47cd0fa3647da21afb (patch) | |
| tree | 1d91b7a8b7df925681d798177c5c0c5f86799aa2 /lib/std/debug.zig | |
| parent | 9015efe4059b7e8448a9c09c3a116cb6b2550957 (diff) | |
| download | zig-a6747d328cad831ceb07fb47cd0fa3647da21afb.tar.gz zig-a6747d328cad831ceb07fb47cd0fa3647da21afb.zip | |
stage2: Enable compiler-rt when LLVM is existant
Rather than checking if the user wants to use LLVM for the current compilation,
check for the existance of LLVM as part of the compiler. This is temporarily,
until other backends gain the ability to compiler LLVM themselves.
This means that when a user passed `-fno-LLVM` we will use the native
backend for the user's code, but use LLVM for compiler-rt.
This also fixes emitting names for symbols in the Wasm linker,
by deduplicating symbol names when multiple symbols point the same object.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
