Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(arch): use
cfg_if
to select the arch module
This constructs is a bit longer, but it makes it more obvious what needs to be done when adding a new arch module. It also provides a better error message if the architecture is not supported.
- Loading branch information