Skip to content

Commit 9366458

Browse files
committed
Apply #![crate_type = "rlib"] directly to the linker
1 parent 8d267db commit 9366458

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/test/rustdoc/auxiliary/my-core.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![feature(no_core, lang_items)]
22
#![no_core]
3+
#![crate_type="rlib"]
34

45
#[lang = "char"]
56
impl char {

src/test/rustdoc/intra-link-prim-methods-external-core.rs

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#![deny(intra_doc_link_resolution_failure)]
77
#![feature(no_core, lang_items)]
88
#![no_core]
9+
#![crate_type = "rlib"]
910

1011
// @has intra_link_prim_methods_external_core/index.html
1112
// @has - '//*[@id="main"]//a[@href="https://doc.rust-lang.org/nightly/std/primitive.char.html"]' 'char'

src/test/rustdoc/intra-link-prim-methods-local.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![deny(intra_doc_link_resolution_failure)]
22
#![feature(no_core, lang_items)]
33
#![no_core]
4+
#![crate_type = "rlib"]
45

56
// ignore-tidy-linelength
67

0 commit comments

Comments
 (0)