Skip to content

build-exe leaves behind object files #13179

Closed

Description

Zig Version

0.10.0-dev.4418+99c3578f6

Steps to Reproduce

zig build-exe foo.zig, for any foo.zig

Expected Behavior

Creates foo executable, but doesn't leave behind foo.o.

Actual Behavior

foo.o is also created.

Activity

  1. ghost added
    bug
    on Oct 15, 2022
  2. Vexu commented on Oct 17, 2022

    @Vexu
    Member

    Similarly running zig build-obj a.zig will produce both a.o and a.o.o.

  3. added
    frontend
    on Oct 17, 2022
  4. added this to the 0.10.1 milestone on Oct 17, 2022
  5. added a commit that references this issue on Nov 8, 2022
    e148fd6
  6. modified the milestones: 0.10.1, 0.11.0 on Jan 10, 2023
  7. modified the milestones: 0.11.0, 0.12.0 on Jul 20, 2023
  8. modified the milestones: 0.14.0, 0.15.0 on Feb 10, 2025
  9. modified the milestones: urgent, 0.15.0 on Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrontend

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions