Skip to content

Remove target_basis argument from rust native BasisTranslator #14951

@raynelfss

Description

@raynelfss

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.

Metadata

Metadata

Assignees

Labels

RustThis PR or issue is related to Rust code in the repositorymod: transpilerIssues and PRs related to Transpilertype: feature requestNew feature or request

Projects

Status

Ready

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions