diff options
| author | Andrew Paverd <andrew.paverd@microsoft.com> | 2020-07-14 15:27:42 +0100 |
|---|---|---|
| committer | Andrew Paverd <andrew.paverd@microsoft.com> | 2020-07-14 15:27:42 +0100 |
| commit | 31c7aae1136b4d80f0256e269ca8086fd3fbdddd (patch) | |
| tree | 1cad41bdc1b23ac926a9ee9621e562dac3ea39f8 /src/librustc_codegen_llvm | |
| parent | c724b67e1b474262917a5154d74e7072267593fe (diff) | |
| download | rust-31c7aae1136b4d80f0256e269ca8086fd3fbdddd.tar.gz rust-31c7aae1136b4d80f0256e269ca8086fd3fbdddd.zip | |
Stabilize control-flow-guard codegen option
Diffstat (limited to 'src/librustc_codegen_llvm')
| -rw-r--r-- | src/librustc_codegen_llvm/context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/context.rs b/src/librustc_codegen_llvm/context.rs index 21ba97d15a4..a07f6c64edc 100644 --- a/src/librustc_codegen_llvm/context.rs +++ b/src/librustc_codegen_llvm/context.rs @@ -190,7 +190,7 @@ pub unsafe fn create_module( // Control Flow Guard is currently only supported by the MSVC linker on Windows. if sess.target.target.options.is_like_msvc { - match sess.opts.debugging_opts.control_flow_guard { + match sess.opts.cg.control_flow_guard { CFGuard::Disabled => {} CFGuard::NoChecks => { // Set `cfguard=1` module flag to emit metadata only. |
