diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-26 01:42:54 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-26 01:47:27 -0700 |
| commit | 6af2990549709ec5e2bc1efeb5090a944f1a8bdf (patch) | |
| tree | c4dc51ddde68c2842b6450bd6dee6432e2226bde /src/Cache.zig | |
| parent | a337046832b936d912b6902e331cb58bdc513a2d (diff) | |
| download | zig-6af2990549709ec5e2bc1efeb5090a944f1a8bdf.tar.gz zig-6af2990549709ec5e2bc1efeb5090a944f1a8bdf.zip | |
implement -femit-asm, -femit-docs, -femit-llvm-ir, etc
These CLI options are now forwarded to the stage1 backend.
We're not going to support the -mllvm CLI option any longer. As a
compromise, we unconditionally tell LLVM to output intel x86 syntax when
using -femit-asm.
Simplify stage1 logic; it no longer has the concept of an output
directory. --output-dir is no longer a valid CLI option. cmake uses
the `-femit-bin=[path]` option.
Note the changes to test/cli.zig. This breaks the CLI API that Godbolt
is using so we're going to want to open a PR to help them upgrade to the
new CLI for the upcoming Zig 0.7.0 release.
Diffstat (limited to 'src/Cache.zig')
0 files changed, 0 insertions, 0 deletions
