Skip to content

Commit 0756a24

Browse files
committed
---
yaml --- r: 274855 b: refs/heads/stable c: c3320c0 h: refs/heads/master i: 274853: 6931d9a 274851: 91e389e 274847: ab69607
1 parent 09f5cb0 commit 0756a24

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 1da127bbd318abb2120339760bbfa4fd78d7889f
32+
refs/heads/stable: c3320c04986cc3dcb6b0c6ab9e1b896bda493c61
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/librustc_back/target/i686_pc_windows_msvc.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ pub fn target() -> Target {
1818
// space available to x86 Windows binaries on x86_64.
1919
base.pre_link_args.push("/LARGEADDRESSAWARE".to_string());
2020

21+
// Ensure the linker will only produce an image if it can also produce a table of
22+
// the image's safe exception handlers.
23+
// https://msdn.microsoft.com/en-us/library/9a89h429.aspx
24+
base.pre_link_args.push("/SAFESEH".to_string());
25+
2126
Target {
2227
llvm_target: "i686-pc-windows-msvc".to_string(),
2328
target_endian: "little".to_string(),

0 commit comments

Comments
 (0)