samsartor opened PR #5493 from clif-util-output to main:
This PR adds a very dumb
-o whatever.ooption toclif-util compileusing cranelift-object, so that external disassemblers, linkers, etc can be used when experimenting with cranelift. This was a stand-alone change I made while doing weirder stuff, and I thought would be nice to upstream. Not sure who should review or if it is actually desired.The only really iffy part of the implementation IMO is the addition of the
clonedmethod to TargetISA, but it seemed like the best way to go from a&dyn TargetIsato the boxed trait object needed by ObjectBuilder.
samsartor updated PR #5493 from clif-util-output to main.
samsartor updated PR #5493 from clif-util-output to main.
samsartor updated PR #5493 from clif-util-output to main.
samsartor updated PR #5493 from clif-util-output to main.
jameysharp submitted PR review.
bjorn3 submitted PR review.
jameysharp merged PR #5493.
Last updated: Dec 13 2025 at 19:03 UTC