File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
branches/stable/src/librustc_back/target Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: 1da127bbd318abb2120339760bbfa4fd78d7889f
32
+ refs/heads/stable: c3320c04986cc3dcb6b0c6ab9e1b896bda493c61
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
34
34
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
35
35
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ pub fn target() -> Target {
18
18
// space available to x86 Windows binaries on x86_64.
19
19
base. pre_link_args . push ( "/LARGEADDRESSAWARE" . to_string ( ) ) ;
20
20
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
+
21
26
Target {
22
27
llvm_target : "i686-pc-windows-msvc" . to_string ( ) ,
23
28
target_endian : "little" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments