File tree 2 files changed +34
-0
lines changed
src/test/rustdoc/auxiliary
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 4
4
#![ feature( lang_items) ]
5
5
#![ no_std]
6
6
7
+ #[ cfg( windows) ]
8
+ #[ link( name = "vcruntime" ) ]
9
+ extern { }
10
+
11
+ #[ cfg( windows) ]
12
+ #[ link( name = "ucrt" ) ]
13
+ extern { }
14
+
15
+ #[ cfg( windows) ]
16
+ #[ no_mangle]
17
+ #[ used]
18
+ static _fltused: i32 = 0 ;
19
+ #[ cfg( windows) ]
20
+ #[ no_mangle]
21
+ #[ used]
22
+ static __aullrem: i32 = 0 ;
23
+ #[ cfg( windows) ]
24
+ #[ no_mangle]
25
+ #[ used]
26
+ static __aulldiv: i32 = 0 ;
27
+
28
+ #[ cfg( windows) ]
29
+ #[ no_mangle]
30
+ extern "system" fn _DllMainCRTStartup ( _: * const u8 , _: u32 , _: * const u8 ) -> u32 { 1 }
31
+
7
32
#[ lang = "eh_personality" ]
8
33
fn foo ( ) { }
9
34
Original file line number Diff line number Diff line change 1
1
// compile-flags: --crate-type lib --edition 2018
2
2
#![ no_core]
3
3
#![ feature( no_core) ]
4
+ #![ feature( lang_items) ]
5
+
6
+ #[ cfg( windows) ]
7
+ #[ no_mangle]
8
+ extern "system" fn _DllMainCRTStartup ( _: * const u8 , _: u32 , _: * const u8 ) -> u32 { 1 }
9
+
10
+ #[ cfg( windows) ]
11
+ #[ lang = "sized" ]
12
+ trait Sized { }
4
13
5
14
#[ doc( primitive = "usize" ) ]
6
15
/// This is the built-in type `usize`.
You can’t perform that action at this time.
0 commit comments