about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-02-01 15:02:58 +0000
committerbors <bors@rust-lang.org>2020-02-01 15:02:58 +0000
commit64184a3288eca13ddfb7bc2e7b5231cbb8d5b88f (patch)
treeefbbb7c0d1b0a9570650f4fb9d4708fb64663c10 /src/test/rustdoc-ui/coverage/json.rs
parent6c0b779b7bb23ad1bead914e8023642cc2368406 (diff)
parentc0744e1e0c35b1083733fd5c74fc3fb5a6cd04f7 (diff)
downloadrust-64184a3288eca13ddfb7bc2e7b5231cbb8d5b88f.tar.gz
rust-64184a3288eca13ddfb7bc2e7b5231cbb8d5b88f.zip
Auto merge of #68180 - ajpaverd:cfguard-rust, r=nagisa
Add support for Control Flow Guard on Windows.

LLVM now supports Windows Control Flow Guard (CFG): https://github.com/llvm/llvm-project/commit/d157a9bc8ba1085cc4808c6941412322a7fd884e
This patch adds support for rustc to emit the required LLVM module flags to enable CFG metadata (cfguard=1) or metadata and checks (cfguard=2). The LLVM module flags are ignored on unsupported targets and operating systems.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions