-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #85664 - GuillaumeGomez:rollup-o7qgo8c, r=GuillaumeGomez
Rollup of 6 pull requests Successful merges: - #85361 (Use TargetTriple::from_path in rustdoc) - #85605 (Replace Local::new(1) with CAPTURE_STRUCT_LOCAL) - #85631 (Move keyword primitive css dom) - #85644 (Better English for documenting when to use unimplemented!()) - #85650 (Add some backticks to the `rustc_middle::ty::adjustment::Adjustment` docs) - #85657 (Remove doubled braces in non_exhaustive structs’ documentation text.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
18 changed files
with
104 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/test/run-make-fulldeps/rustdoc-target-spec-json-path/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include ../tools.mk | ||
|
||
# Test that rustdoc will properly canonicalize the target spec json path just like rustc | ||
|
||
OUTPUT_DIR := "$(TMPDIR)/rustdoc-target-spec-json-path" | ||
|
||
all: | ||
$(RUSTC) --crate-type lib dummy_core.rs --target target.json | ||
$(RUSTDOC) -o $(OUTPUT_DIR) -L $(TMPDIR) my_crate.rs --target target.json |
2 changes: 2 additions & 0 deletions
2
src/test/run-make-fulldeps/rustdoc-target-spec-json-path/dummy_core.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#![feature(no_core)] | ||
#![no_core] |
3 changes: 3 additions & 0 deletions
3
src/test/run-make-fulldeps/rustdoc-target-spec-json-path/my_crate.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#![feature(no_core)] | ||
#![no_core] | ||
extern crate dummy_core; |
39 changes: 39 additions & 0 deletions
39
src/test/run-make-fulldeps/rustdoc-target-spec-json-path/target.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"arch": "x86_64", | ||
"cpu": "x86-64", | ||
"crt-static-respected": true, | ||
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", | ||
"dynamic-linking": true, | ||
"env": "gnu", | ||
"executables": true, | ||
"has-elf-tls": true, | ||
"has-rpath": true, | ||
"is-builtin": true, | ||
"linker-is-gnu": true, | ||
"llvm-target": "x86_64-unknown-linux-gnu", | ||
"max-atomic-width": 64, | ||
"os": "linux", | ||
"position-independent-executables": true, | ||
"pre-link-args": { | ||
"gcc": [ | ||
"-m64" | ||
] | ||
}, | ||
"relro-level": "full", | ||
"stack-probes": { | ||
"kind": "inline-or-call", | ||
"min-llvm-version-for-inline": [ | ||
11, | ||
0, | ||
1 | ||
] | ||
}, | ||
"supported-sanitizers": [ | ||
"address", | ||
"leak", | ||
"memory", | ||
"thread" | ||
], | ||
"target-family": "unix", | ||
"target-pointer-width": "64" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters