mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Call init_arch separately from arch_str
This commit is contained in:
parent
1a63bd570f
commit
5a6dc24abd
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ pub fn target_machine(
|
|||
) -> Option<TargetMachine> {
|
||||
let arch = arch_str(target);
|
||||
|
||||
init_arch(target);
|
||||
|
||||
Target::from_name(arch).unwrap().create_target_machine(
|
||||
&TargetTriple::create(target_triple_str(target)),
|
||||
"generic",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue