1
Fork 0

Apply #![crate_type = "rlib"] directly to the linker

This commit is contained in:
Seth Pellegrino 2020-07-08 08:20:43 -07:00
parent 8d267db31a
commit 9366458c58
3 changed files with 3 additions and 0 deletions

View file

@ -1,5 +1,6 @@
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type="rlib"]
#[lang = "char"]
impl char {

View file

@ -6,6 +6,7 @@
#![deny(intra_doc_link_resolution_failure)]
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type = "rlib"]
// @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'

View file

@ -1,6 +1,7 @@
#![deny(intra_doc_link_resolution_failure)]
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type = "rlib"]
// ignore-tidy-linelength