Skip to content

Rollup of 9 pull requests #128575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
794434e
initial implementation of rustdoc nested aux-build
EtomicBomb Jul 24, 2024
d8211de
ordering and wrapping cross-crate-info tests
EtomicBomb Jul 24, 2024
f6f0ef4
reformatted rustdoc/cross-crate-info, fixing trailing newline issue
EtomicBomb Jul 24, 2024
12d87ee
file_stem and comment per notriddle
EtomicBomb Jul 25, 2024
f91da72
merge conflicts; fix rebase duplicating imports
EtomicBomb Jul 29, 2024
8e2c977
rewrite raw-dylib-alt-calling-conventions to rmake
Oneirical Jul 23, 2024
b9e844f
rewrite raw-dylib-c to rmake
Oneirical Jul 23, 2024
bd23e0e
canonicalize path in another place to fix #128411
EtomicBomb Jul 31, 2024
281c2fd
Inline and remove `parse_local_mk`.
nnethercote Jul 31, 2024
fe647f0
Remove `LhsExpr`.
nnethercote Jul 31, 2024
2eb2ef1
Streamline attribute stitching on AST nodes.
nnethercote Jul 31, 2024
9d77d17
Move a comment to a better spot.
nnethercote Aug 1, 2024
d1f05fd
Distinguish the two kinds of token range.
nnethercote Jul 31, 2024
b485dd1
rewrite reproducible-build-2 to rmake
Oneirical Jun 28, 2024
94da7b1
rewrite stable-symbol-names to rmake
Oneirical Jun 28, 2024
c0997e5
rewrite redundant-libs to rmake
Oneirical Jul 23, 2024
3e0f186
Revert "Rollup merge of #128104 - mu001999-contrib:fix/128053, r=petr…
compiler-errors Jul 30, 2024
6cd4315
Revert "Rollup merge of #127017 - mu001999-contrib:dead/enhance, r=pn…
compiler-errors Jul 30, 2024
b0ca61f
Revert "Rollup merge of #127107 - mu001999-contrib:dead/enhance-2, r=…
compiler-errors Jul 30, 2024
89e0587
Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pn…
compiler-errors Jul 30, 2024
02f4762
Revert "Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petr…
compiler-errors Jul 30, 2024
d51b4bc
Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pn…
compiler-errors Jul 30, 2024
9a6133b
Suppress new false-negatives that were masked by dead code analysis c…
compiler-errors Jul 30, 2024
41b017e
Add the `sha512`, `sm3` and `sm4` target features
sayantn Aug 1, 2024
0142573
Bless test fallout
compiler-errors Jul 30, 2024
2f0aaaf
std: Remove has_cpuid
workingjubilee Aug 2, 2024
36527d6
rustfmt: Remove `has_cpuid` from test
workingjubilee Aug 2, 2024
c0d9357
rewrite cross-lang-lto-clang to rmake
Oneirical Jul 29, 2024
560e86d
rewrite cross-lang-lto-pgo-smoketest to rmake
Oneirical Jul 29, 2024
290a260
run cross-lang-lto-pgo-smoketest in CI by renaming it
Oneirical Aug 1, 2024
84e261e
chore: use shorthand initializer
nyurik Aug 2, 2024
e4b4136
Rollup merge of #126704 - sayantn:sha, r=Amanieu
jieyouxu Aug 2, 2024
ffd47a3
Rollup merge of #127095 - Oneirical:testiary-education, r=jieyouxu
jieyouxu Aug 2, 2024
f9ee50c
Rollup merge of #128107 - Oneirical:tomato-hartester, r=jieyouxu
jieyouxu Aug 2, 2024
9f43839
Rollup merge of #128161 - EtomicBomb:just-compiletest, r=notriddle
jieyouxu Aug 2, 2024
3eabc83
Rollup merge of #128356 - Oneirical:real-estate-reaLTOr, r=jieyouxu
jieyouxu Aug 2, 2024
9e8b082
Rollup merge of #128404 - compiler-errors:revert-dead-code-changes, r…
jieyouxu Aug 2, 2024
91e73aa
Rollup merge of #128483 - nnethercote:still-more-cfg-cleanups, r=petr…
jieyouxu Aug 2, 2024
e4828d0
Rollup merge of #128528 - workingjubilee:you-dont-need-to-see-this-cp…
jieyouxu Aug 2, 2024
2d4f3ea
Rollup merge of #128557 - nyurik:dup-init, r=compiler-errors
jieyouxu Aug 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reformatted rustdoc/cross-crate-info, fixing trailing newline issue
  • Loading branch information
EtomicBomb committed Jul 29, 2024
commit f6f0ef46f5a9f368183e8c59ee82d0319af7ec9c
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
//@ build-aux-docs


pub struct Quebec;
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//@ aux-build:q.rs
//@ build-aux-docs


extern crate q;
pub trait Tango {}
2 changes: 0 additions & 2 deletions tests/rustdoc/cross-crate-info/cargo-transitive-no-index/s.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//@ aux-build:t.rs
//@ build-aux-docs

//@ has q/struct.Quebec.html
//@ has s/struct.Sierra.html
//@ has t/trait.Tango.html
Expand All @@ -12,7 +11,6 @@

// We document multiple crates into the same output directory, which
// merges the cross-crate information. Everything is available.

extern crate t;
pub struct Sierra;
impl t::Tango for Sierra {}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
//@ doc-flags:--enable-index-page
//@ doc-flags:-Zunstable-options


pub struct Quebec;
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
//@ doc-flags:--enable-index-page
//@ doc-flags:-Zunstable-options


extern crate q;
pub trait Tango {}
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/cargo-transitive/s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

// We document multiple crates into the same output directory, which
// merges the cross-crate information. Everything is available.

extern crate t;
pub struct Sierra;
impl t::Tango for Sierra {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
//@ build-aux-docs


pub trait Foxtrot {}
2 changes: 0 additions & 2 deletions tests/rustdoc/cross-crate-info/cargo-two-no-index/e.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//@ aux-build:f.rs
//@ build-aux-docs

//@ has e/enum.Echo.html
//@ has f/trait.Foxtrot.html
//@ hasraw e/enum.Echo.html 'Foxtrot'
Expand All @@ -10,7 +9,6 @@

// document two crates in the same way that cargo does. do not provide
// --enable-index-page

extern crate f;
pub enum Echo {}
impl f::Foxtrot for Echo {}
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/cargo-two/auxiliary/f.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
//@ doc-flags:--enable-index-page
//@ doc-flags:-Zunstable-options


pub trait Foxtrot {}
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/cargo-two/e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

// document two crates in the same way that cargo does, writing them both
// into the same output directory

extern crate f;
pub enum Echo {}
impl f::Foxtrot for Echo {}
2 changes: 0 additions & 2 deletions tests/rustdoc/cross-crate-info/index-on-last/auxiliary/f.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
//@ build-aux-docs


pub trait Foxtrot {}
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/index-on-last/e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
//@ hasraw search-index.js 'Echo'

// only declare --enable-index-page to the last rustdoc invocation

extern crate f;
pub enum Echo {}
impl f::Foxtrot for Echo {}
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/kitchen-sink/auxiliary/q.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
//@ doc-flags:--enable-index-page
//@ doc-flags:-Zunstable-options


pub struct Quebec;
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/kitchen-sink/auxiliary/r.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
//@ doc-flags:--enable-index-page
//@ doc-flags:-Zunstable-options


extern crate s;
pub type Romeo = s::Sierra;
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/kitchen-sink/auxiliary/s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//@ doc-flags:--enable-index-page
//@ doc-flags:-Zunstable-options


extern crate t;
pub struct Sierra;
impl t::Tango for Sierra {}
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/kitchen-sink/auxiliary/t.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
//@ doc-flags:--enable-index-page
//@ doc-flags:-Zunstable-options


extern crate q;
pub trait Tango {}
6 changes: 2 additions & 4 deletions tests/rustdoc/cross-crate-info/kitchen-sink/i.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//@ aux-build:q.rs
//@ aux-build:r.rs
//@ aux-build:s.rs
//@ aux-build:q.rs
//@ aux-build:t.rs
//@ aux-build:s.rs
//@ build-aux-docs
//@ doc-flags:--enable-index-page
//@ doc-flags:-Zunstable-options
Expand All @@ -28,5 +28,3 @@
//@ hasraw type.impl/s/struct.Sierra.js 'Romeo'

// document everything in the default mode


1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/single-crate-baseline/q.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
//@ hasraw search-index.js 'Quebec'

// there's nothing cross-crate going on here

pub struct Quebec;
2 changes: 0 additions & 2 deletions tests/rustdoc/cross-crate-info/single-crate-no-index/q.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
//@ build-aux-docs

//@ has q/struct.Quebec.html
//@ hasraw search-index.js 'Quebec'

// there's nothing cross-crate going on here

pub struct Quebec;
2 changes: 0 additions & 2 deletions tests/rustdoc/cross-crate-info/transitive/auxiliary/q.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
//@ build-aux-docs


pub struct Quebec;
2 changes: 0 additions & 2 deletions tests/rustdoc/cross-crate-info/transitive/auxiliary/t.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
//@ aux-build:q.rs
//@ build-aux-docs


extern crate q;
pub trait Tango {}
3 changes: 0 additions & 3 deletions tests/rustdoc/cross-crate-info/transitive/s.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//@ aux-build:t.rs
//@ build-aux-docs


// simple test to see if we support building transitive crates

extern crate t;
pub struct Sierra;
impl t::Tango for Sierra {}
2 changes: 0 additions & 2 deletions tests/rustdoc/cross-crate-info/two/auxiliary/f.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
//@ build-aux-docs


pub trait Foxtrot {}
3 changes: 0 additions & 3 deletions tests/rustdoc/cross-crate-info/two/e.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//@ aux-build:f.rs
//@ build-aux-docs


// simple test to assert that we can do a two-level aux-build

extern crate f;
pub enum Echo {}
impl f::Foxtrot for Echo {}
1 change: 0 additions & 1 deletion tests/rustdoc/cross-crate-info/working-dir-examples/q.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@

// where will --scrape-examples-output-path resolve the path to be?
// should be the root output directory

pub struct Quebec;
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//@ build-aux-docs
//@ unique-doc-out-dir


pub trait Foxtrot {}
2 changes: 0 additions & 2 deletions tests/rustdoc/cross-crate-info/write-docs-somewhere-else/e.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//@ aux-build:f.rs
//@ build-aux-docs

//@ has e/enum.Echo.html
//@ !has f/trait.Foxtrot.html
//@ hasraw e/enum.Echo.html 'Foxtrot'
Expand All @@ -10,7 +9,6 @@

// test the fact that our test runner will document this crate somewhere
// else

extern crate f;
pub enum Echo {}
impl f::Foxtrot for Echo {}