Apply #![crate_type = "rlib"] directly to the linker
This commit is contained in:
parent
8d267db31a
commit
9366458c58
3 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#![feature(no_core, lang_items)]
|
#![feature(no_core, lang_items)]
|
||||||
#![no_core]
|
#![no_core]
|
||||||
|
#![crate_type="rlib"]
|
||||||
|
|
||||||
#[lang = "char"]
|
#[lang = "char"]
|
||||||
impl char {
|
impl char {
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#![deny(intra_doc_link_resolution_failure)]
|
#![deny(intra_doc_link_resolution_failure)]
|
||||||
#![feature(no_core, lang_items)]
|
#![feature(no_core, lang_items)]
|
||||||
#![no_core]
|
#![no_core]
|
||||||
|
#![crate_type = "rlib"]
|
||||||
|
|
||||||
// @has intra_link_prim_methods_external_core/index.html
|
// @has intra_link_prim_methods_external_core/index.html
|
||||||
// @has - '//*[@id="main"]//a[@href="https://doc.rust-lang.org/nightly/std/primitive.char.html"]' 'char'
|
// @has - '//*[@id="main"]//a[@href="https://doc.rust-lang.org/nightly/std/primitive.char.html"]' 'char'
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#![deny(intra_doc_link_resolution_failure)]
|
#![deny(intra_doc_link_resolution_failure)]
|
||||||
#![feature(no_core, lang_items)]
|
#![feature(no_core, lang_items)]
|
||||||
#![no_core]
|
#![no_core]
|
||||||
|
#![crate_type = "rlib"]
|
||||||
|
|
||||||
// ignore-tidy-linelength
|
// ignore-tidy-linelength
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue