summaryrefslogtreecommitdiff
path: root/src/codegen/struct_layout.rs
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2020-08-14 11:29:08 +0900
committerEmilio Cobos Álvarez <emilio@crisal.io>2020-08-14 11:09:19 +0200
commit802561e1779b188594527d400d44b37a79faadbe (patch)
tree9595b46ae50bfcb86ff64c77e8b6280d7fb3e93b /src/codegen/struct_layout.rs
parentd55b063e8010a3acf5c2a549a1d2d7c238286314 (diff)
Add --target to the clang args earlier
Because the --target was passed after the include path detection, in cases of cross-compilation, the include path detection would add paths relevant to the host (e.g. /usr/include/x86_64_linux-gnu on x86_64 linux while targeting something else), possibly breaking things along the way.
Diffstat (limited to 'src/codegen/struct_layout.rs')
0 files changed, 0 insertions, 0 deletions