about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-16 11:18:12 +0000
committerbors <bors@rust-lang.org>2018-08-16 11:18:12 +0000
commitb837f5be70256aa47f948f79170d109a6fc8527c (patch)
tree7f7d0ae3aa24de3a0b72ae43430e9859485dc5a7 /src/test/incremental/thinlto
parent142bb27373126edf8367f526358b6c72ecf1d8df (diff)
parentfccc04d3e72bb462cba1b492ba0e2cd4ab2aebec (diff)
downloadrust-b837f5be70256aa47f948f79170d109a6fc8527c.tar.gz
rust-b837f5be70256aa47f948f79170d109a6fc8527c.zip
Auto merge of #53173 - alexcrichton:win-arm64, r=sfackler
Start adding an `aarch64-pc-windows-msvc` target

This commit adds the necessary definitions for target specs and such as well as
the necessary support in libstd to compile basic `aarch64-pc-windows-msvc`
binaries. The target is not currently built on CI, but it can be built locally
with:

    ./configure --target=aarch64-pc-windows-msvc --set rust.lld
    ./x.py build src/libstd --target aarch64-pc-windows-msvc

Currently this fails to build `libtest` due to a linker bug (seemingly in LLD?)
which hasn't been investigate yet. Otherwise though with libstd you can build a
hello world program (linked with LLD). I've not tried to execute it yet, but it
at least links!

Full support for this target is still a long road ahead, but this is hopefully a
good stepping stone to get started.

Points of note about this target are:

* Currently defaults to `panic=abort` as support is still landing in LLVM for
  SEH on AArch64.
* Currently defaults to LLD as a linker as I was able to get farther with it
  than I was with `link.exe`
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions