From 421834fa3e191759388e1073803a6fcde7fc3022 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 2 Dec 2018 19:07:18 +0800 Subject: [PATCH] compiler: document Target.little_endian --- artiq/compiler/targets.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/artiq/compiler/targets.py b/artiq/compiler/targets.py index 5c74e4120..a10058211 100644 --- a/artiq/compiler/targets.py +++ b/artiq/compiler/targets.py @@ -75,11 +75,15 @@ class Target: :var print_function: (string) Name of a formatted print functions (with the signature of ``printf``) provided by the target, e.g. ``"printf"``. + :var little_endian: (boolean) + Whether the code will be executed on a little-endian machine. This cannot be always + determined from data_layout due to JIT. """ triple = "unknown" data_layout = "" features = [] print_function = "printf" + little_endian = False def __init__(self):