mirror of https://github.com/m-labs/artiq.git
compiler/targets: Fix refactoring leftover for native (host) target
It's unclear whether this actually caused any issues, or why this wasn't done before (instead just setting the now-removed endianness flag).
This commit is contained in:
parent
defc69d9c3
commit
beff15de5e
|
@ -263,7 +263,7 @@ class NativeTarget(Target):
|
|||
def __init__(self):
|
||||
super().__init__()
|
||||
self.triple = llvm.get_default_triple()
|
||||
host_data_layout = str(llvm.targets.Target.from_default_triple().create_target_machine().target_data)
|
||||
self.data_layout = str(llvm.targets.Target.from_default_triple().create_target_machine().target_data)
|
||||
|
||||
class RV32IMATarget(Target):
|
||||
triple = "riscv32-unknown-linux"
|
||||
|
|
Loading…
Reference in New Issue