File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
test/run-make/no-duplicate-libs Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1111#![ cfg_attr( not( stage0) , feature( compiler_builtins) ) ]
1212#![ no_std]
1313#![ 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" ) ]
1517#![ crate_name = "compiler_builtins" ]
1618#![ crate_type = "rlib" ]
19+ #![ feature( staged_api) ]
Original file line number Diff line number Diff line change 224224#![ feature( char_internals) ]
225225#![ feature( collections) ]
226226#![ feature( collections_bound) ]
227+ #![ feature( compiler_builtins_lib) ]
227228#![ feature( const_fn) ]
228229#![ feature( core_float) ]
229230#![ feature( core_intrinsics) ]
Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- #![ feature( lang_items, libc) ]
11+ #![ feature( lang_items, libc, compiler_builtins_lib ) ]
1212#![ crate_type = "dylib" ]
1313#![ no_std]
1414
1515extern crate libc;
16+ extern crate compiler_builtins;
1617
1718#[ no_mangle]
1819pub extern fn bar ( ) { }
Original file line number Diff line number Diff line change 88// option. This file may not be copied, modified, or distributed
99// except according to those terms.
1010
11- #![ feature( lang_items, libc) ]
11+ #![ feature( lang_items, libc, compiler_builtins_lib ) ]
1212#![ no_std]
1313#![ crate_type = "dylib" ]
1414
1515extern crate libc;
16+ extern crate compiler_builtins;
1617
1718#[ no_mangle]
1819pub extern fn foo ( ) { }
You can’t perform that action at this time.
0 commit comments