Skip to content

Commit

Permalink
Apply review suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Philippe Renon <filnet@users.noreply.github.com>
  • Loading branch information
mati865 and filnet authored Oct 28, 2024
1 parent f183f0b commit 39b81d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mingw-w64-rust/0002-allow-CFGuard-on-windows-gnullvm.patch
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ index 3fc153c6cd4..7634d3c88ad 100644

- // Control Flow Guard is currently only supported by the MSVC linker on Windows.
- if sess.target.is_like_msvc {
+ // Control Flow Guard is currently only supported by the MSVC and LLVM on Windows.
+ // Control Flow Guard is currently only supported by MSVC and LLVM on Windows.
+ if sess.target.is_like_msvc
+ || (sess.target.options.os == "windows"
+ && sess.target.options.env == "gnu"
Expand Down

0 comments on commit 39b81d4

Please sign in to comment.