Currently ShankBuilder macro automatically generates an InstructionBuilder trait implementation for each instruction. This creates a problem for instructions that define custom args attributes, since the client cannot re-implement the same trait and therefore cannot use the attributes to customize the instruction generation on the builder.
This PR fixes this by only generating a default implementation for instructions that do not use custom args attributes.
Currently
ShankBuilder
macro automatically generates anInstructionBuilder
trait implementation for each instruction. This creates a problem for instructions that define customargs
attributes, since the client cannot re-implement the same trait and therefore cannot use the attributes to customize the instruction generation on the builder.This PR fixes this by only generating a default implementation for instructions that do not use custom
args
attributes.