How do I access emitted object files in the build system?

I think you’re looking for:

std.Build.Step.Run.addArtifactArg - Zig Documentation (ziglang.org)

or similar. You can reference generated artifacts for use as arguments to a run step. You’ll create a Run step to run your emcc tool.