Skip to content

Commit

Permalink
Apply #![crate_type = "rlib"] directly to the linker
Browse files Browse the repository at this point in the history
  • Loading branch information
sethp committed Jul 8, 2020
1 parent 8d267db commit 9366458
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/rustdoc/auxiliary/my-core.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type="rlib"]

#[lang = "char"]
impl char {
Expand Down
1 change: 1 addition & 0 deletions src/test/rustdoc/intra-link-prim-methods-external-core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions src/test/rustdoc/intra-link-prim-methods-local.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![deny(intra_doc_link_resolution_failure)]
#![feature(no_core, lang_items)]
#![no_core]
#![crate_type = "rlib"]

// ignore-tidy-linelength

Expand Down

0 comments on commit 9366458

Please sign in to comment.