Link test to compiler builtins and make unstable
This commit fixes a test which now needs to explicitly link to the `compiler_builtins` crate as well as makes the `compiler_builtins` crate unstable.
This commit is contained in:
parent
265620225d
commit
848cfe20a0
@ -11,6 +11,9 @@
|
|||||||
#![cfg_attr(not(stage0), feature(compiler_builtins))]
|
#![cfg_attr(not(stage0), feature(compiler_builtins))]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
#![cfg_attr(not(stage0), compiler_builtins)]
|
#![cfg_attr(not(stage0), compiler_builtins)]
|
||||||
|
#![unstable(feature = "compiler_builtins_lib",
|
||||||
|
reason = "internal implementation detail of rustc right now",
|
||||||
|
issue = "0")]
|
||||||
#![crate_name = "compiler_builtins"]
|
#![crate_name = "compiler_builtins"]
|
||||||
#![crate_type = "rlib"]
|
#![crate_type = "rlib"]
|
||||||
|
#![feature(staged_api)]
|
||||||
|
@ -224,6 +224,7 @@
|
|||||||
#![feature(char_internals)]
|
#![feature(char_internals)]
|
||||||
#![feature(collections)]
|
#![feature(collections)]
|
||||||
#![feature(collections_bound)]
|
#![feature(collections_bound)]
|
||||||
|
#![feature(compiler_builtins_lib)]
|
||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
#![feature(core_float)]
|
#![feature(core_float)]
|
||||||
#![feature(core_intrinsics)]
|
#![feature(core_intrinsics)]
|
||||||
|
@ -8,11 +8,12 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![feature(lang_items, libc)]
|
#![feature(lang_items, libc, compiler_builtins_lib)]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
extern crate compiler_builtins;
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern fn bar() {}
|
pub extern fn bar() {}
|
||||||
|
@ -8,11 +8,12 @@
|
|||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
#![feature(lang_items, libc)]
|
#![feature(lang_items, libc, compiler_builtins_lib)]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
#![crate_type = "dylib"]
|
#![crate_type = "dylib"]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
extern crate compiler_builtins;
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern fn foo() {}
|
pub extern fn foo() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user