File tree 4 files changed +9
-3
lines changed
test/run-make/no-duplicate-libs
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11
11
#![ cfg_attr( not( stage0) , feature( compiler_builtins) ) ]
12
12
#![ no_std]
13
13
#![ cfg_attr( not( stage0) , compiler_builtins) ]
14
-
14
+ #![ unstable( feature = "compiler_builtins_lib" ,
15
+ reason = "internal implementation detail of rustc right now" ,
16
+ issue = "0" ) ]
15
17
#![ crate_name = "compiler_builtins" ]
16
18
#![ crate_type = "rlib" ]
19
+ #![ feature( staged_api) ]
Original file line number Diff line number Diff line change 224
224
#![ feature( char_internals) ]
225
225
#![ feature( collections) ]
226
226
#![ feature( collections_bound) ]
227
+ #![ feature( compiler_builtins_lib) ]
227
228
#![ feature( const_fn) ]
228
229
#![ feature( core_float) ]
229
230
#![ feature( core_intrinsics) ]
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- #![ feature( lang_items, libc) ]
11
+ #![ feature( lang_items, libc, compiler_builtins_lib ) ]
12
12
#![ crate_type = "dylib" ]
13
13
#![ no_std]
14
14
15
15
extern crate libc;
16
+ extern crate compiler_builtins;
16
17
17
18
#[ no_mangle]
18
19
pub extern fn bar ( ) { }
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- #![ feature( lang_items, libc) ]
11
+ #![ feature( lang_items, libc, compiler_builtins_lib ) ]
12
12
#![ no_std]
13
13
#![ crate_type = "dylib" ]
14
14
15
15
extern crate libc;
16
+ extern crate compiler_builtins;
16
17
17
18
#[ no_mangle]
18
19
pub extern fn foo ( ) { }
You can’t perform that action at this time.
0 commit comments