What should we add?
As mentioned in this comment by @mtreinish, we should not be using target_basis as an argument for the Rust native BasisTranslator. Instead, we should call the Target.from_configuration method to build a Target internally. This removes the extra control flow match for said case.
What should we add?
As mentioned in this comment by @mtreinish, we should not be using
target_basisas an argument for the Rust nativeBasisTranslator. Instead, we should call theTarget.from_configurationmethod to build aTargetinternally. This removes the extra control flow match for said case.