Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ziglang/zig
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f1c56f7f225f
Choose a base ref
...
head repository: ziglang/zig
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a3ab4325fd05
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 29, 2018

  1. support --emit in 'test' command

    Support the `--emit` switch in `zig --emit asm test file.zig`.
    
    The command fails because no tests run (no executable is created) but
    it emits the requested file.  That seems like a good tradeoff.
    bnoordhuis committed Jun 29, 2018
    Copy the full SHA
    03f6682 View commit details
  2. Merge pull request #1175 from bnoordhuis/zig-test-emit-switch

    support --emit in 'test' command
    andrewrk authored Jun 29, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a3ab432 View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main.cpp
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -924,6 +924,8 @@ int main(int argc, char **argv) {
codegen_print_timing_report(g, stdout);
return EXIT_SUCCESS;
} else if (cmd == CmdTest) {
codegen_set_emit_file_type(g, emit_file_type);

ZigTarget native;
get_native_target(&native);